Commit 11a2ea7c authored by Henry Weller's avatar Henry Weller
Browse files

CrankNicolsonDdtScheme: Corrected fvcDdtUfCorr for compressible flow

Resolves bug-report https://bugs.openfoam.org/view.php?id=2491
parent af088a5c
......@@ -1255,7 +1255,7 @@ CrankNicolsonDdtScheme<Type>::fvcDdtUfCorr
ddt0_<GeometricField<Type, fvPatchField, volMesh>>
(
"ddtCorrDdt0(" + rho.name() + ',' + U.name() + ')',
U.dimensions()
rho.dimensions()*U.dimensions()
);
DDt0Field<GeometricField<Type, fvsPatchField, surfaceMesh>>& dUfdt0 =
......@@ -1350,7 +1350,7 @@ CrankNicolsonDdtScheme<Type>::fvcDdtPhiCorr
ddt0_<GeometricField<Type, fvPatchField, volMesh>>
(
"ddtCorrDdt0(" + rho.name() + ',' + U.name() + ')',
U.dimensions()
rho.dimensions()*U.dimensions()
);
DDt0Field<fluxFieldType>& dphidt0 =
......
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