fvMesh: Do not register geometric object in the objectRegistry

This avoids them being mapped during mesh motion
This commit is contained in:
Henry
2013-03-09 16:16:38 +00:00
parent d05e256dcd
commit b2c397d459
3 changed files with 28 additions and 10 deletions

View File

@ -171,7 +171,8 @@ Foam::fvMesh::fvMesh(const IOobject& io)
time().timeName(), time().timeName(),
*this, *this,
IOobject::MUST_READ, IOobject::MUST_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
*this *this
); );
@ -191,7 +192,8 @@ Foam::fvMesh::fvMesh(const IOobject& io)
time().timeName(), time().timeName(),
*this, *this,
IOobject::MUST_READ, IOobject::MUST_READ,
IOobject::AUTO_WRITE IOobject::AUTO_WRITE,
false
), ),
*this *this
); );
@ -564,7 +566,8 @@ Foam::tmp<Foam::scalarField> Foam::fvMesh::movePoints(const pointField& p)
time().timeName(), time().timeName(),
*this, *this,
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
V() V()
); );
@ -585,7 +588,8 @@ Foam::tmp<Foam::scalarField> Foam::fvMesh::movePoints(const pointField& p)
this->time().timeName(), this->time().timeName(),
*this, *this,
IOobject::NO_READ, IOobject::NO_READ,
IOobject::AUTO_WRITE IOobject::AUTO_WRITE,
false
), ),
*this, *this,
dimVolume/dimTime dimVolume/dimTime

View File

@ -208,7 +208,8 @@ const volScalarField::DimensionedInternalField& fvMesh::V() const
time().timeName(), time().timeName(),
*this, *this,
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
*this, *this,
dimVolume, dimVolume,
@ -258,7 +259,8 @@ const volScalarField::DimensionedInternalField& fvMesh::V00() const
time().timeName(), time().timeName(),
*this, *this,
IOobject::NO_READ, IOobject::NO_READ,
IOobject::NO_WRITE IOobject::NO_WRITE,
false
), ),
V0() V0()
); );

View File

@ -148,7 +148,10 @@ void Foam::surfaceInterpolation::makeWeights() const
( (
"weights", "weights",
mesh_.pointsInstance(), mesh_.pointsInstance(),
mesh_ mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE,
false // Do not register
), ),
mesh_, mesh_,
dimless dimless
@ -217,7 +220,10 @@ void Foam::surfaceInterpolation::makeDeltaCoeffs() const
( (
"deltaCoeffs", "deltaCoeffs",
mesh_.pointsInstance(), mesh_.pointsInstance(),
mesh_ mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE,
false // Do not register
), ),
mesh_, mesh_,
dimless/dimLength dimless/dimLength
@ -262,7 +268,10 @@ void Foam::surfaceInterpolation::makeNonOrthDeltaCoeffs() const
( (
"nonOrthDeltaCoeffs", "nonOrthDeltaCoeffs",
mesh_.pointsInstance(), mesh_.pointsInstance(),
mesh_ mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE,
false // Do not register
), ),
mesh_, mesh_,
dimless/dimLength dimless/dimLength
@ -320,7 +329,10 @@ void Foam::surfaceInterpolation::makeNonOrthCorrectionVectors() const
( (
"nonOrthCorrectionVectors", "nonOrthCorrectionVectors",
mesh_.pointsInstance(), mesh_.pointsInstance(),
mesh_ mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE,
false // Do not register
), ),
mesh_, mesh_,
dimless dimless