|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
GiuliaB
Join Date: Aug 2015
Location: Italy
Posts: 1
Rep Power: 0 ![]() |
Dear Foamers,
I've started to work with OpenFOAM recently in order to simulate an hydraulic jump with the interFoam solver in laminar flow (as first step). The characteristics of the "riverbed" (rectangular section) are: i = 0.001 B = 5 m L = 50 m . Creating the mesh, I divided inlet and outlet in two segments, one where I should have water and one where there should be air (as I saw it was suggested inside this forum), so the inlet height of the water is 0.1 m. My BC are the following: U inlet_water { type fixedValue; value uniform (2 0 0); } inlet_air { type fixedValue; value uniform (0 0 0); } outlet_water { type fixedValue; value uniform (0.83 0 0); //calculated in order to obtain the height of the water expected } outlet_air { type fixedValue; value uniform (0 0 0); } lowerWall { type fixedValue; value uniform (0 0 0); } atmosphere { type pressureInletOutletVelocity; value uniform (0 0 0); } p inlet_air { type zeroGradient; } inlet_water { type zeroGradient; } outlet_air { type fixedFluxPressure; value uniform 0; } outlet_water { type fixedFluxPressure; value uniform 0; } lowerWall { type zeroGradient; } atmosphere { type totalPressure; p0 uniform 0; U U; phi phi; rho rho; psi none; gamma 1; value uniform 0; } alpha inlet_air { type fixedValue; value uniform 0; } inlet_water { type fixedValue; value uniform 1; } outlet_air { type inletOutlet; inletValue uniform 0; value uniform 0; } outlet_water { type inletOutlet; inletValue uniform 0; value uniform 0; } lowerWall { type zeroGradient; } atmosphere { type inletOutlet; inletValue uniform 0; value uniform 0; } With this setting I obtain an hydraulic jump that is not stationary, indeed the hydraulic jump is pushed from downstream to upstream (please see the video of the simulation here). I think that the problem is due to the outlet BC of the pressure. I tried also to set a different fixed value for the pressure in outlet, the one that should lead to the equilibrium between the slow and the rapid flows, but nothing changed. It seems that the software doesn't maintain my BC in outlet while doing the simulation. Do you have any suggestion for obtaining the stationary hydraulic jump? Thanks in advance. |
|
![]() |
![]() |
![]() |
Tags |
boundary condition p, hydraulic jump, interfoam, outlet boundary condition |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem modeling hydraulic jump in an open channel with interFoam (VoF) | arnau1985 | OpenFOAM Running, Solving & CFD | 12 | December 26, 2022 05:54 |
How to form hydraulic jump at specified location | mojtabaivi | FLOW-3D | 5 | August 13, 2015 04:22 |
Weird hydraulic jump with interFoam [SST k-omega] | keepfit | OpenFOAM Running, Solving & CFD | 6 | March 23, 2015 12:55 |
interFoam | Hydraulic Jump | Correct boundary condition p_rgh | pythag0ra5 | OpenFOAM Running, Solving & CFD | 17 | September 5, 2014 04:31 |
Hydraulic jump | The King | OpenFOAM | 4 | November 24, 2011 12:45 |