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

Spillway simulation with interfoam, water disappearing through atmosphere

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2014, 02:52
Default Spillway simulation with interfoam, water disappearing through atmosphere
  #1
New Member
 
Christian Wokl
Join Date: Mar 2012
Posts: 19
Rep Power: 14
Wokl is on a distinguished road
Dear Foamers,

I am trying to simulate a spillway which is about 300meters long but just 2.5 meters wide. I ran into several problems now. just when i thought i solved them another appeared and i'm totally lost on this one. I need to simulate it in 3d since the spillway is curved and the angle of the slopes vary. Both models consist of a inlet (bottom of reservoir) walls and atmosphere (including outlet)

I searched this forum a lot for correct boundaries and fvschemes according to my checkmesh output. There are 2 pictures attached of a short version and a little longer version of the spillway. CheckMesh was Ok for both Meshes (non-ortho max69, average 19; max skewness 0.86) this values dont differ significant for both meshes. I guess they are ok since the result of one simualtion at least looks somehow ok...

Boundaries: P-rgh: inlet: buoyantPressure 0
wall: buoynatPressure 0
atmosphere: totalPressure

U: inlet:flowRateInletVelocity 10
wall: fixed 0 0 0
atmosphere: pressureInletOutletVelocity 0 0 0

alpha: inlet: fixedValue 1
wall: zeroGradient
atmosphere: inletoutlet 0 0

i also tried zeroGradient boundaries and specifying an extra outlet but the error that occured was that the step decreased to a minimum when the liquid phase came close to the outlet.

the schemes i used: ddt: euler

grad: default Gauss linear;
grad(U) cellLimitedFaussLinear 1;

div: div(rho*phi,U) Gauss linearUpwindV grad(U);
div(phi,alpha) Gauss vanLeer;
div(phirb, alpha) Gauss interFaceCompression;


So Problem now is: I just extended my slope and the water flows out through the atmosphere isntead of down the slope. Gravity checked

Another question is: i expected the water flow to have highest velovity in the center of the slope. apparently fastest lanes are close to the edges of the slope. Might that be due to mesh, since the cells are finer meshed in the edges (~100degrees not just rectangle).

Mehing was done with salome (Tetra,triangle,wire). Mesh sizes are 90000 for small model and 130000 for larger one

If anyone has an idea i'd be more than thankful
christian

edit: turbulenceModel kOmegaSST
Attached Images
File Type: jpg comparisonslopes.jpg (73.3 KB, 127 views)
Wokl is offline   Reply With Quote

Old   January 21, 2014, 21:42
Default
  #2
New Member
 
Join Date: Sep 2012
Posts: 23
Rep Power: 13
cfdan is on a distinguished road
Hi,

How about your pressure BCs? Try the following BCs for pressure:

atmosphere_body
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;

}

Inlet_body (and others)
{
type fixedFluxPressure;
value uniform 0;

}
cfdan is offline   Reply With Quote

Old   January 22, 2014, 02:41
Default
  #3
New Member
 
Christian Wokl
Join Date: Mar 2012
Posts: 19
Rep Power: 14
Wokl is on a distinguished road
Thx,

in about 1 hour ore a little more i'll let u know if it worked.

christian
Wokl is offline   Reply With Quote

Old   January 22, 2014, 04:56
Default
  #4
New Member
 
Christian Wokl
Join Date: Mar 2012
Posts: 19
Rep Power: 14
Wokl is on a distinguished road
hey,

very strange behaviour: it somehow matters wheter my reservoir is located at z= 15meters or z=100 meters.
I made a new model with higher walls at the reservoir and located the reservoir at lower values for z.
water is now again streaming down the channel. but it doesnt look correct at all. basically i know that in reality this spillway is filled about half way with water by spilling the simulated amount of water down the way. i just get some areas sort of wet (sorry for bad english)

Is maybe the friction too low and the water speeds up too fast so that there's no chance for it to build a closed surface?
and again the highest alpha values are located next to the walls and not in the center of the way. In the beginning of the slope the water stops flowing down in the center of the way. Does someone have an explanation for it?

The transport properties are equal to those used in the interfoam tutorial dambreak.

Changing my boundaries for p_rgh didnt make a change (bouyantpressure or fixedFlux)

thx Christian
Attached Images
File Type: jpg Bildschirmfoto vom 2014-01-22 10_38_32.jpg (44.4 KB, 80 views)
Wokl is offline   Reply With Quote

Old   January 23, 2014, 03:02
Default
  #5
New Member
 
Christian Wokl
Join Date: Mar 2012
Posts: 19
Rep Power: 14
Wokl is on a distinguished road
Hey all,

I'm posting an actual picture which shows my problem. Is this an meshing problem (too large cell sizes clos to walls?). the velocity of water on the surface in the end of the slope is about 20m/s. isn't that a little too fast?

Thx
Christian
Attached Images
File Type: jpg strangeflow.jpg (43.6 KB, 77 views)
Wokl is offline   Reply With Quote

Old   July 12, 2016, 09:42
Default
  #6
Member
 
Lourenço SM
Join Date: Jul 2014
Location: Lisboa, Portugal
Posts: 40
Rep Power: 11
lourencosm is on a distinguished road
Hello Wokl,

Did you find the problem?
I guess it could be about the tetrahedral mesh or the p_rgh field initialization.

Cheers,
Lourenço
lourencosm 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
interFoam Average velocity of water only! dsanza OpenFOAM Post-Processing 5 August 3, 2015 12:44
consfused to simulation water current turbin in fluent mulkanindonesia FLUENT 0 May 17, 2012 05:18
simulation with 2 fluids: air and water Rogerio Fernandes Brito CFX 4 March 20, 2008 18:07
Make a simulation of water flowing into a vase !?? Vu Trinh Tuan CFX 7 April 6, 2005 14:23
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 17:50.