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

Flow into seperate basin depending on water level differences

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2015, 08:55
Default Flow into seperate basin depending on water level differences
  #1
New Member
 
Paul N
Join Date: Jul 2015
Posts: 1
Rep Power: 0
PaulN is on a distinguished road
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?
PaulN is offline   Reply With Quote

Old   May 5, 2020, 03:46
Default Bathymetry and OpenFOAM
  #2
New Member
 
TomS's Avatar
 
Join Date: Oct 2010
Posts: 21
Rep Power: 15
TomS is on a distinguished road
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
TomS is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
About Some Concepts:Laminar flow, turbulent flow, steady flow and time-dependent flow Jing Main CFD Forum 8 October 5, 2018 17:02
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
[snappyHexMesh] AMI-interface "cuts" water jet jrrygg OpenFOAM Meshing & Mesh Conversion 0 February 15, 2013 07:08
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 21:31


All times are GMT -4. The time now is 00:40.