CFD Online Discussion Forums
(
https://www.cfd-online.com/Forums/
)
-
OpenFOAM Running, Solving & CFD
(
https://www.cfd-online.com/Forums/openfoam-solving/
)
- -
Object name output modified
(
https://www.cfd-online.com/Forums/openfoam-solving/58667-object-name-output-modified.html
)
olesen
August 6, 2008 11:57
gradPMean=nm1Coeff*gradPMe
Quote:
gradPMean=nm1Coeff*gradPMean+nCoeff*gradP;
I suspect you just want to multiply the vaules:
gradPMean.value() = nm1Coeff * gradPMean.value() + nCoeff * gradP;
All times are GMT -4. The time now is
18:28
.