# solving for forces using compressibleInterFoam

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

 July 15, 2014, 21:56 solving for forces using compressibleInterFoam #1 New Member   Betsy Join Date: Jul 2014 Location: Honolulu, HI Posts: 5 Rep Power: 11 Hello, 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! Betsy

 July 17, 2014, 00:50 #2 New Member   Betsy Join Date: Jul 2014 Location: Honolulu, HI Posts: 5 Rep Power: 11 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...

 March 7, 2023, 08:06 #3 New Member   Tommaso Join Date: Jan 2020 Posts: 16 Rep Power: 6 Any updates on this?

 Tags compressible solver, compressibleinterfoam, forces, openfoam, waves2foam

 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 OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 02:20 mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 13:12 sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37 carsten OpenFOAM Bugs 11 September 12, 2008 11:16 liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07

All times are GMT -4. The time now is 21:41.