CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

Constant Pressure Boundary Condition Not Holding!!

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 15, 2013, 21:55
Default Constant Pressure Boundary Condition Not Holding!!
  #1
Member
 
Mike
Join Date: Jun 2012
Posts: 49
Rep Power: 4
dreamchaser is on a distinguished road
Hello,

I am running a simulation where I have a 6cmx20 cm rectanglular tank that is filled with water. I want to apply a pressure of 400000 Pa to the bottom of the tank and take a look at the resulting velocity fields.

I made a UDF to put the pressure condition at the bottom of the tank.
However for some reason, the pressure is only holding for the first time step and then gradually decreasing to zero.
I would like the pressure pulse to stay at 400000 Pa at the bottom of the tank for the entire simulation.
I appreciate your help and time. The UDF is below.

#include "udf.h"
DEFINE_PROFILE (unsteady_pressure, thread, position)
{

face_t f;
real t= CURRENT_TIME;

begin_f_loop (f,thread)
{
F_PROFILE (f, thread, position )=400000;
}
end_f_loop (f,thread)

}
dreamchaser is offline   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
high pressure boundary condition fragzilla CFX 5 September 14, 2012 03:40
Pressure Inlet Boundary Condition Issue zoeburton1987 FLUENT 0 May 15, 2012 10:20
error message cuteapathy CFX 14 March 20, 2012 08:45
Constant pressure drop condition Jonny6001 FLUENT 0 December 19, 2009 08:36
Pressure boundary condition C-H Kuo Main CFD Forum 9 August 28, 1998 13:07


All times are GMT -4. The time now is 11:15.