GeometricField: Temporary fields are no longer registered on the database by default
Registration occurs when the temporary field is transferred to a non-temporary field via a constructor or if explicitly transferred to the database via the regIOobject "store" methods.
This commit is contained in:
@ -84,7 +84,7 @@ bool Foam::functionObjects::CourantNo::calc()
|
||||
mesh_
|
||||
),
|
||||
mesh_,
|
||||
dimensionedScalar("0", dimless, 0),
|
||||
dimensionedScalar(dimless, 0),
|
||||
zeroGradientFvPatchScalarField::typeName
|
||||
)
|
||||
);
|
||||
|
||||
@ -118,7 +118,7 @@ bool Foam::functionObjects::age::execute()
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
mesh_,
|
||||
dimensionedScalar("zero", dimTime, 0),
|
||||
dimensionedScalar(dimTime, 0),
|
||||
patchTypes()
|
||||
);
|
||||
|
||||
@ -154,7 +154,7 @@ bool Foam::functionObjects::age::execute()
|
||||
solve
|
||||
(
|
||||
fvm::div(phi, t, divScheme)
|
||||
== dimensionedScalar("one", dimless, 1),
|
||||
== dimensionedScalar(dimless, 1),
|
||||
schemesField_
|
||||
);
|
||||
}
|
||||
|
||||
@ -501,7 +501,7 @@ bool Foam::functionObjects::regionSizeDistribution::write()
|
||||
IOobject::NO_WRITE
|
||||
),
|
||||
mesh_,
|
||||
dimensionedScalar("zero", dimless, 0)
|
||||
dimensionedScalar(dimless, 0)
|
||||
);
|
||||
Info<< " Dumping region as volScalarField to " << region.name()
|
||||
<< endl;
|
||||
|
||||
@ -82,7 +82,7 @@ Foam::tmp<Foam::pointScalarField> Foam::functionObjects::streamFunction::calc
|
||||
mesh_
|
||||
),
|
||||
pMesh,
|
||||
dimensionedScalar("zero", phi.dimensions(), 0)
|
||||
dimensionedScalar(phi.dimensions(), 0)
|
||||
)
|
||||
);
|
||||
pointScalarField& streamFunction = tstreamFunction.ref();
|
||||
|
||||
@ -115,7 +115,7 @@ bool Foam::functionObjects::turbulenceIntensity::execute()
|
||||
/max
|
||||
(
|
||||
max(uPrime, mag(turbModel.U())),
|
||||
dimensionedScalar("small", dimVelocity, small)
|
||||
dimensionedScalar(dimVelocity, small)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@ -76,7 +76,7 @@ Foam::functionObjects::wallHeatFlux::calcWallHeatFlux
|
||||
mesh_
|
||||
),
|
||||
mesh_,
|
||||
dimensionedScalar("0", dimMass/pow3(dimTime), 0)
|
||||
dimensionedScalar(dimMass/pow3(dimTime), 0)
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@ -83,7 +83,6 @@ Foam::functionObjects::wallHeatTransferCoeff::calcHeatTransferCoeff
|
||||
mesh_,
|
||||
dimensionedScalar
|
||||
(
|
||||
"0",
|
||||
dimMass/pow3(dimTime)/(dimTemperature/dimLength),
|
||||
0
|
||||
)
|
||||
|
||||
@ -78,7 +78,7 @@ Foam::tmp<Foam::volScalarField> Foam::functionObjects::yPlus::calcYPlus
|
||||
mesh_
|
||||
),
|
||||
mesh_,
|
||||
dimensionedScalar("0", dimless, 0)
|
||||
dimensionedScalar(dimless, 0)
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@ -342,7 +342,7 @@ Foam::tmp<Foam::volScalarField> Foam::functionObjects::forces::rho() const
|
||||
mesh_
|
||||
),
|
||||
mesh_,
|
||||
dimensionedScalar("rho", dimDensity, rhoRef_)
|
||||
dimensionedScalar(dimDensity, rhoRef_)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user