Commit 3eb5b194 authored by mattijs's avatar mattijs
Browse files

mesh gets deleted before functionObject

parent 5f82861d
......@@ -309,7 +309,8 @@ void Foam::fieldAverage::writeAveragingProperties() const
"uniform",
obr_,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::NO_WRITE,
false
)
);
......
......@@ -57,7 +57,8 @@ void Foam::fieldAverage::addMeanField
obr_.time().timeName(),
obr_,
IOobject::READ_IF_PRESENT,
IOobject::NO_WRITE
IOobject::NO_WRITE,
false
),
baseField
)
......@@ -96,7 +97,8 @@ void Foam::fieldAverage::addPrime2MeanField
obr_.time().timeName(),
obr_,
IOobject::READ_IF_PRESENT,
IOobject::NO_WRITE
IOobject::NO_WRITE,
false
),
sqr(baseField) - sqr(meanField)
)
......
Supports Markdown
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