CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Doubt in term representation in the fvSchemes dictionary (https://www.cfd-online.com/Forums/openfoam-solving/66524-doubt-term-representation-fvschemes-dictionary.html)

titio July 17, 2009 13:21

Doubt in term representation in the fvSchemes dictionary
 
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?

Thanks,

Titio


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