steadyStateDdtScheme: Corrected dimensions of ddtCorr for compressible flow

This commit is contained in:
Henry 2015-05-02 17:38:29 +01:00
parent 252aa603fd
commit 48edc421a8

View file

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -357,7 +357,7 @@ steadyStateDdtScheme<Type>::fvcDdtUfCorr
dimensioned<typename flux<Type>::type> dimensioned<typename flux<Type>::type>
( (
"0", "0",
rho.dimensions()*Uf.dimensions()*dimArea/dimTime, Uf.dimensions()*dimArea/dimTime,
pTraits<typename flux<Type>::type>::zero pTraits<typename flux<Type>::type>::zero
) )
) )
@ -390,7 +390,7 @@ steadyStateDdtScheme<Type>::fvcDdtPhiCorr
dimensioned<typename flux<Type>::type> dimensioned<typename flux<Type>::type>
( (
"0", "0",
rho.dimensions()*phi.dimensions()/dimTime, phi.dimensions()/dimTime,
pTraits<typename flux<Type>::type>::zero pTraits<typename flux<Type>::type>::zero
) )
) )