|
[Sponsors] |
July 8, 2010, 11:18 |
define macro for setting porosity settings
|
#1 |
New Member
Join Date: Jul 2010
Posts: 4
Rep Power: 16 |
Hi,
In a porous zone I'm trying to define the "viscous resistance" (c1) and the "inertial resistance" (c2) using a UDF macro. However, the define_property() macro does not work. And I'm not sure if the use of a define_adjust() macro will succeed since nothing is returned. What is the common way to define such properties (c1,c2 or for instance a massflow rate at the inlet boundary) with udf? Thanks in advance, bearli //edit: Of course I've read the "Example 6 - Viscous Resistance Profile in a Porous Zone" tutorial. But is this really necessary? I mean it should be possible to pass just a value without the need to loop over the whole domain. Is there an easy way to check which value has been set to the cells? Last edited by bearli; July 8, 2010 at 12:18. |
|
Tags |
macro, porous, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HELP----Surface Reaction UDF | Ashi | Fluent UDF and Scheme Programming | 1 | May 19, 2020 22:13 |
Installing OF 1.6 on Mac OS X | gschaider | OpenFOAM Installation | 129 | June 19, 2010 10:23 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
UDF FOR UNSTEADY TIME STEP | mayur | FLUENT | 3 | August 9, 2006 11:19 |