|
[Sponsors] |
How to form hydraulic jump at specified location with interFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 6, 2021, 04:55 |
How to form hydraulic jump at specified location with interFoam
|
#1 |
Member
Join Date: Apr 2015
Posts: 33
Rep Power: 11 |
hello everyone,
I'm simulating a free hydraulic jump with InterFoam. In the laboratory model, the jump occurs at a distance of one meter from the gate, but in the simulation, despite changes in various parameters such as mesh and inlet velocity, boundary condition and etc, this does not happen and the jump occurs immediately after the gate. Can anyone help me? I will appreciate that, I attached the geometry of the laboratory model. In the geometry of the simulation, I've ignored the tank. |
|
September 7, 2021, 05:25 |
|
#2 | |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 |
Quote:
A first suggestion is to put a weir at the downstream section, with the height necessary to produce the critical height above it. The calculation of the critical height is an exact measure (not its location, though) so you can use that as a reference on how good the simulation is running, in terms of turbulence/physics. From there, it's a matter of patience: you need to test turbulence models and different schemes for the divergence operator. Excessive dissipation will produce spurious recirculations on the bottom of the channel, below the roller. Be particularly mindful of using "Bouyancy aware" URANS models. Wall models also play an important role here, particularly with the location of the jump. IMPORTANT NOTE: Inertial-scale processes happen on the cross normal direction of the jump, hence it is necessary to run 3D (or 2.5D) simulations. In 2D you'll see spurious behaviour and a Richardson Analysis will show instability. You can try it out... Question: What version/flavor of OpenFOAM you're using? |
||
September 10, 2021, 08:39 |
|
#3 | |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 |
Quote:
A URANS classic hydraulic jump at Fr = 8.5. On top an instantaneous snapshot, and on the bottom the mean fields. https://imgur.com/NnsyGNt |
||
September 10, 2021, 10:27 |
|
#4 |
New Member
Ender Demirel
Join Date: Jun 2009
Location: Turkey
Posts: 20
Rep Power: 17 |
This may be associated with outflow boundary conditions since higher tail water depth moves the hydraulic jump to the control structure.
|
|
September 12, 2021, 04:22 |
|
#5 |
Member
Join Date: Apr 2015
Posts: 33
Rep Power: 11 |
[QUOTE=Santiago;811754]
thank you for replying, I am using OpenFOAM 8, One suggestion for me was to use " Interisofoam" at OpenFoam 18.12 because the "interFoam" does not work well for hydraulic jumping and also to avoid bed roughness. Do you have an opinion on this? |
|
September 13, 2021, 04:55 |
|
#6 | |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 |
[QUOTE=luccy;812023]
Quote:
MY SUGGESTION: Choose a "flavor" of OpenFOAM, and stick to it. |
||
September 13, 2021, 16:43 |
|
#7 |
Member
Honza Höll
Join Date: Mar 2016
Location: Brno, CZ
Posts: 37
Rep Power: 10 |
Also recommend you to choose right turbulent model. I performed this simulation with interFoam few moths ago and different turbulent model gives different results. For me most stable was kEpsilon. Also consider 2.5D and 3D approach. There are tons of articles around web.
|
|
October 10, 2021, 13:12 |
a question about the link you shared
|
#8 | |
Member
Join Date: Apr 2015
Posts: 33
Rep Power: 11 |
Quote:
https://imgur.com/NnsyGNt Whose simulation was this? was it yours? |
||
October 11, 2021, 08:40 |
|
#9 | |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 |
Quote:
|
||
October 11, 2021, 15:31 |
|
#10 |
Member
Join Date: Apr 2015
Posts: 33
Rep Power: 11 |
||
October 12, 2021, 04:08 |
|
#11 | |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 |
Quote:
Anyway, I assume you read my previous post where I talked about the importance of over-dissipation and the reason for the dremple. But if you think the problem is with your BCs, then of course I can show you mine. U: Code:
boundaryField { atmosphere { type pressureInletOutletVelocity; value uniform (0 0 0); } inlet { // meaningless to you, just fixedValue type powerLawVelocity; maxValue 4.3; n (1 0 0); y (0 1 0); delta 0.02; value uniform (0 0 0); } outlet { type inletOutlet; inletValue uniform (0 0 0); value uniform (0 0 0); } wallsBottom { type noSlipWall; value uniform (0 0 0); } wallsSides { type noSlipWall; value uniform (0 0 0); } } Code:
boundaryField { atmosphere { type entrainmentPressure; rho rho; psi none; gamma 1; p0 uniform 0; value uniform 0; } outlet { type totalPressure; rho rho; psi none; gamma 1; p0 uniform 0; value uniform 0; } wallsBottom { type buoyantPressure; } wallsSides { type buoyantPressure; } inlet { type fixedFluxPressure; } } Code:
wallsBottom { type nutURoughWallFunction; roughnessHeight <value here>; roughnessConstant 0.5; roughnessFactor 1; value uniform 0; } |
||
October 15, 2021, 07:24 |
|
#12 | |
Member
Join Date: Apr 2015
Posts: 33
Rep Power: 11 |
Quote:
I have another question about the inlet conditions. I want to set the boundary conditions as a velocity profile at the inlet, but I do not have access to the equation in three dimensions. Can you help with that? Also, in my open foam, there is no powerLawVelocity condition. Please pay attention to the attached photo. |
||
October 17, 2021, 14:04 |
|
#13 | |
Member
Join Date: Apr 2015
Posts: 33
Rep Power: 11 |
Quote:
|
||
October 18, 2021, 06:33 |
|
#14 |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 |
||
October 19, 2021, 06:09 |
|
#15 | |
Member
Join Date: Apr 2015
Posts: 33
Rep Power: 11 |
Quote:
I have another question about the inlet conditions. I want to set the boundary conditions as a velocity profile at the inlet, but I do not have access to the equation in three dimensions. Can you help with that? Also, in my open foam, there is no powerLawVelocity condition. Please pay attention to the attached photo. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What are strong and weak form of conservative form | granzer | Main CFD Forum | 3 | July 3, 2019 12:25 |
Having various problems simulating a multiphase channel flow | mf3 | OpenFOAM Running, Solving & CFD | 13 | November 15, 2016 07:57 |
Stationary hydraulic jump - interFoam | Bessy | OpenFOAM Running, Solving & CFD | 0 | September 6, 2015 13:40 |
How to form hydraulic jump at specified location | mojtabaivi | FLOW-3D | 5 | August 13, 2015 05:22 |
Internal hydraulic jump | taraksahoo | FLUENT | 0 | February 20, 2014 02:46 |