Optionally read enthalpy if present to allow settings of complex (conjugate) boundary conditions

This commit is contained in:
Hrvoje Jasak 2018-06-18 11:10:28 +01:00
parent 75eae97648
commit a34f0344e9
11 changed files with 20 additions and 20 deletions

View file

@ -114,8 +114,8 @@ Foam::ePsiThermo<MixtureType>::ePsiThermo
"e",
mesh.time().timeName(),
obj,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
mesh,
dimensionSet(0, 2, -2, 0, 0),

View file

@ -112,8 +112,8 @@ Foam::hPsiThermo<MixtureType>::hPsiThermo
"h",
mesh.time().timeName(),
obj,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
mesh,
dimensionSet(0, 2, -2, 0, 0),

View file

@ -112,8 +112,8 @@ Foam::hsPsiThermo<MixtureType>::hsPsiThermo
"hs",
mesh.time().timeName(),
obj,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
mesh,
dimEnergy/dimMass,

View file

@ -22,10 +22,10 @@ License
along with foam-extend. If not, see <http://www.gnu.org/licenses/>.
Author
Christian Lucas
Institut für Thermodynamik
Technische Universität Braunschweig
Germany
Christian Lucas
Institut für Thermodynamik
Technische Universität Braunschweig
Germany
\*---------------------------------------------------------------------------*/

View file

@ -22,10 +22,10 @@ License
along with foam-extend. If not, see <http://www.gnu.org/licenses/>.
Author
Christian Lucas
Institut für Thermodynamik
Technische Universität Braunschweig
Germany
Christian Lucas
Institut für Thermodynamik
Technische Universität Braunschweig
Germany
\*---------------------------------------------------------------------------*/
@ -121,8 +121,8 @@ Foam::realGasHThermo<MixtureType>::realGasHThermo
"h",
mesh.time().timeName(),
obj,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
mesh,
dimensionSet(0, 2, -2, 0, 0),

View file

@ -51,8 +51,8 @@ Foam::hsCombustionThermo::hsCombustionThermo
"hs",
mesh.time().timeName(),
obj,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
mesh,
dimEnergy/dimMass,

View file

@ -51,8 +51,8 @@ Foam::hsReactionThermo::hsReactionThermo
"hs",
mesh.time().timeName(),
obj,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
mesh,
dimEnergy/dimMass,