|
[Sponsors] |
March 12, 2006, 23:14 |
need help for udf about viscous resistance
|
#1 |
Guest
Posts: n/a
|
Hi All,
I want to change the viscous resistance varying with time in the porous zone by udf. But when compute the case, the fluent warring that: chip-exec: Viscous_term: wrong return type: void udf function expected. Any one can tell me how I can write the unf for the viscous resistance correctly. Thanks in advance. The udf code I have written is given as follows. /************************************************** ******************* UDF that specifies a custom mass-fraction weighted conductivity ************************************************** ********************/ #include "udf.h" DEFINE_PROPERTY(Viscous_term,c,t) { real ti; real C_PROPERTY; { ti = RP_Get_Real("flow-time"); C_PROPERTY= .......; } return C_PROPERTY; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Viscous resistance coefficients in porous medium | fpingqian | FLUENT | 50 | June 26, 2019 02:55 |
Inertial Resistance and Viscous Resistance Data | ravitejakatragadda | FLUENT | 5 | May 10, 2018 05:16 |
Viscous and Inertial Resistance in Porous Media | aulu | FLUENT | 0 | September 14, 2011 06:21 |
how to calculate the viscous and inertial resistance coefficients? | omurakbayir | FLUENT | 1 | November 22, 2010 23:36 |
adapt viscous resistance based on velocity / UDF | Häwimeddel | FLUENT | 2 | April 20, 2009 11:08 |