|July 7, 2012, 00:49||
How to set h as initial condition
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 57Rep Power: 7
I have a small problem. As we know, when we give OF initial condition, we usually give temperature and pressure as initial condition, but this is not ok for two phase condition. Is there a way to give pressure and enthalpy as initial condition??
In hPsiThermo.C, the constructor function construct the h_ field, and calculate h at each cell and surface from pressure and temperature. My first thought is make the h_ field must_read and auto_wirte, and do not calculate h at the constructor function. but it doesn't work.
Does anyone have any idea about this problem??
thank you in advance.
|Thread||Thread Starter||Forum||Replies||Last Post|
|MRFSimpleFoam wind turbine case continuity error||ysh1227||OpenFOAM Running, Solving & CFD||1||August 16, 2016 09:25|
|How to write k and epsilon before the abnormal end||xiuying||OpenFOAM Running, Solving & CFD||8||August 27, 2013 15:33|
|SLTS+rhoPisoFoam: what is rDeltaT???||nileshjrane||OpenFOAM Running, Solving & CFD||4||February 25, 2013 05:13|
|problem with Min/max rho||tH3f0rC3||OpenFOAM||7||February 23, 2013 06:37|
|Modeling in micron scale using icoFoam||m9819348||OpenFOAM Running, Solving & CFD||7||October 27, 2007 00:36|