CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Object name output modified (http://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 10:58.