removed unnecessary write control logic in postSootFoam
This commit is contained in:
parent
a8044e1f53
commit
ff2bbf9c44
3 changed files with 6 additions and 7 deletions
|
|
@ -1 +1,2 @@
|
||||||
const volScalarField& psi = thermo.psi();
|
volScalarField& psi = thermo.psi();
|
||||||
|
psi.writeOpt() = IOobject::AUTO_WRITE;
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,9 @@ volScalarField rho
|
||||||
(
|
(
|
||||||
"rho",
|
"rho",
|
||||||
runTime.timeName(),
|
runTime.timeName(),
|
||||||
mesh
|
mesh,
|
||||||
|
IOobject::NO_READ,
|
||||||
|
IOobject::AUTO_WRITE
|
||||||
),
|
),
|
||||||
thermo.rho()
|
thermo.rho()
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -62,11 +62,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
radiation->correct();
|
radiation->correct();
|
||||||
|
|
||||||
if(runTime.write() == true)
|
runTime.write();
|
||||||
{
|
|
||||||
rho.write();
|
|
||||||
psi.write();
|
|
||||||
}
|
|
||||||
|
|
||||||
Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
|
Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
|
||||||
<< " ClockTime = " << runTime.elapsedClockTime() << " s"
|
<< " ClockTime = " << runTime.elapsedClockTime() << " s"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue