CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

UDF for orous zone porosity

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 10, 2004, 11:54
Default UDF for orous zone porosity
  #1
ap
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
  Reply With Quote

Old   November 10, 2004, 18:38
Default Re: UDF for orous zone porosity
  #2
Steve
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
  Reply With Quote

Old   November 10, 2004, 19:26
Default Re: UDF for orous zone porosity
  #3
ap
Guest
 
Posts: n/a
Thank you, Steve.

I will try (and also I'll upgrade the manual, too ;-)).

Hi

ap
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17: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 01:08
Error to re-open fluent case file J.Gimbun FLUENT 0 April 27, 2006 08:42
Sliding mesh error Karl Kevala FLUENT 4 February 21, 2001 16:52


All times are GMT -4. The time now is 05:27.