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", "e",
mesh.time().timeName(), mesh.time().timeName(),
obj, obj,
IOobject::NO_READ, IOobject::READ_IF_PRESENT,
IOobject::NO_WRITE IOobject::AUTO_WRITE
), ),
mesh, mesh,
dimensionSet(0, 2, -2, 0, 0), dimensionSet(0, 2, -2, 0, 0),

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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