Skip to content
Snippets Groups Projects
Commit 537b6074 authored by henry's avatar henry
Browse files

Fixed bug in ddtPhiCorr for compressible flow.

parent fe58db2e
Branches
Tags
No related merge requests found
......@@ -978,14 +978,14 @@ CrankNicholsonDdtScheme<Type>::fvcDdtPhiCorr
ddt0_<GeometricField<Type, fvPatchField, volMesh> >
(
"ddt0(" + U.name() + ')',
rho.dimensions()*U.dimensions()
U.dimensions()
);
DDt0Field<fluxFieldType>& dphidt0 =
ddt0_<fluxFieldType>
(
"ddt0(" + phi.name() + ')',
phi.dimensions()
U.dimensions()*dimArea
);
IOobject ddtIOobject
......
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