My blockmeshdict is :
My blockmeshdict is :
/*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.3 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; root ""; case ""; instance ""; local ""; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (-0.5 0.33377906 0.01457311) (-0.45 0.31030427 0.01354818) (-0.4 0.28768137 0.01256044) (-0.35 0.26612769 0.01161939) (-0.3 0.24592454 0.0107373) (-0.25 0.22743209 0.0099299) (-0.2 0.21110041 0.00921684) (-0.15 0.19746635 0.00862157) (-0.1 0.18712052 0.00816986) (-0.05 0.1806288 0.00788642) (0 0.17841241 0.00778965) (0.05 0.1806288 0.00788642) (0.1 0.18712052 0.00816986) (0.15 0.19746635 0.00862157) (0.2 0.21110041 0.00921684) (0.25 0.22743209 0.0099299) (0.3 0.24592454 0.0107373) (0.35 0.26612769 0.01161939) (0.4 0.28768137 0.01256044) (0.45 0.31030427 0.01354818) (0.5 0.33377906 0.01457311) (-0.5 0.33377906 -0.01457311) (-0.45 0.31030427 -0.01354818) (-0.4 0.28768137 -0.01256044) (-0.35 0.26612769 -0.01161939) (-0.3 0.24592454 -0.0107373) (-0.25 0.22743209 -0.0099299) (-0.2 0.21110041 -0.00921684) (-0.15 0.19746635 -0.00862157) (-0.1 0.18712052 -0.00816986) (-0.05 0.1806288 -0.00788642) (0 0.17841241 -0.00778965) (0.05 0.1806288 -0.00788642) (0.1 0.18712052 -0.00816986) (0.15 0.19746635 -0.00862157) (0.2 0.21110041 -0.00921684) (0.25 0.22743209 -0.0099299) (0.3 0.24592454 -0.0107373) (0.35 0.26612769 -0.01161939) (0.4 0.28768137 -0.01256044) (0.45 0.31030427 -0.01354818) (0.5 0.33377906 -0.01457311) ( -0.5 0 0) (-0.45 0 0) (-0.4 0 0) (-0.35 0 0) (-0.3 0 0) (-0.25 0 0) (-0.2 0 0) (-0.15 0 0) (-0.1 0 0) (-0.05 0 0) (0 0 0) (0.05 0 0) (0.1 0 0) (0.15 0 0) (0.2 0 0) (0.25 0 0) (0.3 0 0) (0.35 0 0) (0.4 0 0) (0.45 0 0) (0.5 0 0) ); blocks ( hex (42 43 22 21 42 43 1 0) (5 20 1) simpleGrading (1 1 1) hex (43 44 23 22 43 44 2 1) (5 20 1) simpleGrading (1 1 1) hex (44 45 24 23 44 45 3 2) (5 20 1) simpleGrading (1 1 1) hex (45 46 25 24 45 46 4 3) (5 20 1) simpleGrading (1 1 1) hex (46 47 26 25 46 47 5 4) (5 20 1) simpleGrading (1 1 1) hex (47 48 27 26 47 48 6 5) (5 20 1) simpleGrading (1 1 1) hex (48 49 28 27 48 49 7 6) (5 20 1) simpleGrading (1 1 1) hex (49 50 29 28 49 50 8 7) (5 20 1) simpleGrading (1 1 1) hex (50 51 30 29 50 51 9 8) (5 20 1) simpleGrading (1 1 1) hex (51 52 31 30 51 52 10 9) (5 20 1) simpleGrading (1 1 1) hex (52 53 32 31 52 53 11 10) (5 20 1) simpleGrading (1 1 1) hex (53 54 33 32 53 54 12 11) (5 20 1) simpleGrading (1 1 1) hex (54 55 34 33 54 55 13 12) (5 20 1) simpleGrading (1 1 1) hex (55 56 35 34 55 56 14 13) (5 20 1) simpleGrading (1 1 1) hex (56 57 36 35 56 57 15 14) (5 20 1) simpleGrading (1 1 1) hex (57 58 37 36 57 58 16 15) (5 20 1) simpleGrading (1 1 1) hex (58 59 38 37 58 59 17 16) (5 20 1) simpleGrading (1 1 1) hex (59 60 39 38 59 60 18 17) (5 20 1) simpleGrading (1 1 1) hex (60 61 40 39 60 61 19 18) (5 20 1) simpleGrading (1 1 1) hex (61 62 41 40 61 62 20 19) (5 20 1) simpleGrading (1 1 1) ); edges ( ); patches ( patch inlet ( (42 42 0 21) ) patch outlet ( (62 62 41 20) ) wall wall ( (0 1 22 21) (1 2 23 22) (2 3 24 23) (3 4 25 24) (4 5 26 25) (5 6 27 26) (6 7 28 27) (7 8 29 28) (8 9 30 29) (9 10 31 30) (10 11 32 31) (11 12 33 32) (12 13 34 33) (13 14 35 34) (14 15 36 35) (15 16 37 36) (16 17 38 37) (17 18 39 38) (18 19 40 39) (19 20 41 40) ) wedge front ( (42 43 1 0) (43 44 2 1) (44 45 3 2) (45 46 4 3) (46 47 5 4) (47 48 6 5) (48 49 7 6) (49 50 8 7) (50 51 9 8) (51 52 10 9) (52 53 11 10) (53 54 12 11) (54 55 13 12) (55 56 14 13) (56 57 15 14) (57 58 16 15) (58 59 17 16) (59 60 18 17) (60 61 19 18) (61 62 20 19) ) wedge back ( (21 22 43 42) (22 23 44 43) (23 24 45 44) (24 25 46 45) (25 26 47 46) (26 27 48 47) (27 28 49 48) (28 29 50 49) (29 30 51 50) (30 31 52 51) (31 32 53 52) (32 33 54 53) (33 34 55 54) (34 35 56 55) (35 36 57 56) (36 37 58 57) (37 38 59 58) (38 39 60 59) (39 40 61 60) (40 41 62 61) ) empty axis ( (42 43 43 42) (43 44 44 43) (44 45 45 44) (45 46 46 45) (46 47 47 46) (47 48 48 47) (48 49 49 48) (49 50 50 49) (50 51 51 50) (51 52 52 51) (52 53 53 52) (53 54 54 53) (54 55 55 54) (55 56 56 55) (56 57 57 56) (57 58 58 57) (58 59 59 58) (59 60 60 59) (60 61 61 60) (61 62 62 61) ) ); mergePatchPairs ( ); // ************************************************** *********************** // this is a 2d axis-symmetry nozzle . The solver is rhoSonicFoam ,when I run the case this error appears: Root : /home/msha/OpenFOAM/msha-1.3/run/tutorials/rhoSonicFoam Case : nozzle Nprocs : 1 Create time Create mesh for time = 0 Reading thermodynamicProperties Reading field p Reading field T Reading field U Starting time loop Time = 1e-05 Lookup interpolationScheme for interpolate(rho) Lookup interpolationScheme for interpolate(rhoU) Max Courant Number = 0.120569 Lookup divScheme for div(phiv,rho) Lookup gradScheme for grad(rho) --> FOAM FATAL ERROR : request for surfaceScalarField phi from objectRegistry region0 failed available objects of type surfaceScalarField are 4 ( weightingFactors limiter differenceFactors_ phiv ) From function objectRegistry::lookupObject<type>(const word&) const in file /home/dm2/henry/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/objectRegistryTempl ates.C at line 122. FOAM aborting Foam::error::printStack(Foam:stream&) Foam::error::abort() Foam::GeometricField<double,> const& Foam::objectRegistry::lookupObject<foam::geometric field<double,> >(Foam::word const&) const Foam::totalPressureFvPatchScalarField::updateCoeff s() Foam::GeometricField<double,>::GeometricBoundaryFi eld::updateCoeffs() Foam::fvMatrix<double>::fvMatrix(Foam::GeometricFi eld<double,>&, Foam::dimensionSet const&) Foam::fv::gaussConvectionScheme<double>::fvmDiv(Fo am::GeometricField<double,> const&, Foam::GeometricField<double,>&) const Foam::tmp<foam::fvmatrix<double> > Foam::fvm::div<double>(Foam::GeometricField<double ,> const&, Foam::GeometricField<double,>&, Foam::word const&) Foam::tmp<foam::fvmatrix<double> > Foam::fvm::div<double>(Foam::GeometricField<double ,> const&, Foam::GeometricField<double,>&) rhoSonicFoam [0x8059060] __libc_start_main __gxx_personality_v0 Aborted |
the problem lies in your fvSch
the problem lies in your fvSchemes file, not in blockMeshDict.
It seems you declared an unvalid (unexisting) scheme in fvSchemes, as suggested by your error output: available objects of type surfaceScalarField are 4 ( weightingFactors limiter differenceFactors_ phiv ) |
Hi
Thank you for reply
R u
Hi
Thank you for reply R u sure? I have just copied fvSchemes file from an existing tutorial case without any changes. Is it possible that the problem was been arisen from boundary condition or initial values? Best regards. |
All times are GMT -4. The time now is 13:34. |