CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

ReactingFoam with dynamic mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 10, 2013, 18:20
Default ReactingFoam with dynamic mesh
  #1
New Member
 
krishna
Join Date: Nov 2013
Location: madison Wi
Posts: 4
Rep Power: 12
krish042 is on a distinguished road
Hi everyone,

I am trying to implement reactingfoam (OpenFoam-2.2.1) for dynamic mesh (layered engineMesh Type) i.e engines.. I tried to follow the same steps as it has been done to incorporate XiFoam in engines to create engineFoam.
The solver complies fine without any error.but When I try running it i get the following error:


Reading g
Creating reaction model

Selecting combustion model PaSR<psiChemistryCombustion>
Selecting chemistry type
{
chemistrySolver ode;
chemistryThermo psi;
}

Selecting thermodynamics package
{
type hePsiThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
equationOfState perfectGas;
specie specie;
}

Selecting chemistryReader foamChemistryReader

#0 Foam-error-printStack(Foam-Ostream&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam-sigFpe-sigHandler(int) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 __restore_rt at sigaction.c:0
#3 Foam:heThermo<Foam: psiReactionThermo, Foam-SpecieMixture<Foam-reactingMixture<Foam-sutherlandTransport<Foam-species-thermo<Foam-janafThermo<Foam-perfectGas<Foam-specie> >, Foam-sensibleEnthalpy> > > > >-he(Foam-Field<double> const&, Foam-Field<double> const&, int) const in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#4 Foam:heThermo<Foam: psiReactionThermo, Foam-SpecieMixture<Foam-reactingMixture<Foam-sutherlandTransport<Foam-species-thermo<Foam-janafThermo<Foam-perfectGas<Foam-specie> >, Foam-sensibleEnthalpy> > > > >-init() in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#5 Foam:heThermo<Foam: psiReactionThermo, Foam-SpecieMixture<Foam-reactingMixture<Foam-sutherlandTransport<Foam-species-thermo<Foam-janafThermo<Foam-perfectGas<Foam-specie> >, Foam-sensibleEnthalpy> > > > >-heThermo(Foam-fvMesh const&, Foam-word const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#6 Foam: psiReactionThermo-addfvMeshConstructorToTable<Foam-hePsiThermo<Foam-psiReactionThermo, Foam-SpecieMixture<Foam-reactingMixture<Foam-sutherlandTransport<Foam-species-thermo<Foam-janafThermo<Foam-perfectGas<Foam-specie> >, Foam-sensibleEnthalpy> > > > > >-New(Foam-fvMesh const&, Foam-word const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#7 Foam-autoPtr<Foam-psiReactionThermo> Foam-basicThermo-New<Foam-psiReactionThermo>(Foam-fvMesh const&, Foam-word const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#8 Foam: psiReactionThermo-New(Foam-fvMesh const&, Foam-word const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#9 Foam- psiChemistryModel-psiChemistryModel(Foam-fvMesh const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libchemistryModel.so"
#10 Foam-chemistryModel<Foam-psiChemistryModel, Foam-sutherlandTransport<Foam-species-thermo<Foam-janafThermo<Foam-perfectGas<Foam-specie> >, Foam-sensibleEnthalpy> > >-chemistryModel(Foam-fvMesh const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libchemistryModel.so"
#11 Foam-ode<Foam-chemistryModel<Foam-psiChemistryModel, Foam-sutherlandTransport<Foam-species-thermo<Foam-janafThermo<Foam-perfectGas<Foam-specie> >, Foam-sensibleEnthalpy> > > >-ode(Foam-fvMesh const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libchemistryModel.so"
#12 Foam- psiChemistryModel-addfvMeshConstructorToTable<Foam-ode<Foam-chemistryModel<Foam-psiChemistryModel, Foam-sutherlandTransport<Foam-species-thermo<Foam-janafThermo<Foam-perfectGas<Foam-specie> >, Foam-sensibleEnthalpy> > > > >-New(Foam-fvMesh const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libchemistryModel.so"
#13 Foam-autoPtr<Foam-psiChemistryModel> Foam-basicChemistryModel-New<Foam-psiChemistryModel>(Foam-fvMesh const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libchemistryModel.so"
#14 Foam- psiChemistryModel-New(Foam-fvMesh const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libchemistryModel.so"
#15 Foam-combustionModels- psiChemistryCombustion-psiChemistryCombustion(Foam-word const&, Foam-fvMesh const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libcombustionModels.so"
#16 Foam-combustionModels- aSR<Foam-combustionModels- psiChemistryCombustion>: : PaSR(Foam-word const&, Foam-fvMesh const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libcombustionModels.so"
#17 Foam-combustionModels- psiCombustionModel-adddictionaryConstructorToTable<Foam-combustionModels-PaSR<Foam-combustionModels-psiChemistryCombustion> >-New(Foam-word const&, Foam-fvMesh const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libcombustionModels.so"
#18 Foam-combustionModels- siCombustionModel-New(Foam-fvMesh const&) in "/usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/platforms/linux64GccDPOpt/lib/libcombustionModels.so"
#19 main in "/usr/erc/people/krish042/OpenFOAM/krish042-2.2.1/platforms/linux64GccDPOpt/bin/my_reactingFoam"
#20 __libc_start_main in "/lib64/libc.so.6"
#21 __gxx_personality_v0 in "/usr/erc/people/krish042/OpenFOAM/krish042-2.2.1/platforms/linux64GccDPOpt/bin/my_reactingFoam"
Floating exception.

Has anyone else faced such problems. I am still new to C++ and any help would be appreciated. I have attached my source code in case you need to take a look.

Thanks
Attached Files
File Type: c reactingFoam.C (3.1 KB, 37 views)
File Type: txt options.txt (937 Bytes, 16 views)
krish042 is offline   Reply With Quote

Old   February 5, 2014, 10:15
Default
  #2
New Member
 
Jhoan Sebastián Giraldo Valderrama
Join Date: Jul 2013
Posts: 4
Rep Power: 12
Jhoanse87 is on a distinguished road
Hi krishna;

Currently I'm working with reactingFoam without reactions (combustion off) and I'm having this error. Did you solve this?.


thank you
Jhoanse87 is offline   Reply With Quote

Old   February 5, 2014, 12:45
Default
  #3
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
If you read the error logs carefully, you can see that the problem is related to the creation of the chemistry model. You are using the Foam chemistry model (as opposed to CHEMKIN); do you have an properly formatted Foam chemistry file?
mturcios777 is offline   Reply With Quote

Old   February 6, 2014, 06:46
Default
  #4
New Member
 
Jhoan Sebastián Giraldo Valderrama
Join Date: Jul 2013
Posts: 4
Rep Power: 12
Jhoanse87 is on a distinguished road
Hi mTurcios, thank you for your quick reply.

I've been modifying counterFlowFlame2D tutorial (reactingFoam for RANS) cause I need it for LES with a 3D configuration. With LES,the solver runs properly (that's why I think that the problem is not my chemistry file), but when I impose my 3D configuration I'm having the following error:

log_error.txt

I'm think that my problem is related with my boundary conditions. ¿What do you think?

These are my boundary conditions:

0.zip

I would be so grateful if you could help me.
Jhoanse87 is offline   Reply With Quote

Old   February 6, 2014, 10:54
Default
  #5
New Member
 
Jhoan Sebastián Giraldo Valderrama
Join Date: Jul 2013
Posts: 4
Rep Power: 12
Jhoanse87 is on a distinguished road
Finally I realized what was happening. One of my species in my 0/ files had a fixed value "0", for instance, if openfoam was calculating the concentration of H2 in a boundary with this condition it would calculate Yi=ni/nT but if n1 is equal to zero the concentration would be infinite.
Jhoanse87 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Mesh on Pintle type injector. herntan FLUENT 16 September 4, 2020 08:27
pls help. mesh collapsed with dynamic mesh. wlt_1985 FLUENT 2 May 7, 2020 10:42
ReactingFoam & Dynamic Mesh yaqb OpenFOAM Running, Solving & CFD 4 July 1, 2013 12:30
Dynamic Mesh "Shadow Wall" thezack FLUENT 0 June 4, 2013 22:09
dynamic mesh for drop interface IndrajitW FLUENT 0 March 30, 2013 08:03


All times are GMT -4. The time now is 16:52.