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

Constant Pressure Boundary Condition Not Holding!!

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

LinkBack Thread Tools Display Modes
Old   January 15, 2013, 21:55
Default Constant Pressure Boundary Condition Not Holding!!
Join Date: Jun 2012
Posts: 58
Rep Power: 7
dreamchaser is on a distinguished road

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;

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

dreamchaser 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
Pressure boundary condition C-H Kuo Main CFD Forum 18 September 16, 2016 03:19
high pressure boundary condition fragzilla CFX 5 September 14, 2012 02:40
Pressure Inlet Boundary Condition Issue zoeburton1987 FLUENT 0 May 15, 2012 09:20
error message cuteapathy CFX 14 March 20, 2012 07:45
Constant pressure drop condition Jonny6001 FLUENT 0 December 19, 2009 08:36

All times are GMT -4. The time now is 01:24.