reactingFoam vs rhoReactingFoam
I just downloaded OpenFOAM (1.7.1) (SUSE linux) and I got reactingFoam but did not get rhoReactingFoam. Would someone be so kind as to compare and contrast the two? Why use one versus the other? I see reactingFoam uses hCombustionThermo.H and psiChemistryModel.H while rhoReactingFoam uses hReactingThermo.H and rhoChemistryModel.H. What am I missing by not having rhoReactingFoam? Thanks!
|
I'm also interested.....
|
same for me
|
same here
And I'm interested in a incompressible combustion solver, any suggestion? |
Incompressible ReactingFoam
Dear colleagues,
Did you ever get an answer to your question or resolve this issue? I am attempting to simulate a high pressure hydrogen release from a pipe using ReactingFoam (release only = no chemistry and no reaction) and wish to run it as an incompressible flow (simplification) Is it possible to modify the ReactingFoam solver from compressible to incompressible? Many thanks, James |
anyone able to answer in 2016 ? :confused:
|
Quick answers:
|
thank you for your reply wyldckat,
Sorry for my ignorance but how did you see that ? I mean in the source code ? |
Quote:
First i added this code in the CreatField.H, volScalarField Rrate ( IOobject ( "Rrate", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, dimensionedScalar("Rrate", dimMass/dimVolume/dimTime, 0.0) ); Then, i added this code in YEqn, forAll(Y, i) { if (Y[i].name() != "CH4") RR = reaction->R(Yi); } After wmake, it shows YEqn.H:26:14: error: no match for ‘operator=’ (operand types are ‘Foam::volScalarField {aka Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>}’ and ‘Foam::tmp<Foam::fvMatrix<double> >’) Rrate = reaction->R(Yi); Can you tell me how to do that? Thank you very much. |
All times are GMT -4. The time now is 19:54. |