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

UNIVERSITY OF WARMIA AND MAZURY IN OLSZTYN

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 2, 2008, 07:53
Default UNIVERSITY OF WARMIA AND MAZURY IN OLSZTYN
  #1
wojciech
Guest
 
Posts: n/a
Hello,

I calculate in Fluent 6.3.26 a typical flow in porous medium with Forchheimer model (equation 7.19-2 in Fluent doc.). I have permeability and Forchheimer coefficient from own experiment. When I use the original Fluent model, the results are very good (error <3% in all cases). Now I try calculate the same sample with a UDF. Unfortunately, the pressure fall is smaller (about 0.3 the good value). What can bee the reason? There is my UDF:

-------------------------------------------- #include "udf.h" DEFINE_SOURCE(forchheimer_z,cell,thread,dS,eqn) { real k; real 2_beta; real Uz; real linear; real nonlinear; real source;

k = 4.90987500E+08; 2_beta = 36430.72; Uz = C_W(cell,thread); linear = C_MU_L(cell,thread)/k; nonlinear = 2_beta * 0.5 * C_R(cell,thread); source = -(linear * Uz + nonlinear * fabs(Uz) * Uz); dS[eqn] = -(linear + 2.0 * nonlinear * fabs(Uz));

return source; }

--------------------------------------------

Thanks for all answers...
  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
University for Master / PhD in FSI Student Main CFD Forum 4 November 4, 2008 07:43
Warmia and Mazury Uniwersity wojciech FLUENT 0 October 17, 2008 11:59
help:how to choose a university zhang Main CFD Forum 0 May 14, 2002 01:49
cfd + university ? thampy Main CFD Forum 10 June 26, 1999 13:44
University for CFD? Elan Main CFD Forum 10 November 19, 1998 12:04


All times are GMT -4. The time now is 04:57.