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

define surface or line source from FLUENT

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2011, 05:23
Default define surface or line source from FLUENT
  #1
Member
 
CJ
Join Date: Jun 2009
Posts: 34
Rep Power: 16
solefire is on a distinguished road
Dear every one,

I am wondering is there any eaiser way to define a surface source from fluent,

or i can only use UDF, while this is not working what i wrote below, could some one give me a hint or example... many thanks

(y=0.3, 0<x<1, 0<z<1):



....loop
C_CENTROID(xc,c,t);

if(fabs(xc[1]-0.3)<=1e-02 && xc[0]>0.0 && xc[0]<1.0 && xc[2]>0.0 && xc[2]<=1.0)


{DO sth....}

...loop
solefire is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 08:48
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24
Problems of Duns Codes! Martin J Main CFD Forum 8 August 14, 2003 23:19


All times are GMT -4. The time now is 13:41.