Fixed wrong dimension set in steady state ddt corrector

This commit is contained in:
Hrvoje Jasak 2013-08-26 20:48:25 +01:00
parent 3776ce34c5
commit 6caa9b34cb

View file

@ -243,7 +243,7 @@ steadyStateDdtScheme<Type>::fvcDdtPhiCorr
mesh(), mesh(),
dimensioned<typename flux<Type>::type> dimensioned<typename flux<Type>::type>
( (
"0", "zero",
rA.dimensions()*phi.dimensions()/dimTime, rA.dimensions()*phi.dimensions()/dimTime,
pTraits<typename flux<Type>::type>::zero pTraits<typename flux<Type>::type>::zero
) )
@ -278,7 +278,7 @@ steadyStateDdtScheme<Type>::fvcDdtPhiCorr
dimensioned<typename flux<Type>::type> dimensioned<typename flux<Type>::type>
( (
"0", "0",
rA.dimensions()*phi.dimensions()/dimTime, rA.dimensions()*rho.dimensions()*phi.dimensions()/dimTime,
pTraits<typename flux<Type>::type>::zero pTraits<typename flux<Type>::type>::zero
) )
) )