CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

How to get face or cell a area in a DEFINE_SOURCE?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2017, 07:26
Question How to get face or cell a area in a DEFINE_SOURCE?
  #1
New Member
 
Kathrin
Join Date: Mar 2017
Posts: 1
Rep Power: 0
KiteKathy is on a distinguished road
Hi,
I am a total freshman in Fluent and udf's and now I have to make a udf for a heat exchanger with a porous-zone.

In the UDF I should calculate the (heat flux / volume) [W/m³], which will be included in my source term for energy.

I must calculate my heat flux with Reynolds-Number, Prandtl-Number, Nusselt-Number, heat transfer coefficient etc…

Now my Problem is, that I need the area of a cell or the length of a edge from a cell to calculate this values and I have no idea how I will get this information, especially in a DEFINE_SOURCE udf.

Can someone help me how I must go on with this problem?



Kind regards
KiteKathy is offline   Reply With Quote

Reply

Tags
area, cell area, face area


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
[blockMesh] Internal walls of zero thickness anger OpenFOAM Meshing & Mesh Conversion 23 February 6, 2020 19:25
Output cell face area from all patches niko0807 OpenFOAM Programming & Development 1 October 23, 2015 10:03
Hydrostatic Pressure and Gravity miliante OpenFOAM Running, Solving & CFD 132 October 7, 2012 23:50
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


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