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

Difficulties with setup of interFOAM VOF - Boundary Conditions?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Taataa

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2018, 07:05
Default Difficulties with setup of interFOAM VOF - Boundary Conditions?
  #1
New Member
 
Dave
Join Date: Aug 2016
Posts: 23
Rep Power: 9
DaveR is on a distinguished road
Hi all,

I've been trying to simulate water & air flow past a yacht in a domain with an initialed volume of fluid, as illustrated below.

However, when I simulate this I get peculiar behavior at the inlet patch, wherein the water seems to climb the boundaries of the domain in the opposite direction of fluid flow, as shown below.

I've taken the yacht out of the simulation in an effort to speed up simulation times while I rectify this. I've tried altering patch types, positions (i.e. the air inlet/outlet being the top surface opposed to the side surfaces), differing flow velocities, and initializing the volume of fluid with a uniform velocity matching the inlet boundary condition. All of my simulation iterations seem to demonstrate the same behavior.

Is anyone able to offer any suggestions on how to correct this?

I've attached my case below for your reference.

https://drive.google.com/open?id=1hF...KbXubSQNJMM3a_

Thanks and best regards

domainSetup.png

problem.jpg
DaveR is offline   Reply With Quote

Old   April 13, 2018, 11:19
Default
  #2
Senior Member
 
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 12
Taataa is on a distinguished road
BCs are wrong. I would suggest you to take a look at the wave tutorial of OF, here.

Moreover, there is no need breakup all the domain like the way you did. If you don't want to use the wave BC you might want to divide the inlet only not outlet and sides. Also, because you're using interFoam you should use fixedFluxPressure instead of zeroGradient for pressure and pressureInletOutLetVelocity for velocity for the boundaries where you use totalPressure for pressure.

The general idea is that in this kind of problems you should specify velocity at the inlet (fixedValue for velocity and fixedFluxPressure for pressure) and pressure at the outlet (totalPressure for pressure and pressureInletOutLetVelocity for velocity).
Taataa is offline   Reply With Quote

Old   May 6, 2018, 09:12
Smile fixedFluxPressure
  #3
New Member
 
Srikar Reddy Palla
Join Date: May 2018
Posts: 19
Rep Power: 7
SRKR is on a distinguished road
Quote:
Originally Posted by Taataa View Post
BCs are wrong. I would suggest you to take a look at the wave tutorial of OF, here.

Moreover, there is no need breakup all the domain like the way you did. If you don't want to use the wave BC you might want to divide the inlet only not outlet and sides. Also, because you're using interFoam you should use fixedFluxPressure instead of zeroGradient for pressure and pressureInletOutLetVelocity for velocity for the boundaries where you use totalPressure for pressure.

The general idea is that in this kind of problems you should specify velocity at the inlet (fixedValue for velocity and fixedFluxPressure for pressure) and pressure at the outlet (totalPressure for pressure and pressureInletOutLetVelocity for velocity).
Can you please explain me about 'fixedFluxPressure' ?, why do i need to apply that instead of zeroGradient in interFoam? Please enlight me on this.
SRKR is offline   Reply With Quote

Old   May 6, 2018, 09:30
Default
  #4
Senior Member
 
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 12
Taataa is on a distinguished road
You can find good explanations here.
SRKR likes this.
Taataa is offline   Reply With Quote

Reply


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
Velocity vector in impeller passage ngoc_tran_bao CFX 24 May 3, 2016 21:16
Implementation of boundary conditions for FVM Tom Main CFD Forum 7 August 26, 2014 05:58
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32


All times are GMT -4. The time now is 08:57.