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

UDF for changing the cell permeability

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 18, 2010, 19:12
Default UDF for changing the cell permeability
  #1
Member
 
Shawn Fotovati
Join Date: Jul 2009
Location: Cincinnati, OH
Posts: 41
Rep Power: 8
sfotovati is on a distinguished road
Dear all.

I wrote the following UDF which suppose to change the marked cells permeability. can anybody mentions if this is true or not? besides, how can I hook the UDF to the fluent?

DEFINE_PROPERTY(cell_permeability,c,t)
{
real perm;
if(C_UDMI(c,t,0)==1)
{
perm=0;
C_U(c,t)=0.;
C_V(c,t)=0.;
C_W(c,t)=0.;
}
return perm;
}
sfotovati 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
FvMatrix coefficients shrina OpenFOAM Running, Solving & CFD 10 October 3, 2013 14:38
Cells with t below lower limit Purushothama CD-adapco 2 May 31, 2010 21:58
accessing upstream cell - UDF bohis FLUENT 0 April 7, 2008 05:12
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15
Warning 097- AB CD-adapco 6 November 15, 2004 05:41


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