mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
mixtureKEpsilon: Read km and epsilonm from the startTime directory
This commit is contained in:
@ -231,6 +231,11 @@ void mixtureKEpsilon<BasicTurbulenceModel>::initMixtureFields()
|
|||||||
const volScalarField& kl = turbc.k_;
|
const volScalarField& kl = turbc.k_;
|
||||||
const volScalarField& epsilonl = turbc.epsilon_;
|
const volScalarField& epsilonl = turbc.epsilon_;
|
||||||
|
|
||||||
|
word startTimeName
|
||||||
|
(
|
||||||
|
this->runTime_.timeName(this->runTime_.startTime().value())
|
||||||
|
);
|
||||||
|
|
||||||
Ct2_.set
|
Ct2_.set
|
||||||
(
|
(
|
||||||
new volScalarField
|
new volScalarField
|
||||||
@ -238,7 +243,7 @@ void mixtureKEpsilon<BasicTurbulenceModel>::initMixtureFields()
|
|||||||
IOobject
|
IOobject
|
||||||
(
|
(
|
||||||
"Ct2",
|
"Ct2",
|
||||||
this->runTime_.timeName(),
|
startTimeName,
|
||||||
this->mesh_,
|
this->mesh_,
|
||||||
IOobject::READ_IF_PRESENT,
|
IOobject::READ_IF_PRESENT,
|
||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
@ -254,7 +259,7 @@ void mixtureKEpsilon<BasicTurbulenceModel>::initMixtureFields()
|
|||||||
IOobject
|
IOobject
|
||||||
(
|
(
|
||||||
"rhom",
|
"rhom",
|
||||||
this->runTime_.timeName(),
|
startTimeName,
|
||||||
this->mesh_,
|
this->mesh_,
|
||||||
IOobject::READ_IF_PRESENT,
|
IOobject::READ_IF_PRESENT,
|
||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
@ -270,7 +275,7 @@ void mixtureKEpsilon<BasicTurbulenceModel>::initMixtureFields()
|
|||||||
IOobject
|
IOobject
|
||||||
(
|
(
|
||||||
"km",
|
"km",
|
||||||
this->runTime_.timeName(),
|
startTimeName,
|
||||||
this->mesh_,
|
this->mesh_,
|
||||||
IOobject::READ_IF_PRESENT,
|
IOobject::READ_IF_PRESENT,
|
||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
@ -288,7 +293,7 @@ void mixtureKEpsilon<BasicTurbulenceModel>::initMixtureFields()
|
|||||||
IOobject
|
IOobject
|
||||||
(
|
(
|
||||||
"epsilonm",
|
"epsilonm",
|
||||||
this->runTime_.timeName(),
|
startTimeName,
|
||||||
this->mesh_,
|
this->mesh_,
|
||||||
IOobject::READ_IF_PRESENT,
|
IOobject::READ_IF_PRESENT,
|
||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
|
|||||||
Reference in New Issue
Block a user