CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Need info about totalPressure boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 8, 2017, 11:30
Default Need info about totalPressure boundary condition
  #1
Member
 
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 88
Rep Power: 10
sahmed is on a distinguished road
Dear foamers
I am sure lots of you are using totalPressure boundary condition in your simulations. I am trying to use it as my outlet boundary condition for pressure since I have possibility of backflow and in that case, the totalPressure bc is numerically most stable one along with pressureInletOutletVelocity boundary for velocity.
In the manual, it is mentioned that the data to specify with totalPressure is only p0, but I saw that there are a number of parameters speficied, e.g. gamma, phi, rho, U etc. Could anyone PLEASE tell me what values I have to specify along with totalPressure boundary condition?
sahmed is offline   Reply With Quote

Old   March 8, 2017, 12:56
Default dam breaking example
  #2
Member
 
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 88
Rep Power: 10
sahmed is on a distinguished road
I used the parameters of the totalPressure from the top 'atmosphere' boundary of the dam breaking tutorial. But it always gives me diverged solution- 'floating point exception'. Can anyone please help me regarding the parameters to be specified for this totalPressure boundary??
sahmed is offline   Reply With Quote

Old   March 9, 2017, 05:23
Default
  #3
Member
 
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 11
TobM is on a distinguished road
Look here for settings:
https://cpp.openfoam.org/v4/a02729.html

In older versions of OF you had to specify more than just p0, the totalPressure BC was simplified.
TobM is offline   Reply With Quote

Old   May 7, 2017, 16:49
Default
  #4
Member
 
sibo
Join Date: Oct 2016
Location: Chicago
Posts: 55
Rep Power: 9
sibo is on a distinguished road
Dear TobM,

I have a question about the ganma in totalpressure Bc setting. I thought the value of gamma should be determined by the temperature of air not the mach number. but from the page you provided, for transonic flow the gamma is 1. Does that mean no matter what the initial condition is, as long as the flow is transonic, the gamma should be 1 in the totalpressure Bc?

Also, it said for compressible subsonic flow, there is no need to input gamma, but when i delete the gamma for my subsonic flow case, there will be an error"gamma undefined".

Could you help me with these questions? Thanks a lot!!!!!!!
sibo is offline   Reply With Quote

Old   December 4, 2018, 21:23
Default
  #5
Senior Member
 
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 7
calf.Z is on a distinguished road
I am also interested in the parameters in this boundary setting. Can you give some explains?

Thank you very much.
calf.Z is offline   Reply With Quote

Reply

Tags
backflow, totalpressure


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
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 01:44
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 10:20
[Gmsh] Vertex numbering is dense KateEisenhower OpenFOAM Meshing & Mesh Conversion 7 August 3, 2015 10:49
Velocity profile boundary condition Tuca FLOW-3D 1 April 23, 2013 12:02
bad results in first totalPressure boundary condition iterations. immortality OpenFOAM Running, Solving & CFD 0 March 15, 2013 05:01


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