CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Doubt in term representation (

titio May 7, 2009 13:26

Doubt in term representation
Hi everybody,

I have a doubt in the representation of a term in OpenFoam. I have to represent in openFoam a term in the form (1/rho)*div(tension), where rho is a scalar representing the density, and tension is volume tensorial field. I am using the following operator representation in Foam, in the form


However, I am getting the results expected. Is there any difference in representing the term in the form


in terms of calculations.

António Martins

henrik May 7, 2009 14:38


The two expressions are equivalent. But there would be a difference is if rho was a field.


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