define macro for setting porosity settings
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,
//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?
|All times are GMT -4. The time now is 16:40.|