CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

Very Simple Question

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

LinkBack Thread Tools Display Modes
Old   December 13, 2013, 09:34
Default Very Simple Question
New Member
Join Date: Sep 2013
Posts: 3
Rep Power: 6
WK912 is on a distinguished road
I am trying to create a UDF to use as the Inertial resistances of a few porous zones. I've copied everything pretty much exactly from the book with a few minor additions. On my first iteration calculating the solution I get a Divergence error. What am I doing wrong? Thanks in advance for the help!

#include "udf.h"
cell_t c;
real velw;
C_PROFILE(c,t,nv) = pow(23.0 *(ABS(velw) * 0.0000151) / (3.0 * 0.0000150),-0.321) / 0.356;


cell_t c;
C_PROFILE(c,t,nv) = 0.567;
WK912 is offline   Reply With Quote

Old   December 14, 2013, 07:30
Senior Member
Join Date: Jan 2010
Location: Germany
Posts: 268
Rep Power: 10
Zaktatir is on a distinguished road
Your Velw is the problem at first
Zaktatir is offline   Reply With Quote


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
Simple Outlet Question m.nichols19 OpenFOAM 3 June 25, 2010 01:44
Simple Question Regarding Symmetry Planes Atella CFX 3 April 11, 2010 06:44
Simple Question Regarding Symmetry Planes Atella Main CFD Forum 0 April 9, 2010 10:58
Question of Anil Date's SIMPLE method universez Main CFD Forum 0 November 18, 2009 21:12
Simple Question Regarding Continuity Closure RC FLUENT 2 March 25, 2004 06:30

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