CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

Computing surface normal gradient at boundary

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 12, 2013, 21:53
Default Computing surface normal gradient at boundary
  #1
New Member
 
mandeep
Join Date: May 2013
Posts: 2
Rep Power: 0
mandeepcfd is on a distinguished road
Dear all,
i am trying to write udf for grid motion.i need to know the component of the concentration gradient in the direction normal to the moving boundary. to take into account the mesh non orthogonality fluent computes the gradient component in the normal direction as

((phi1-phi0)/ds)*(A.A)/A.es + cross diffusion term

the second term can be evaluated using a macro " boundary secondary gradient source".
my doubt is with first term
(A.A)/A.es , ds can be found using macro "boundary face geometry".
but phi 1 for a boundary face is not defined. for internal face phi 1 ,phi 0 represent the value of scalar (conc in this case)at cell on either side of face.
SHOULD I USE THE VALUE AT FACE CENTRE FOR PHI1?
ALSO IN THAT CASE WHETHER I SHOULD USE PHIFACE-PHI0 OR PHI0-PHIFACE
ANY KIND OF HELP IS HIGHLY APPRECIATED
thanks
mandeepcfd is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radiation interface hinca CFX 15 January 26, 2014 18:11
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
Add additional boundary layers to complex stl surface tobijingles OpenFOAM Native Meshers: snappyHexMesh and Others 1 October 26, 2011 10:45
Import problem ARC Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 February 27, 2010 11:56
my stl surface is seen as just a line rcastilla OpenFOAM Meshing & Mesh Conversion 2 January 6, 2010 02:30


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