CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Meshing & Mesh Conversion (
-   -   Dynamic Mesh 2D two element airfoil (

maero21 October 18, 2013 06:52

Dynamic Mesh 2D two element airfoil
5 Attachment(s)
Dear OpenFoam users,

I am trying to simulate a two element wing in 2D where the second element flaps open (like the DRS in Formula 1). However, while running moveDynamicMesh after a couple of time steps it stops because the cells are getting deformed to heavily (see pictures) and the cell at the trailing edge completely collapses into itself. I eventually want to run pimpleDymFoam, but I am testing the mesh now with just MoveDynamicMesh because otherwise the running will take very long before I can see whether the mesh works or not.

Is there any way I can fix this? I already tried with different mesh sizes, but the smaller the cells, the sooner this collapsing happens?

I have attached four pictures and my dynamicmeshdict file.

The mesh was generated with pointwise. Would it be possible to just "manually" (using a Pointwise script) generate say 20 meshes for different time steps and then use mapfields or some other utility in openfoam?


maero21 October 18, 2013 06:53

3 Attachment(s)
Also my controlDict and pointDisplacement are attached.

deepsterblue October 18, 2013 08:14

You probably need to re-mesh. Search for dynamicTopoFvMesh on the forums.

maero21 October 18, 2013 09:57

Dear Mr Menon,

Thank you for your reply! So what you are saying is that I should change my dynamicFvMesh class in dynamicMeshDict from dynamicMotionSolverFvMesh to dynamicTopoFvMesh? But is dynamicTopoFvMesh included in OpenFoam 2.1.1? Because when I try to run, I get that the only valid dynamicFvMesh types are:


Should I get that class from github and recompile my openfoam installation?

deepsterblue October 18, 2013 10:04

Yes, you will need to fetch the sources from my github repository and compile them. You won't have to recompile OpenFOAM itself.

levka November 21, 2013 10:38

moving mesh and periodic BC
hi guys,
i am trying to apply cyclic BC to the domain with mesh motion and can not succeed.
Mesh solver (Laplaciancomponent or Displacement) works wonderful with the same domain but when inlet and outlet are some fixed values or zero gradients. But when i change them to cyclic with help of CreatePatch utility mesh solver starts working not corrected. I explain correct - when only object inside domain moves; non correct - when whole domain moves...

Any hit is much appreciated

ami August 21, 2015 16:01

Dear Maero21,

I understand that you posted this long time ago, but I am just wondering what solution you came up with. I am facing the eaxct same problem.

Thank you.

All times are GMT -4. The time now is 19:46.