CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Topology Change Tutorial (

Soheyl August 7, 2012 16:48

Topology Change Tutorial
1 Attachment(s)
I'm trying to model the flow between two objects that are passing each other. In the figure, the two squares move horizontally towards each other and then continue on their way. I want mesh layers to be added behind the moving blocks, so I believe this would be a dynamic mesh case with changing topology. Is it possible to model this using OF 2.1.1, and if so, is there any tutorials that I can use? I've gone through the pimpleDymFoam tutorials, but I believe there is not any tutorial with topology change.

wyldckat August 7, 2012 19:15

Greetings Soheyl,

For interDyMFoam you can find this very nice looking one: "multiphase/interDyMFoam/ras/damBreakWithObstacle"
Although the problem here is that it uses local refinement based on the interface field...

Best regards,

mturcios777 August 7, 2012 19:42

Layer addition removal works in 1.6-ext, you can try the movingCone tutorial in $FOAM_TUTORIALS/incompressible/icoDyMFoam/movingConeTopo. If you want these two objects passing each other, you will need some kind of interface between their "tracks". Have a look at this report:

You can't really separate dynamic meshes and programming in OpenFOAM, so good luck!

All times are GMT -4. The time now is 12:43.