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

reactingFoam vs rhoReactingFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2011, 10:31
Default reactingFoam vs rhoReactingFoam
  #1
New Member
 
Scot Johnson
Join Date: Mar 2011
Posts: 25
Rep Power: 15
Scot is on a distinguished road
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!
Scot is offline   Reply With Quote

Old   April 5, 2011, 18:08
Default
  #2
New Member
 
Luigi
Join Date: Apr 2011
Posts: 10
Rep Power: 15
Hìr0 is on a distinguished road
I'm also interested.....
Hìr0 is offline   Reply With Quote

Old   May 20, 2011, 08:18
Default
  #3
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17
linch is on a distinguished road
same for me
linch is offline   Reply With Quote

Old   May 22, 2011, 08:29
Default
  #4
Member
 
edison
Join Date: May 2009
Location: Australia
Posts: 35
Rep Power: 17
Edison_Ge is on a distinguished road
same here
And I'm interested in a incompressible combustion solver, any suggestion?
Edison_Ge is offline   Reply With Quote

Old   July 9, 2014, 09:21
Default Incompressible ReactingFoam
  #5
Member
 
James
Join Date: Jul 2013
Posts: 38
Rep Power: 13
ni-openfoam-user is on a distinguished road
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
ni-openfoam-user is offline   Reply With Quote

Old   April 5, 2016, 09:24
Default
  #6
Member
 
AdOo
Join Date: Mar 2016
Location: Bordeaux
Posts: 91
Rep Power: 10
adrieno is on a distinguished road
anyone able to answer in 2016 ?
adrieno is offline   Reply With Quote

Old   April 16, 2016, 14:25
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answers:
  1. Reason why the two solvers exist:
    1. Description in the source code for reactingFoam:
      Quote:
      Solver for combustion with chemical reactions.
    2. Description in the source code for rhoReactingFoam:
      Code:
      Solver for combustion with chemical reactions using density based thermodynamics package.
  2. You can do incompressible flow by configuring the file "constant/thermophysicalProperties" as an incompressible fluid. Run the following command to look for examples:
    Code:
    find $FOAM_TUTORIALS -name thermophysicalProperties
  3. As to why an explicit implementation of incompressible combustion solver doesn't exist, it is most likely because the developers of OpenFOAM aim for generic implementations, to minimize maintenance. For example, see this bug report: http://www.openfoam.org/mantisbt/view.php?id=1856
__________________
wyldckat is offline   Reply With Quote

Old   April 18, 2016, 04:03
Default
  #8
Member
 
AdOo
Join Date: Mar 2016
Location: Bordeaux
Posts: 91
Rep Power: 10
adrieno is on a distinguished road
thank you for your reply wyldckat,
Sorry for my ignorance but how did you see that ? I mean in the source code ?
adrieno is offline   Reply With Quote

Old   June 2, 2016, 12:28
Default
  #9
New Member
 
Mr.liu
Join Date: Sep 2012
Posts: 27
Rep Power: 14
lx882211 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answers:
  1. Reason why the two solvers exist:
    1. Description in the source code for reactingFoam:
    2. Description in the source code for rhoReactingFoam:
      Code:
      Solver for combustion with chemical reactions using density based thermodynamics package.
  2. You can do incompressible flow by configuring the file "constant/thermophysicalProperties" as an incompressible fluid. Run the following command to look for examples:
    Code:
    find $FOAM_TUTORIALS -name thermophysicalProperties
  3. As to why an explicit implementation of incompressible combustion solver doesn't exist, it is most likely because the developers of OpenFOAM aim for generic implementations, to minimize maintenance. For example, see this bug report: http://www.openfoam.org/mantisbt/view.php?id=1856
I meet a problem in Openfoam 2.3.0, reactingFoam, i need the data of CH4 reaction rate, but i failed to autowrite it like U or Yi.

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.
lx882211 is offline   Reply With Quote

Reply


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
help with reactingFoam piccinini OpenFOAM 8 October 4, 2013 06:08
reactingFoam wedge handling wrong U dhondupant OpenFOAM Bugs 1 December 9, 2010 08:34
reactingFoam floating point exception pajofego OpenFOAM 0 November 6, 2010 18:29
reactingFoam - turbulent reacting flow hamburgFoam OpenFOAM 0 December 7, 2009 13:57
solver settings for reactingFoam leejc OpenFOAM 1 July 23, 2009 11:19


All times are GMT -4. The time now is 00:39.