mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ddtSchemes: Name meshPhi "meshPhi" and do not register
This commit is contained in:
@ -843,7 +843,9 @@ tmp<surfaceScalarField> CoEulerDdtScheme<Type>::meshPhi
|
|||||||
(
|
(
|
||||||
"meshPhi",
|
"meshPhi",
|
||||||
mesh().time().timeName(),
|
mesh().time().timeName(),
|
||||||
mesh()
|
mesh(),
|
||||||
|
IOobject::NO_READ,
|
||||||
|
IOobject::NO_WRITE
|
||||||
),
|
),
|
||||||
mesh(),
|
mesh(),
|
||||||
dimensionedScalar("0", dimVolume/dimTime, 0.0)
|
dimensionedScalar("0", dimVolume/dimTime, 0.0)
|
||||||
|
|||||||
@ -1426,7 +1426,22 @@ tmp<surfaceScalarField> CrankNicolsonDdtScheme<Type>::meshPhi
|
|||||||
coef0_(meshPhi0)*mesh().phi().oldTime() - offCentre_(meshPhi0());
|
coef0_(meshPhi0)*mesh().phi().oldTime() - offCentre_(meshPhi0());
|
||||||
}
|
}
|
||||||
|
|
||||||
return coef_(meshPhi0)*mesh().phi() - offCentre_(meshPhi0());
|
return tmp<surfaceScalarField>
|
||||||
|
(
|
||||||
|
new surfaceScalarField
|
||||||
|
(
|
||||||
|
IOobject
|
||||||
|
(
|
||||||
|
mesh().phi().name(),
|
||||||
|
mesh().time().timeName(),
|
||||||
|
mesh(),
|
||||||
|
IOobject::NO_READ,
|
||||||
|
IOobject::NO_WRITE,
|
||||||
|
false
|
||||||
|
),
|
||||||
|
coef_(meshPhi0)*mesh().phi() - offCentre_(meshPhi0())
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -845,7 +845,10 @@ tmp<surfaceScalarField> SLTSDdtScheme<Type>::meshPhi
|
|||||||
(
|
(
|
||||||
"meshPhi",
|
"meshPhi",
|
||||||
mesh().time().timeName(),
|
mesh().time().timeName(),
|
||||||
mesh()
|
mesh(),
|
||||||
|
IOobject::NO_READ,
|
||||||
|
IOobject::NO_WRITE,
|
||||||
|
false
|
||||||
),
|
),
|
||||||
mesh(),
|
mesh(),
|
||||||
dimensionedScalar("0", dimVolume/dimTime, 0.0)
|
dimensionedScalar("0", dimVolume/dimTime, 0.0)
|
||||||
|
|||||||
@ -976,7 +976,22 @@ tmp<surfaceScalarField> backwardDdtScheme<Type>::meshPhi
|
|||||||
// Coefficient for t-1/2 (between times n and 0)
|
// Coefficient for t-1/2 (between times n and 0)
|
||||||
scalar coefftn_0 = 1 + coefft0_00;
|
scalar coefftn_0 = 1 + coefft0_00;
|
||||||
|
|
||||||
return coefftn_0*mesh().phi() - coefft0_00*mesh().phi().oldTime();
|
return tmp<surfaceScalarField>
|
||||||
|
(
|
||||||
|
new surfaceScalarField
|
||||||
|
(
|
||||||
|
IOobject
|
||||||
|
(
|
||||||
|
mesh().phi().name(),
|
||||||
|
mesh().time().timeName(),
|
||||||
|
mesh(),
|
||||||
|
IOobject::NO_READ,
|
||||||
|
IOobject::NO_WRITE,
|
||||||
|
false
|
||||||
|
),
|
||||||
|
coefftn_0*mesh().phi() - coefft0_00*mesh().phi().oldTime()
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -740,7 +740,10 @@ tmp<surfaceScalarField> localEulerDdtScheme<Type>::meshPhi
|
|||||||
(
|
(
|
||||||
"meshPhi",
|
"meshPhi",
|
||||||
mesh().time().timeName(),
|
mesh().time().timeName(),
|
||||||
mesh()
|
mesh(),
|
||||||
|
IOobject::NO_READ,
|
||||||
|
IOobject::NO_WRITE,
|
||||||
|
false
|
||||||
),
|
),
|
||||||
mesh(),
|
mesh(),
|
||||||
dimensionedScalar("0", dimVolume/dimTime, 0.0)
|
dimensionedScalar("0", dimVolume/dimTime, 0.0)
|
||||||
|
|||||||
@ -412,7 +412,10 @@ tmp<surfaceScalarField> steadyStateDdtScheme<Type>::meshPhi
|
|||||||
(
|
(
|
||||||
"meshPhi",
|
"meshPhi",
|
||||||
mesh().time().timeName(),
|
mesh().time().timeName(),
|
||||||
mesh()
|
mesh(),
|
||||||
|
IOobject::NO_READ,
|
||||||
|
IOobject::NO_WRITE,
|
||||||
|
false
|
||||||
),
|
),
|
||||||
mesh(),
|
mesh(),
|
||||||
dimensionedScalar("0", dimVolume/dimTime, 0.0)
|
dimensionedScalar("0", dimVolume/dimTime, 0.0)
|
||||||
|
|||||||
Reference in New Issue
Block a user