Bugfix in dimensions

steadyStateDdtScheme::fvcDdtConsistentPhiCorr returns a zero field with wrong
dimensions (need to multiply with rAU dimensions instead of dividing).
Reported by InSu Lee, Seoul National University.
This commit is contained in:
Vuko Vukcevic 2019-01-15 12:15:39 +01:00
parent 752fce1a02
commit abc4f08028

View file

@ -354,7 +354,7 @@ steadyStateDdtScheme<Type>::fvcDdtConsistentPhiCorr
dimensioned<typename flux<Type>::type>
(
"zero",
faceU.dimensions()*dimArea/rAUf.dimensions()/dimTime,
faceU.dimensions()*dimArea*rAUf.dimensions()/dimTime,
pTraits<typename flux<Type>::type>::zero
)
)