Creating correct patchField entries for porous baffle
Dear all!
I'm slowly getting to know a little more of OpenFOAM, but there is just SO much^^ I'm still trying to understand how to best simulate a dam break at a lake, a bit similar to this question (https://www.cfd-online.com/Forums/op...technique.html). There, I got the idea of creating the dam as a baffle which then gets more and more porous until it is completely "gone" (I hope something like that's possible). Or can I create a baffle which does dome kind of solidMotion into the ground? I want to show you what I've done so far and I would then like for someone to tell me if I'm on the right track at all. The OpenFoam user guide says that a searchablePlate can be used to create a baffle. I've created the plate using snappyHexMeshDict: Code:
geometry https://ibb.co/VHGbrNt https://drive.google.com/file/d/1o13...usp=drive_link To create a faceZone, I then used topoSetDict like this: Code:
actions Code:
baffles Can any of this lead to me simulating a dam breach?^^ Thank you all! |
I've looked a lot at activeBaffleVelocity, because that seems to be a good way to "move" my dam baffle.
According to the OpenFOAM guide, I should define a velocity boundary condition for my baffle. It could look something like this: Code:
dam In what Dict does this belong? The other boundary conditions are in all the files in the 0 directory, would that be the right place? Under cyclicPatch, I should put the name of the cyclic patch - would that be "dam" in this case, so it recognizes my baffle? |
All times are GMT -4. The time now is 03:41. |