Dam-break with a vertical-lifting gate (without dynamic mesh technique?)
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. https://40.media.tumblr.com/e3420d2a...o1_r1_1280.png 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 |
Quick answer: Without dynamic mesh, then:
|
Maybe activeBaffleVelocity may help you, although I am not sure about it... Here you can find a little bit of information.
Best regards, Alex |
Hi Alex,
Quote:
Either way, a new boundary condition will have to be coded. Best regards, Bruno |
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... |
Quote:
|
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:
|
Hello David,
I am wondering if you figured out a way to solve your problem without dynamic meshing. Thanks. |
Quote:
Hi Bruno, Can't activePressureForceBaffleVelocity be used with a "normal" mesh, for instance one imported .msh?? |
Openfoam dam break with gate lifting velocity
Hi foamers,
Did anyone managed to do a dam-break in openFoam and controling the gate velocity lifting ? :) |
All times are GMT -4. The time now is 11:25. |