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

Face density

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2007, 09:18
Default Face density
  #1
pirat
Guest
 
Posts: n/a
Hi guys, I'm dealing with a 3d simulation with a udf for export the variables every time step. I want to save the value of density at a certan face of a boundary, in the UDF manual is written that the value of density is only available in the cell center. Do I have to perform an interpolation or anybody knows how to get diretly that value? Tanks
  Reply With Quote

Old   March 4, 2007, 20:44
Default Re: Face density
  #2
Ravi Bharihoke
Guest
 
Posts: n/a
Hi,

You posted a doubt on cfd forum attached below.

I have a similar doubt in my project, if can kindly throw some light on it, i would be highly oblidged.

Thanks, Ravi Bharihoke Chemical engineering student IIT Kharagpur India

Hi guys, I'm dealing with a 3d simulation with a udf for export the variables every time step. I want to save the value of density at a certan face of a boundary, in the UDF manual is written that the value of density is only available in the cell center. Do I have to perform an interpolation or anybody knows how to get diretly that value? Tanks
  Reply With Quote

Old   March 5, 2007, 02:39
Default Re: Face density
  #3
pirat
Guest
 
Posts: n/a
Ok I solved it in this way: Using the connectivity macros you can get from your face thread and id, the values of the two closest cells. Now you can export the density at the center of these cells. From these values you can interpolate to have the value of the density in the face. Unfortunately this works if the two cells belong to the same fluid zone, if it is not the case I don't know yet how to do it, i'm still looking for an answer.

  Reply With Quote

Old   March 5, 2007, 10:02
Default Re: Face density
  #4
Ravi Bharihoke
Guest
 
Posts: n/a
Hi,

Thanks for your reply.

Pardon me coz I am a novice in cfd.

My doubt is I have a udf with DEFINE_PROFILE(f,t,i) macro .... now i want my udf to return values of velocity and mass fraction at boundary... now since mass fraction is scaler... by what variable name do i define species mass fraction?... i tried by giving F_YI(f,t,i) but it is not working....

  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
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
Warning 097- AB Siemens 6 November 15, 2004 04:41


All times are GMT -4. The time now is 15:01.