|
[Sponsors] |
November 10, 2004, 11:54 |
UDF for orous zone porosity
|
#1 |
Guest
Posts: n/a
|
I need to change the porosity of a porous zone as a function of time.
The FLUENT manual tells that the porosity defined in the UDF must utilize the DEFINE_PROPERTY macro. I wrote the code and tried to use both interpreted and compiled UDF, but I can't solve the case. The following things happen: 1) If I use interpreted UDF, FLUENT 6.1.22 tells a segmentation violation occoured. 2) If I use compiled UDF, I get the message: Error: get_udf_function: function cell_viscosity has wrong type: 1 != 2 Error Object: #f Did anyone have similar problems? Hi ap |
|
November 10, 2004, 18:38 |
Re: UDF for orous zone porosity
|
#2 |
Guest
Posts: n/a
|
Hi,
The fluent manual has a correction in it for the porosity function. Instead of DEFINE_PROPERTY you need to use DEFINE_PROFILE. Hopefully this will fix your errors. Steve |
|
November 10, 2004, 19:26 |
Re: UDF for orous zone porosity
|
#3 |
Guest
Posts: n/a
|
Thank you, Steve.
I will try (and also I'll upgrade the manual, too ;-)). Hi ap |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 18:51 |
UDF for Species Mass Fraction Gradient *IN SPECIFIC ZONE * -- e.g. along axis of sym. | ksiegs2 | Fluent UDF and Scheme Programming | 0 | February 27, 2011 13:55 |
Problem in IMPORT of ICEM input file in FLUENT | csvirume | FLUENT | 2 | September 9, 2009 02:08 |
Error to re-open fluent case file | J.Gimbun | FLUENT | 0 | April 27, 2006 09:42 |
Sliding mesh error | Karl Kevala | FLUENT | 4 | February 21, 2001 16:52 |