CrankNicolsonDdtScheme: Use the new GeometricField constructor from DimensionedField and boundary FieldField
This commit is contained in:
parent
e1e996746b
commit
bd911f60c8
1 changed files with 4 additions and 6 deletions
|
|
@ -397,14 +397,12 @@ CrankNicolsonDdtScheme<Type>::fvcDdt
|
|||
new GeometricField<Type, fvPatchField, volMesh>
|
||||
(
|
||||
ddtIOobject,
|
||||
mesh(),
|
||||
rDtCoef.dimensions()*vf.dimensions(),
|
||||
(
|
||||
rDtCoef.value()*
|
||||
rDtCoef*
|
||||
(
|
||||
mesh().V()*vf.internalField()
|
||||
- mesh().V0()*vf.oldTime().internalField()
|
||||
) - mesh().V0()*offCentre_(ddt0.internalField())
|
||||
mesh().V()*vf
|
||||
- mesh().V0()*vf.oldTime()
|
||||
) - mesh().V0()*offCentre_(ddt0()())
|
||||
)/mesh().V(),
|
||||
rDtCoef.value()*
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue