CFD Online Logo CFD Online URL
Home > Forums > FLUENT

UDF source as a function of pressure change rate

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

LinkBack Thread Tools Display Modes
Old   February 2, 2007, 02:05
Default UDF source as a function of pressure change rate
Johnny Qin
Posts: n/a
I want to define a mass source wich is a function of the change rate of pressure. i.e. dm/dt = K*(dp/dt). Here I need to use the previous step pressure C_P_M1(c,t). but from the macro DEFINE_SOURCE(source,c,t), I can not access to the previous variables. what should I do? Thanks in advance for your suggestion.

  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
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
Pressure jump and momentum source Tanya FLUENT 1 June 4, 2009 15:22
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27
flow rate as a function of pressure. JM Main CFD Forum 1 January 31, 2007 23:07
no enthalpy change across the momentum source Atit Koonsrisuk CFX 2 December 19, 2005 03:33

All times are GMT -4. The time now is 13:56.