|
[Sponsors] |
July 18, 2010, 20:12 |
UDF for changing the cell permeability
|
#1 |
Member
Shawn Fotovati
Join Date: Jul 2009
Location: Dallas, TX
Posts: 42
Rep Power: 17 |
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; } |
|
|
|
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 |