|July 8, 2010, 10:18||
define macro for setting porosity settings
Join Date: Jul 2010
Posts: 4Rep Power: 7
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?
Last edited by bearli; July 8, 2010 at 11:18.
|macro, porous, udf|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Installing OF 1.6 on Mac OS X||gschaider||OpenFOAM Installation||140||June 19, 2010 09:23|
|HELP----Surface Reaction UDF||Ashi||Fluent UDF and Scheme Programming||0||May 25, 2009 09:39|
|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 12:24|
|UDF FOR UNSTEADY TIME STEP||mayur||FLUENT||3||August 9, 2006 10:19|