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/)
-   -   how to get the divergence of a vector variable on a patch (http://www.cfd-online.com/Forums/openfoam-solving/114814-how-get-divergence-vector-variable-patch.html)

GP_FDU March 18, 2013 10:06

how to get the divergence of a vector variable on a patch
 
For example,
First,
volVectorField A
(
//....
);
Then, I want to calculate the divergence of A.boundaryField()[patchI]. And how to make it?

doubtsincfd March 18, 2013 15:12

Check the utility foamCalc
It calculates divergence of fields


All times are GMT -4. The time now is 19:16.