Commit bd911f60 authored by Henry Weller's avatar Henry Weller
Browse files

CrankNicolsonDdtScheme: Use the new GeometricField constructor from...

CrankNicolsonDdtScheme: Use the new GeometricField constructor from DimensionedField and boundary FieldField
parent e1e99674
......@@ -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()*
(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment