|
[Sponsors] |
Dam-break with a vertical-lifting gate (without dynamic mesh technique?) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 6, 2016, 18:32 |
Dam-break with a vertical-lifting gate (without dynamic mesh technique?)
|
#1 |
Senior Member
David Long
Join Date: May 2012
Location: Germany
Posts: 104
Rep Power: 14 |
Dear Foamers,
I want to make a simple dam break test with a lifting gate. The gate is lifted with a velocity of 0.5 m/s at Z+ direction. I was wondering if it is possible to realize this without dynamic mesh. The gate could be implemented as a zero thickness wall or baffle in OpenFOAM, the problem is that, how to "move" this baffle according to the lifting velocity without using dynamic mesh, since all we need is to set some fixed internal faces as walls. The first idea comes to my mind is that: at every 0.1 sec, use the "createBaffles" command to update the gate position. But the baffle can only be created once at the beginning, do we have any method to change these faces that consist of the gate baffle? Any idea? Best regards, David Last edited by keepfit; February 7, 2016 at 00:04. |
|
February 7, 2016, 15:35 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Without dynamic mesh, then:
__________________
|
|
February 7, 2016, 17:04 |
|
#3 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Maybe activeBaffleVelocity may help you, although I am not sure about it... Here you can find a little bit of information.
Best regards, Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
|
February 7, 2016, 17:28 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Alex,
Quote:
Either way, a new boundary condition will have to be coded. Best regards, Bruno |
||
February 7, 2016, 17:44 |
|
#5 | |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Quote:
By the way, maybe groovyBC has something to say about this problem! Just to avoid the hard work of coding a whole new BC... However, if it was possible I have no clue on how to do it...
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
||
February 7, 2016, 19:29 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
The one example that uses the PDR mesh is "activePressureForceBaffleVelocity"... I studied it sometime ago for fixing a bug: http://www.openfoam.org/mantisbt/view.php?id=1793#c5281 - the one you mentioned, namely "activeBaffleVelocity", is a simpler form of this boundary condition.
Last edited by wyldckat; February 7, 2016 at 19:30. Reason: updated link |
|
February 7, 2016, 22:38 |
|
#7 | ||
Senior Member
David Long
Join Date: May 2012
Location: Germany
Posts: 104
Rep Power: 14 |
Quote:
Quote:
I could not find any example with "activeBaffleVelocity" BC in tutorials folder, nor in the OpenFOAM forum. It would be great if someone can give some advice on how to use this BC. Can we first use Createbaffles to create the gate, and then apply activeBaffleVelocity BC like this: Code:
Gate { type activeBaffleVelocity; p p; cyclicPatch myCyclic; // change the position orientation -1; openFraction 0.2; openingTime 0.05; maxOpenFractionDelta 0.1; } Last edited by keepfit; February 8, 2016 at 17:12. |
|||
May 5, 2021, 15:25 |
|
#8 |
Senior Member
Join Date: Jul 2019
Posts: 148
Rep Power: 7 |
Hello David,
I am wondering if you figured out a way to solve your problem without dynamic meshing. Thanks. |
|
July 8, 2021, 05:52 |
|
#9 | |
Member
UOCFD
Join Date: Oct 2020
Posts: 40
Rep Power: 6 |
Quote:
Hi Bruno, Can't activePressureForceBaffleVelocity be used with a "normal" mesh, for instance one imported .msh?? |
||
October 22, 2021, 06:45 |
Openfoam dam break with gate lifting velocity
|
#10 |
New Member
Mohamed rozki
Join Date: Feb 2021
Posts: 5
Rep Power: 5 |
Hi foamers,
Did anyone managed to do a dam-break in openFoam and controling the gate velocity lifting ? |
|
Tags |
dam-break, valve simulation, vof method |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[DesignModeler] DesignModeler Scripting: How to get Full Command Access | ANT | ANSYS Meshing & Geometry | 53 | February 16, 2020 16:13 |
Dam break simulation water level decreases over time | aarratia | FLUENT | 1 | May 9, 2014 11:25 |
3D dam break modeling(earthen dam) | yasharif | FLUENT | 0 | December 11, 2011 02:25 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
BFC for Dam break problem | Mehdi BEN ELHADJ | Phoenics | 0 | January 18, 2001 16:22 |