CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Face based gradient calculation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2008, 06:19
Default Face based gradient calculation
  #1
Bernhard Kubicek
Guest
 
Posts: n/a
Hello! I am currently implementing the face based gradient calculation into a custom solver, very similar to the description in the wiki pages. However, I noticed that some Fluent meshes contain elements whose faces are non-plain. This creates troubles while calculating a good normal vector, and the gradient calculation is very wrong even with slightly non-flat faces. Currently, I define the normal vector as the mean of the opposing corners normal vectors (nodes 1,2,3,4: 0.5(21x23+43x41) )

Is there a more elaborate system of doing this?

Very nice greetings, and thanks a lot Bernhard

(Just for information, I use a face value that is calculated using the different material properties of the individual cells.)

  Reply With Quote

Old   February 12, 2008, 17:34
Default Re: Face based gradient calculation
  #2
Ananda Himansu
Guest
 
Posts: n/a
split the face into triangles? each triangle has a unique normal vector.
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gradient calculation in CFX appu CFX 1 May 28, 2011 07:48
gradient calculation in unstructured grid gray053 Main CFD Forum 1 February 27, 2011 20:26
Gradient of Scalar calculation in 3D BFCskew grids james T Phoenics 0 March 28, 2007 08:12
Calculation of face vaules with udf rom FLUENT 0 November 3, 2005 03:04
calculation of velocity gradient at a cylinder per chaitanya FLUENT 0 February 4, 2002 03:06


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