CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Zero pressure gradient boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2015, 23:39
Default Zero pressure gradient boundary condition
  #1
AGN
New Member
 
Arun Govind Neelan
Join Date: Sep 2012
Posts: 1
Rep Power: 0
AGN is on a distinguished road
Hi,
I want to run one SU2 simulation where I want to use zero pressure gradient boundary condition at outlet. Can somebody please help me out
AGN is offline   Reply With Quote

Old   September 15, 2015, 17:22
Default
  #2
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14
hlk is on a distinguished road
Quote:
Originally Posted by AGN View Post
Hi,
I want to run one SU2 simulation where I want to use zero pressure gradient boundary condition at outlet. Can somebody please help me out
Hello
In order to apply a pressure gradient rather than the static pressure at an outlet, you will need to modify the code.

Fortunately this should be relatively simple - you will need to modify SU2/SU2_CFD/src/solver_direct_mean.cpp :
CEulerSolver::BC_Outlet

In this function, you can for example replace the outlet pressure specified in the config file with the pressure from the first interior point to apply a zero gradient.

More formally, you would need to add an additional config file option and make sure not to interfere with existing behavior, but if you want the fastest solution you can overwrite existing functionality on your local copy of the code.
hlk is offline   Reply With Quote

Reply

Tags
boundary condtion


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
how to replace a shock tube high pressure port by a boundary condition? immortality OpenFOAM Pre-Processing 0 May 2, 2013 14:43
replacing of shock tube high pressure part with a boundary condition for low pressure immortality Main CFD Forum 0 May 2, 2013 14:30
Pressure Boundary Condition Matt Umbel Main CFD Forum 0 January 11, 2002 11:06


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