CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

solving for forces using compressibleInterFoam

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

LinkBack Thread Tools Display Modes
Old   July 15, 2014, 21:56
Question solving for forces using compressibleInterFoam
New Member
Join Date: Jul 2014
Location: Honolulu, HI
Posts: 5
Rep Power: 3
betsybrite is on a distinguished road
I am trying to solve for forces on a simple model using a modified version of compressibleInterFoam to apply the waves2Foam toolbox. I also set my viscosity to near-zero so that I am solving Euler's equations. I have been comparing these results with the exact same mesh, boundary conditions, etc. but solving the incompressible case using interFoam. I am having trouble getting accurate forces on my model using the compressible solver (horizontal is much larger) and there seems to be limited publications where people have used this solver and have said what they used for psi, pmin and their boundary conditions. Can anyone help point out some publications? A few things I have noticed so far (please correct me if I am wrong):

1) pmin must be set to 100000 (atmospheric pressure) in order for rho to be correct (in the tutorial depthCharge2D it is set as pmin = 10000)

2) pressure is output only as dynamic pressure (p_rgh), not total pressure (p) as in other solvers, for example, interFoam

3) for pressure boundary conditions at a wall, I have to use buoyantPressure, otherwise pressure will not be calculated on the body, only the internal field.

4) for air, I use psi = 1e-5 which is the compressiblilty of air (in this case, psi = 1/RT = 1/(286.9*293.15) = 1e-5.

Is there anything else I am missing? I appreciate any advice or suggestions of publications.

Thank you!
betsybrite is offline   Reply With Quote

Old   July 17, 2014, 00:50
New Member
Join Date: Jul 2014
Location: Honolulu, HI
Posts: 5
Rep Power: 3
betsybrite is on a distinguished road
Ok, upon further research I realize that I was trying to solve for gauge pressure and I need to be solving for absolute pressure. So now my problem becomes, how to set the pressure field to absolute pressure using waves2Foam...
betsybrite is offline   Reply With Quote


compressible solver, compressibleinterfoam, forces, openfoam, waves2foam

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
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 02:20
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 14:12
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 07:37
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07

All times are GMT -4. The time now is 04:55.