CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > 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 Search this Thread Display Modes
Old   January 15, 2013, 20:55
Default Constant Pressure Boundary Condition Not Holding!!
  #1
Member
 
Mike
Join Date: Jun 2012
Posts: 58
Rep Power: 13
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
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 06:45
Constant pressure drop condition Jonny6001 FLUENT 0 December 19, 2009 07:36


All times are GMT -4. The time now is 07:00.