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

Viscous Driven Compressible Flow Boundary Condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2019, 11:03
Default Viscous Driven Compressible Flow Boundary Condition
  #1
New Member
 
Tom
Join Date: Nov 2018
Posts: 23
Rep Power: 8
russel60 is on a distinguished road
Hi everyone,

I have been developing a fluid solid interaction (FSI) code with a compressible fluid solver with cavitation, and I am looking for some advice on proper boundary conditions to use.

The flow that I am simulating is entirely viscous driven - there is no set pressure differential or across the domain, and the only fluid movement comes from two moving walls (one translatingWallVelocity and one rotatingWallVelocity).

I have done very similar cases with an incompressible fluid solver, and have had success with setting the inlet as a 'zeroGradient' and outlet as 'fixedValue' of 0. I cannot use these boundary conditions for the compressible flow case because of the cavitation model - the minimum pressure when accounting for cavitation is the liquid's vapor pressure (around 4500 pa).

So far, I have tried using two 'totalPressure' boundary conditions that set both the inlet and the outlet to 1.1e5 pa, around atmospheric pressure. I have also tried setting both the inlet and the outlet to 'zeroGradient'. Both of these cases gave very similar results - very little pressure build up in the narrow region, and a large pressure differential between the sides. I have attached an image of my domain with the pressure contours from the dual 'zeroGradient' boundary condition case.

I am wondering what the best boundary conditions would be for this case. Reading through the B.C. documentation on openFoam.com and DOxygen, I think I might try using a 'freeStream' condition or a combination of 'inletOutlet' / 'outletInlet' conditions.

Does anyone have any advice / suggestions for what to try next? Any help is appreciated!!

Thanks!
Attached Images
File Type: jpg FSI_domain.JPG (29.5 KB, 13 views)
russel60 is offline   Reply With Quote

Old   January 28, 2019, 19:00
Default
  #2
New Member
 
Tom
Join Date: Nov 2018
Posts: 23
Rep Power: 8
russel60 is on a distinguished road
Update for anyone who finds this thread:

It turned out that having the two outlets have a totalPressure boundary condition set to be atmospheric pressure worked for this case. The max pressure in this case comes at the very narrow region, so setting both outlets to be at ~1atm worked. I must have been doing something wrong when I tried it and it didn't work the first time.
russel60 is offline   Reply With Quote

Reply

Tags
boundary conditions, compressible fsi, fluid solid interface, viscous flow


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
Centrifugal fan j0hnny CFX 13 October 1, 2019 14:55
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
How to set the velocity inlet boundary condition in the compressible flow? lienien FLUENT 2 March 11, 2013 09:25
Boundary condition for compressible flow ( cavity lid problem) pike@91 Main CFD Forum 2 June 2, 2012 18:04
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45


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