CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   Adequate discretization scheme for term (

titio July 17, 2009 12:51

Adequate discretization scheme for term
Hi Foamers,

I have a question about the best way to represent a term in the fvSchemes dictionary. In particular, In my problem I have to calculate the divergence of a tension field (a volume tensor field). Naturally, I place it the divSchemes dictionary, but when i tried to do

div(tension) Gauss upwind;

I got an EOF error. I added phi, to represent flux, in the form

div(tension) Gauss upwing phi;

and it works but the simulation blew. I check the tutorial files and I see that in Xoodles and buoyantFoam similar terms where represented by Gauss linear.

Is this the right option for this type of term. Can someone help me out?



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