CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   mapFields failed (https://www.cfd-online.com/Forums/openfoam/115997-mapfields-failed.html)

hz283 April 10, 2013 16:51

mapFields failed
 
Hi All,

in my simulations, I always use mapFields to map the results from the coarse meshes to the fine meshes. This is succesful from my 5 million meshes to 7 million meshes. Now I would like to map the results from 7 million mesh to 10 million mesh, I got the following error:


Create time

Create mesh for time = 0.118023


Reading g
Creating combustion model

Selecting combustion model infinitelyFastChemistry<psiCombustionModel,gasTher moPhysics>
Selecting thermodynamics package hsPsiMixtureThermo<singleStepReactingMixture<gasTh ermoPhysics>>
Selecting chemistryReader foamChemistryReader

#0 Foam::error::printStack(Foam::Ostream&) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libOpenFOAM.so"
#2 in "/lib64/libc.so.6"
#3 Foam::DimensionedField<double, Foam::volMesh>::operator/=(Foam::DimensionedField<double, Foam::volMesh> const&) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libreactionThermophysicalModels.so"
#4 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::operator/=(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libreactionThermophysicalModels.so"
#5 Foam::multiComponentMixture<Foam::sutherlandTransp ort<Foam::specieThermo<Foam::janafThermo<Foam::per fectGas> > > >::correctMassFractions() in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libreactionThermophysicalModels.so"
#6 Foam::multiComponentMixture<Foam::sutherlandTransp ort<Foam::specieThermo<Foam::janafThermo<Foam::per fectGas> > > >::multiComponentMixture(Foam::dictionary const&, Foam::List<Foam::word> const&, Foam::HashPtrTable<Foam::sutherlandTransport<Foam: :specieThermo<Foam::janafThermo<Foam::perfectGas> > >, Foam::word, Foam::string::hash> const&, Foam::fvMesh const&) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libreactionThermophysicalModels.so"
#7 Foam::reactingMixture<Foam::sutherlandTransport<Fo am::specieThermo<Foam::janafThermo<Foam::perfectGa s> > > >::reactingMixture(Foam::dictionary const&, Foam::fvMesh const&) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libreactionThermophysicalModels.so"
#8 Foam::singleStepReactingMixture<Foam::sutherlandTr ansport<Foam::specieThermo<Foam::janafThermo<Foam: :perfectGas> > > >::singleStepReactingMixture(Foam::dictionary const&, Foam::fvMesh const&) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libreactionThermophysicalModels.so"
#9
...................
in "/home/hz283/OpenFOAM/hz283-2.1.1/platforms/linux64Gcc45DPOpt/bin/fireFoam"
#17 __libc_start_main in "/lib64/libc.so.6"
#18
in "/home/hz283/OpenFOAM/hz283-2.1.1/platforms/linux64Gcc45DPOpt/bin/fireFoam"
Floating point exception


I do not know why, the only thing I did is to refine the mesh and copy the results from the coarse mesh to fine one. The geometry, solver and other settings are totally the same. in order to rule out this error, I also regenerate the mesh (of coarse, around 10millim). From the above information, it seems that the solver failed to read in the reaction information and the thermodynamics model. Because when I used the same procedure (mapFields ../case -consistent), I got the successful mapping. But for this case, I am completely confused.

Could you please give me some hints about this problem? I really appreciate it if you can help me.

best, h

hz283 April 10, 2013 16:54

The reason why I did this is because I would like to use the RANS as my LES initial field, which corresponds to a fine mesh. Thank you in advance for your help!

Quote:

Originally Posted by hz283 (Post 419723)
Hi All,

in my simulations, I always use mapFields to map the results from the coarse meshes to the fine meshes. This is succesful from my 5 million meshes to 7 million meshes. Now I would like to map the results from 7 million mesh to 10 million mesh, I got the following error:


Create time

Create mesh for time = 0.118023


Reading g
Creating combustion model

Selecting combustion model infinitelyFastChemistry<psiCombustionModel,gasTher moPhysics>
Selecting thermodynamics package hsPsiMixtureThermo<singleStepReactingMixture<gasTh ermoPhysics>>
Selecting chemistryReader foamChemistryReader

#0 Foam::error::printStack(Foam::Ostream&) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libOpenFOAM.so"
#2 in "/lib64/libc.so.6"
#3 Foam::DimensionedField<double, Foam::volMesh>::operator/=(Foam::DimensionedField<double, Foam::volMesh> const&) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libreactionThermophysicalModels.so"
#4 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::operator/=(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libreactionThermophysicalModels.so"
#5 Foam::multiComponentMixture<Foam::sutherlandTransp ort<Foam::specieThermo<Foam::janafThermo<Foam::per fectGas> > > >::correctMassFractions() in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libreactionThermophysicalModels.so"
#6 Foam::multiComponentMixture<Foam::sutherlandTransp ort<Foam::specieThermo<Foam::janafThermo<Foam::per fectGas> > > >::multiComponentMixture(Foam::dictionary const&, Foam::List<Foam::word> const&, Foam::HashPtrTable<Foam::sutherlandTransport<Foam: :specieThermo<Foam::janafThermo<Foam::perfectGas> > >, Foam::word, Foam::string::hash> const&, Foam::fvMesh const&) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libreactionThermophysicalModels.so"
#7 Foam::reactingMixture<Foam::sutherlandTransport<Fo am::specieThermo<Foam::janafThermo<Foam::perfectGa s> > > >::reactingMixture(Foam::dictionary const&, Foam::fvMesh const&) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libreactionThermophysicalModels.so"
#8 Foam::singleStepReactingMixture<Foam::sutherlandTr ansport<Foam::specieThermo<Foam::janafThermo<Foam: :perfectGas> > > >::singleStepReactingMixture(Foam::dictionary const&, Foam::fvMesh const&) in "/home/hz283/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64Gcc45DPOpt/lib/libreactionThermophysicalModels.so"
#9
...................
in "/home/hz283/OpenFOAM/hz283-2.1.1/platforms/linux64Gcc45DPOpt/bin/fireFoam"
#17 __libc_start_main in "/lib64/libc.so.6"
#18
in "/home/hz283/OpenFOAM/hz283-2.1.1/platforms/linux64Gcc45DPOpt/bin/fireFoam"
Floating point exception


I do not know why, the only thing I did is to refine the mesh and copy the results from the coarse mesh to fine one. The geometry, solver and other settings are totally the same. in order to rule out this error, I also regenerate the mesh (of coarse, around 10millim). From the above information, it seems that the solver failed to read in the reaction information and the thermodynamics model. Because when I used the same procedure (mapFields ../case -consistent), I got the successful mapping. But for this case, I am completely confused.

Could you please give me some hints about this problem? I really appreciate it if you can help me.

best, h



All times are GMT -4. The time now is 22:57.