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

simulate a barrel with fluid inside and air above the fluid

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2014, 14:23
Default simulate a barrel with fluid inside and air above the fluid
  #1
New Member
 
Richard Vega
Join Date: Jun 2014
Location: Texas
Posts: 12
Rep Power: 11
richard_vega is on a distinguished road
I am new to OpenFOAM and I have a simulation that I would like to perform. I believe the best solver for my purpose would be interFOAM, but I will let you all be the judge. The problem is relatively simple: I want to simulate a barrel with fluid inside, and air above the fluid. In the simulation I would like the barrel to tip over and for the fluid to slosh around inside. My main question after reading through the dam breaking example is how to account for the accelerating boundary conditions (the fact that the barrel is what is moving and the fluid is reacting to this movement). I have not seen any examples like this, but I am sure it can be done. Any advice?
richard_vega is offline   Reply With Quote

Old   June 21, 2014, 18:57
Default
  #2
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 17
wouter is on a distinguished road
Hello richard_vega,
nice to be so confident. Using interFoam should be oke. I have no idea if this works but I would suggest that you change the gravity vector in time with the help of groovyBC. Presenting the results is I think the most difficult part.

good luck and hope this helps,
Wouter
wouter is offline   Reply With Quote

Old   October 7, 2019, 08:20
Default
  #3
New Member
 
Join Date: Sep 2019
Posts: 8
Rep Power: 6
Mi95 is on a distinguished road
hey guys,

i dont know if my question is trivial or not, but im having a very similiar case, where i want to simulate a fluid column under a air layer on top.
I considered as you already mentioned the interFoam solver.
But the description of it says:
InterFoam Solver for 2 incompressible, isothermal immiscible fluids using a VOF
my question regarding that would be why it is even possible to simulate the breaking of a dam with interFoam, as the air in the atmosphere is compressible?

do you have any idea?
Mi95 is offline   Reply With Quote

Reply

Tags
interfoam, moving bc, openfoam


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
How to simulate a simple fan inside a room ? rafiktharwat CFX 10 September 23, 2014 02:51
analyzing the temperature of fliud (air) flow inside an underground duct. arshbunny CFX 9 April 3, 2014 08:52
Air speed estimate inside a box with one barrier cognitor Main CFD Forum 1 May 14, 2013 07:43
Simulation of air flow inside valve - FSI? Help! farianka Main CFD Forum 0 April 17, 2011 16:30
can we Simulate air bubble inside hot liquid Mohan FLUENT 0 December 15, 2005 14:22


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