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

udf 3d surface source

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2011, 17:33
Default udf 3d surface source
  #1
Member
 
CJ
Join Date: Jun 2009
Posts: 34
Rep Power: 17
solefire is on a distinguished road



Dear every one,

one question posted here, hopefully get your reply, tks

FLUENT (UDF ) ADDING surface source (3d), with very thin thickness


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




....loop


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


I guess there is some thing wrong about how to define the surface, actually it is very thin plane, volume source, it is like a isosurface in a cube ,let's say the length=1 for x,y,z

any ideas? thanks
solefire is offline   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
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan OpenFOAM Meshing & Mesh Conversion 3 October 22, 2015 12:05
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 BlGene OpenFOAM Meshing & Mesh Conversion 10 August 6, 2009 05:26
UDF for energy source João Fernandes FLUENT 4 October 17, 2008 05:53
UDF: PROFILE + SOURCE Nuno FLUENT 0 September 1, 2008 16:31
UDF source terms Andrew Garrard FLUENT 1 October 30, 2003 11:48


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