CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   calculating Normal vector in level set method (http://www.cfd-online.com/Forums/main/64450-calculating-normal-vector-level-set-method.html)

amir2920 May 12, 2009 03:38

calculating Normal vector in level set method
 
Hi,
If anybody knows level set method help me.
I want to calculate Normal vector (gradient phi)/[gradient phi] in level set method. what kind of discretization should I use? (central differencing or other) .
which one?

Thank you

isabel July 21, 2009 07:25

You have an example of how to calculate the normal vector in the file interfaceProperties.C in which the normal vector is defined in the line:

nHatf_ = nHatfv & Sf;


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