|
[Sponsors] | |||||
Flow into seperate basin depending on water level differences |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Paul N
Join Date: Jul 2015
Posts: 1
Rep Power: 0 ![]() |
Hello,
i'm new to CFD and trying to simulate a river with a flood plain with a modification of the shallowFoam solver. For that i created two Meshes and merged them in OpenFOAM. So i got two regions with no connecting faces. The simulation of the river works pretty good but i couldn't figure out how to couple the two regions correctly! I have one boundary at each region (interfaceRight, interfaceLeft) that i want to couple with groovyBC. So what I need is that there is an inflow into the basin when the water level of the river is higher than the water level in the basin. From other Threads i read i thought it has to be something like: interfaceLeft { type groovyBC; value nonuniform List<vector> . . . valueExpression "(hinterfaceRight-hinterfaceLeft > 0 ? ... : (0 0 0) )"; fractionExpression "1"; variables 2 ( "hinterfaceRight@interfaceRight=hTotal;" "hinterfaceLeft=hTotal;" ) ; Has anyone maybe done something comparable to this or could just help me? |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Oct 2010
Posts: 23
Rep Power: 17 ![]() |
Hi Paul,
Did you ever resolve your issue? I've done something similar but not with interfaces: https://www.mts-cfd.com/ballater Best wishes, Tom |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Issues on the simulation of high-speed compressible flow within turbomachinery | dowlee | OpenFOAM Running, Solving & CFD | 11 | August 6, 2021 07:40 |
| About Some Concepts:Laminar flow, turbulent flow, steady flow and time-dependent flow | Jing | Main CFD Forum | 8 | October 5, 2018 18:02 |
| mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
| [snappyHexMesh] AMI-interface "cuts" water jet | jrrygg | OpenFOAM Meshing & Mesh Conversion | 0 | February 15, 2013 08:08 |
| fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 22:31 |