|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Wilhelm Furian
Join Date: Apr 2023
Location: Berlin
Posts: 16
Rep Power: 4 ![]() |
Hi everyone!
I want to connect a static mesh (a digital elevation model of a lake) and a dynamic mesh (the dam in front of the lake). I want to gradually lower the dam to simulate a breach using interfoam. Could I use something like this for the dynamic part? Code:
dynamicFvMesh solidBodyMotionFvMesh;
solidBodyMotionFvMeshCoeffs
{
cellZone lakeDam;
solidBodyMotionFunction linearMotion;
linearMotionCoeffs
{
velocity (1.0 0.0 0.25);
}
}
Thanks a lot! Last edited by Florian Mlehliw; August 8, 2023 at 05:37. Reason: fixed error in code |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,358
Rep Power: 32 ![]() ![]() |
Hello Florian,
You might want to have a look at this, it seems to be pretty close to what you are trying to achieve: https://www.youtube.com/watch?v=DoAwPhJ1nzU Full case by Nicolás Diego Badano on github, ready to run on v2112: https://github.com/nicolasbadano/WeirWithMovingGate Cheers, Yann |
|
|
|
|
|
![]() |
| Tags |
| interfoam, openfoam 2112, solidbodymotionfvmesh |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Does CX_Interpret_String work in parallel? | 86lolo | Fluent UDF and Scheme Programming | 2 | June 30, 2014 05:36 |
| Companies that lease software & hardware for cloud-based work? | Catthan | ANSYS | 0 | June 18, 2014 11:53 |
| Do all CFD analysts have to do some hands-on work except PhDs? | e13drd | Main CFD Forum | 2 | March 17, 2014 15:56 |
| Why do the Plant library cases don't work? | Alumna | Phoenics | 6 | June 22, 2004 13:08 |
| why my In-Form doesn't work? | green | Phoenics | 2 | May 27, 2004 22:03 |