CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Required Fields for twoPhaseEulerFoam (https://www.cfd-online.com/Forums/openfoam/149781-required-fields-twophaseeulerfoam.html)

rsove March 8, 2015 14:21

Required Fields for twoPhaseEulerFoam
 
Hi All,

I am new to openFOAM and I'm having trouble finding information on manipulating the constant/thermophysicalProperties file.

In particular, the thermoType section. How can I find which fields are required and which ones can be omitted.

I would ultimately like to model low Reynold's number blood flow, so I would like to set up the thermophysicalProperties file exclude the energy equation.

Any help would be greatly appreciated!

Richard

GerhardHolzinger March 9, 2015 09:50

You can find out which fields are absolutely required by the model you intend to use by:
  • Choosing the model and letting OpenFOAM tell you which parameters, settings, etc. are missing.
  • Studying the constructors of the model you want to use and its base classes.
In twoPhaseEulerFoam there is no way to disable the energy equation. The only way to not solve the energy equation is to create a modified version of twoPhaseEulerFoam with the only modification of having
Code:

#include "EEqns.H"
commented out.

You could also have a look at the tutorials and see if there is a case that uses the models you want to use.

rsove March 9, 2015 15:49

Thank you so much for the reply! I will give that a try.

Richard


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