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

UDF for changing the cell permeability

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2010, 20:12
Default UDF for changing the cell permeability
  #1
Member
 
Shawn Fotovati
Join Date: Jul 2009
Location: Dallas, TX
Posts: 42
Rep Power: 17
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


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
FvMatrix coefficients shrina OpenFOAM Running, Solving & CFD 10 October 3, 2013 15:38
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 22:58
accessing upstream cell - UDF bohis FLUENT 0 April 7, 2008 06:12
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15
Warning 097- AB Siemens 6 November 15, 2004 05:41


All times are GMT -4. The time now is 17:49.