|
[Sponsors] |
having trouble using reactingFoam with reactions turned off |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 17, 2013, 08:24 |
regarding reactingFoam help
|
#41 |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 13 |
greetings oll ,
i am trying to solve my case using reactingFoam from last many days . after initial errors nw its running fine but i am still bother about what temperature BC's i need to give inorder to have combustion at fuel inlet , air inlet and internal domain and outlet . it will be great help if someone will suggest about it . i had given the following BC's for temp . : Code:
FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 290; boundaryField { fuel_inlet { type fixedValue; value uniform 600; } coflow_inlet { type fixedValue; value uniform 800; } Upper_wall { type zeroGradient; } Axis { type symmetryPlane; } Outlet { type inletOutlet; inletValue uniform 290; value uniform 290; } frontAndBack { type empty; } } thanks Regards , sonu |
|
February 5, 2014, 05:14 |
|
#42 | |
New Member
Jhoan Sebastián Giraldo Valderrama
Join Date: Jul 2013
Posts: 4
Rep Power: 13 |
Quote:
I've been having the same problem with reactingFoam without reactions (combustion off). ¿Could you give me the bounday conditions that you used? Thank you |
||
February 10, 2014, 01:31 |
|
#43 |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 13 |
Helo Jhoan ,
I used the reactingFoam solver for simulating the Diffusion flame. Initially i tried this case without combustion but finally i switched it on . I got results for the combustion On case except few problems like The mass fraction of the products is not coming as it should be ... I will send you BC's but rite now i m out of station .... Regards , Sonu . |
|
April 9, 2014, 05:53 |
detailed chemistry in reactingFoam
|
#44 |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 13 |
Greeting All,
is it possible to replace the single reaction in reactingFoam solver with the GRI mechanism?? if so then where to give this GRI mechanism as species file is there in constant folder. Thanks Regards , sonu |
|
April 14, 2014, 04:22 |
How to use multiComponentMixture?
|
#45 |
New Member
|
Hi @yash.aesi
Sorry to trouble you. I have a problem while using multiComponentMixture. I want to simulate a multi-component mixture flow without reaction in OpenFOAM-2.3.0. For some purpose, I chose the solver sprayFoam as my reference solver. In createFields.H, I use code Code:
Info << "Reading thermophysical properties\n" << endl; autoPtr<psiReactionThermo> prThermo ( psiReactionThermo::New(mesh) ); Code:
thermoType { energy sensibleEnthalpy; specie specie; equationOfState perfectGas; thermo hConst; transport const; mixture multiComponentMixture; type hePsiThermo; } species ( air diesel ); air { specie { nMoles 1; molWeight 28.9; } thermodynamics { Cp 1007; Hf 0; } transport { mu 1.84e-05; Pr 0.7; } } diesel { specie { nMoles 1; molWeight 142; } thermodynamics { Cp 2100; Hf 0; } transport { mu 7e-6; Pr 0.83; } } Code:
#0 Foam::error::printStack(Foam::Ostream&) in "/home/epi/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/home/epi/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #2 Uninterpreted: #3 Foam::hePsiThermo<Foam::psiReactionThermo, Foam::SpecieMixture<Foam::multiComponentMixture<Foam::constTransport<Foam::species::thermo<Foam::hConstThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::calculate() in "/home/epi/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDPOpt/lib/libreactionThermophysicalModels.so" |
|
April 14, 2014, 15:41 |
|
#46 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Francis,
I got the private message you sent me and I prefer to answer here on the forum, so that anyone else can pitch in with ideas. Answering a bit backwards: Quote:
Quote:
I'm having a hard time understanding why you're dropping the psiCombustionModel and to trying use psiReactionThermo directly, when you already have access to it from "combustion->thermo()". Beyond this, it would be helpful to know what more is shown above the stack trace, i.e. what is above the last output you've shown. And what other modifications did you do to the sprayFoam solver, since clearly it originally uses "combustion" for something Best regards, Bruno
__________________
|
|||
April 14, 2014, 23:38 |
|
#47 |
New Member
|
Greetings Bruno,
Er, forget about sprayFoam. What I want to do is to construct a two-component mixture without reaction, then using it to construct a SLGThermo object which is to be passed to basicSprayCloud as an argument. Cause there are just two components and no reaction between them, so I think I can use multiComponentMixture rather than reactingMixture. Then the problem came when construct the mixture. Attached is piece of my code, trouble you again. Finally the problem was solved by using gdb. It is found that the universal gas constant wasn't initialized cause lack of relevant library. Code:
Foam::perfectGas<Foam::specie>::psi (this=0x8d0e80c, T=273) at /home/epi/OpenFOAM/OpenFOAM-2.2.2/src/thermophysicalModels/specie/lnInclude/perfectGasI.H:88 88 return 1.0/(this->R()*T); (gdb) s Foam::specie::R (this=0x8d0e80c) at /home/epi/OpenFOAM/OpenFOAM-2.2.2/src/thermophysicalModels/specie/lnInclude/specieI.H:99 99 return RR/molWeight_; (gdb) p RR $1 = 0 (gdb) p molWeight_ $2 = 28.899999999999999 Last edited by epi_c; April 15, 2014 at 22:58. |
|
December 5, 2014, 01:03 |
|
#48 | |
New Member
Join Date: Dec 2014
Posts: 1
Rep Power: 0 |
Quote:
I think, this error is related to your BCs. change Bc to zero gradient instead of uniform value on walls. |
||
October 22, 2016, 10:49 |
|
#49 |
New Member
chen king arthur
Join Date: Sep 2016
Posts: 4
Rep Power: 10 |
Hi sir i'm using reactingFoam in my case to solve for my master project, i'm applying turbulence flow and models into my case does that mean in my combustionproperties i need to change it from laminar<psiChemistryCombustion>; to combustionModel PaSR<psiChemistryCombustion>; .....if so i would like to know how to define cmix or is there any coefficient that can be applied as default?
|
|
Tags |
hseqn, reactingfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PaSR + infinite reaction rate in reactingFoam --> no reactions occurring | tatu | OpenFOAM Running, Solving & CFD | 3 | June 2, 2024 11:04 |
ReactingFoam with surface reactions | robert_mornhinweg | OpenFOAM Running, Solving & CFD | 9 | April 18, 2018 12:20 |
No reactions in reactingFoam 2.1 | OMN | OpenFOAM Running, Solving & CFD | 16 | April 7, 2015 13:14 |
reactingFoam wedge handling wrong U | dhondupant | OpenFOAM Bugs | 1 | December 9, 2010 08:34 |
ReactingFoam without reactions | lasb | OpenFOAM Running, Solving & CFD | 5 | June 10, 2008 09:50 |