Skip to content
Snippets Groups Projects
Commit f2ed4b27 authored by andy's avatar andy
Browse files

ENH: Added NO_WRITE io flags for CourantNo function object

parent d32702c2
Branches
Tags
No related merge requests found
...@@ -58,7 +58,9 @@ Foam::tmp<Foam::volScalarField> Foam::CourantNo::rho ...@@ -58,7 +58,9 @@ Foam::tmp<Foam::volScalarField> Foam::CourantNo::rho
( (
"rho", "rho",
mesh.time().timeName(), mesh.time().timeName(),
mesh mesh,
IOobject::NO_READ,
IOobject::NO_WRITE
), ),
mesh, mesh,
dimensionedScalar("rho", dimless, 1.0) dimensionedScalar("rho", dimless, 1.0)
...@@ -116,7 +118,8 @@ Foam::CourantNo::CourantNo ...@@ -116,7 +118,8 @@ Foam::CourantNo::CourantNo
type(), type(),
mesh.time().timeName(), mesh.time().timeName(),
mesh, mesh,
IOobject::NO_READ IOobject::NO_READ,
IOobject::NO_WRITE
), ),
mesh, mesh,
dimensionedScalar("0", dimless, 0.0), dimensionedScalar("0", dimless, 0.0),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment