View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000753 | OpenFOAM | Bug | public | 2013-02-22 13:02 | 2013-03-04 14:33 |
Reporter | Assigned To | ||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 | OS | CentOS | OS Version | 5.5 |
Summary | 0000753: LTSReactingParcelFoam crashes with "object is not allocated" when using coneNozzleInjection | ||||
Description | If injectionModel is changed from patchInjection to coneNozzleInjection like in the attached file, the tutorial LTSReactingParcelFoam/verticalChannel crashes with a FOAM FATAL ERROR: object is not allocated. | ||||
Steps To Reproduce | -replace file "reactingCloud1Properties" in tutorial folder with attached version. -run Allrun script -inspect log.LTSReactingParcelFoam to see error | ||||
Additional Information | 2.1.x was updated and rebuild from git repository 21 Feb 2013 | ||||
Tags | No tags attached. | ||||
2013-02-22 13:02
|
reactingCloud1Properties (5,883 bytes)
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object reactingCloud1Properties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solution { active yes; transient no; // yes; calcFrequency 5; maxTrackTime 5.0; maxCo 0.3; coupled true; cellValueSourceCorrection off; sourceTerms { resetOnStartup false; schemes { rho semiImplicit 1; U semiImplicit 1; Yi semiImplicit 1; hs semiImplicit 1; } } interpolationSchemes { rho cell; U cellPoint; mu cell; T cell; Cp cell; p cell; } integrationSchemes { U Euler; T analytical; } } constantProperties { parcelTypeId 1; rhoMin 1e-15; TMin 200; pMin 1000; minParticleMass 1e-15; rho0 1000; T0 350; Cp0 4100; youngsModulus 1e9; poissonsRatio 0.35; epsilon0 1; f0 0.5; Tvap 273; Tbp 373; Pr 0.7; LDevol 0; hRetentionCoeff 1; constantVolume false; } subModels { particleForces { sphereDrag; gravity; } injectionModel coneNozzleInjection; //injectionModel patchInjection; dispersionModel stochasticDispersionRAS; patchInteractionModel standardWallInteraction; heatTransferModel RanzMarshall; compositionModel singleMixtureFraction; phaseChangeModel liquidEvaporation; devolatilisationModel none; surfaceReactionModel none; surfaceFilmModel none; radiation off; coneNozzleInjectionCoeffs { massFlowRate 0.8e-03; parcelBasisType mass; // ok outerDiameter 0.01; // ok innerDiameter 0.005; // ok duration 1; // NOTE: set to 1 for steady state position (0 0 1e-2); // ok direction (0 0 1); // ok parcelsPerSecond 100; // ok flowRateProfile constant 1; thetaInner constant 0.0; //ok thetaOuter constant 10.0; //ok sizeDistribution { type general; generalDistribution { distribution ( (10e-06 0.0025) (15e-06 0.0528) (20e-06 0.2795) (25e-06 1.0918) (30e-06 2.3988) (35e-06 4.4227) (40e-06 6.3888) (45e-06 8.6721) (50e-06 10.3153) (55e-06 11.6259) (60e-06 12.0030) (65e-06 10.4175) (70e-06 10.8427) (75e-06 8.0016) (80e-06 6.1333) (85e-06 3.8827) (90e-06 3.4688) ); } } injectionMethod disc; // ok //flowType constantVelocity; flowType flowRateAndDischarge; //UMag 10; Cd constant 0.9; } /*patchInjectionCoeffs { massFlowRate 0.8e-03; parcelBasisType mass; patchName in; parcelsPerSecond 100; duration 1; // NOTE: set to 1 for steady state U0 (0 0 10); flowRateProfile constant 1; sizeDistribution { type general; generalDistribution { distribution ( (10e-06 0.0025) (15e-06 0.0528) (20e-06 0.2795) (25e-06 1.0918) (30e-06 2.3988) (35e-06 4.4227) (40e-06 6.3888) (45e-06 8.6721) (50e-06 10.3153) (55e-06 11.6259) (60e-06 12.0030) (65e-06 10.4175) (70e-06 10.8427) (75e-06 8.0016) (80e-06 6.1333) (85e-06 3.8827) (90e-06 3.4688) ); } } } */ standardWallInteractionCoeffs { type rebound; } RanzMarshallCoeffs { BirdCorrection off; } singleMixtureFractionCoeffs { phases ( gas { } liquid { H2O 1; } solid { } ); YGasTot0 0; YLiquidTot0 1; YSolidTot0 0; } liquidEvaporationCoeffs { enthalpyTransfer enthalpyDifference; activeLiquids ( H2O ); } } cloudFunctions { patchPostProcessing { maxStoredParcels 1000; patches (walls out ); } particleTracks { trackInterval 1; maxSamples 1000000; resetOnWrite yes; } } // ************************************************************************* // |
|
We cannot reproduce this error - can you confirm that your build is up-to-date? |
|
Hi, I am a colleague of Jens, and the maintainer of the OF installation he used. There were some customizations in the lagrangian library in order to have parallel mesh motion+spray. I removed those and updated the installation. After compiling from scratch (wclean all) we still see the same error. I repeated the test on my home computer (ubuntu 12.04), and I see identical error on freshly updated and scratch-compiled 2.1.x. (precompiled 2.1.1 also gives the same). Strange that you cannot reproduce. Kalle |
|
Thanks for the report - the bug has been corrected in commit d325683 |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-02-22 13:02 |
|
New Issue | |
2013-02-22 13:02 |
|
File Added: reactingCloud1Properties | |
2013-02-25 13:51 |
|
Note Added: 0001940 | |
2013-03-04 07:07 | nogenmyr | Note Added: 0001948 | |
2013-03-04 14:33 |
|
Note Added: 0001949 | |
2013-03-04 14:33 |
|
Status | new => resolved |
2013-03-04 14:33 |
|
Fixed in Version | => 2.1.x |
2013-03-04 14:33 |
|
Resolution | open => fixed |
2013-03-04 14:33 |
|
Assigned To | => user2 |