mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GeometricField::dimensionedInternalField() -> GeometricField::dimensionedInternalFieldRef()
See also commit 22f4ad32b1
This commit is contained in:
@ -115,7 +115,7 @@ int main(int argc, char *argv[])
|
||||
calculatedFvPatchField<scalar>::typeName
|
||||
);
|
||||
|
||||
V.dimensionedInternalField() = mesh.V();
|
||||
V.dimensionedInternalFieldRef() = mesh.V();
|
||||
|
||||
volScalarField::GeometricBoundaryField& Vbf = V.boundaryFieldRef();
|
||||
|
||||
|
||||
@ -87,7 +87,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
||||
mesh
|
||||
);
|
||||
|
||||
Co.dimensionedInternalField() =
|
||||
Co.dimensionedInternalFieldRef() =
|
||||
(0.5*runTime.deltaT())
|
||||
*fvc::surfaceSum(mag(phi))().dimensionedInternalField()
|
||||
/(rho*mesh.V());
|
||||
@ -97,7 +97,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
||||
{
|
||||
Info<< " Calculating incompressible Co" << endl;
|
||||
|
||||
Co.dimensionedInternalField() =
|
||||
Co.dimensionedInternalFieldRef() =
|
||||
(0.5*runTime.deltaT())
|
||||
*fvc::surfaceSum(mag(phi))().dimensionedInternalField()
|
||||
/mesh.V();
|
||||
|
||||
Reference in New Issue
Block a user