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

where is "rhoEqa.H" file located

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By jherb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2016, 07:31
Default where is "rhoEqa.H" file located
  #1
New Member
 
Wilson Lee
Join Date: Oct 2015
Posts: 7
Rep Power: 10
Wilson Lee is on a distinguished road
Hello, I am still new to OF.
I have a question about the "rhoEqa.H" file
The solver is "rhoReactingFoam" and in the .C file there was a line :
Code:
#include "rhoEqn.H"
but I didn't find this file under the reactingFoam solver folders
could anyone tell me where is this file located and being included ,
and how the OF know which rhoEqn.H file to include in the .C code.

Thanks for giving me some instructions about this question

Wilson
Wilson Lee is offline   Reply With Quote

Old   March 24, 2016, 08:29
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,931
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Code:
$ pwd
$WM_PROJECT_DIR
$ find . -name 'rhoEqn.H'
./applications/solvers/combustion/PDRFoam/rhoEqn.H
./applications/solvers/combustion/fireFoam/rhoEqn.H
./applications/solvers/lagrangian/coalChemistryFoam/rhoEqn.H
./applications/solvers/lagrangian/reactingParcelFilmFoam/rhoEqn.H
./applications/solvers/lagrangian/reactingParcelFoam/rhoEqn.H
./applications/solvers/lagrangian/sprayFoam/rhoEqn.H
./applications/solvers/multiphase/cavitatingFoam/rhoEqn.H
./src/finiteVolume/cfdTools/compressible/rhoEqn.H
./src/finiteVolume/lnInclude/rhoEqn.H
$ find . -name 'rhoEqa.H'
$
Since your question is about rhoReactingFoam, it uses src/finiteVolume/cfdTools/compressible/rhoEqn.H file.
alexeym is offline   Reply With Quote

Old   March 24, 2016, 11:43
Default
  #3
New Member
 
Wilson Lee
Join Date: Oct 2015
Posts: 7
Rep Power: 10
Wilson Lee is on a distinguished road
alexeym , Thank you very much!! I got it !!
Wilson Lee is offline   Reply With Quote

Old   February 22, 2019, 11:25
Default
  #4
Senior Member
 
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8
deepbandivadekar is on a distinguished road
Quote:
Originally Posted by alexeym View Post
Hi,

Code:
$ pwd
$WM_PROJECT_DIR
$ find . -name 'rhoEqn.H'
./applications/solvers/combustion/PDRFoam/rhoEqn.H
./applications/solvers/combustion/fireFoam/rhoEqn.H
./applications/solvers/lagrangian/coalChemistryFoam/rhoEqn.H
./applications/solvers/lagrangian/reactingParcelFilmFoam/rhoEqn.H
./applications/solvers/lagrangian/reactingParcelFoam/rhoEqn.H
./applications/solvers/lagrangian/sprayFoam/rhoEqn.H
./applications/solvers/multiphase/cavitatingFoam/rhoEqn.H
./src/finiteVolume/cfdTools/compressible/rhoEqn.H
./src/finiteVolume/lnInclude/rhoEqn.H
$ find . -name 'rhoEqa.H'
$
Since your question is about rhoReactingFoam, it uses src/finiteVolume/cfdTools/compressible/rhoEqn.H file.

I have a related question. Through which line does the solver know which rhoEqn.H is to be used?
deepbandivadekar is offline   Reply With Quote

Old   April 15, 2019, 07:22
Default
  #5
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
Quote:
I have a related question. Through which line does the solver know which rhoEqn.H is to be used?
The directories, where the compiler looks for include files (.H) are set in the Make/options file:
https://github.com/OpenFOAM/OpenFOAM...m/Make/options


For rhoReactingFoam:
Code:
     -I. \
    -I$(FOAM_SOLVERS)/combustion/reactingFoam \
...
    -I$(LIB_SRC)/finiteVolume/cfdTools \                           

...
    -I$(LIB_SRC)/dynamicFvMesh/lnInclude
deepbandivadekar likes this.
jherb 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
[OpenFOAM.org] Patches to compile OpenFOAM 2.2 on Mac OS X gschaider OpenFOAM Installation 136 October 10, 2017 17:25
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error FerdiFuchs OpenFOAM Community Contributions 27 April 16, 2014 15:14
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


All times are GMT -4. The time now is 09:21.