- **OpenFOAM Running, Solving & CFD**
(*https://www.cfd-online.com/Forums/openfoam-solving/*)

- - **interDyMFoam for 2D cases**
(*https://www.cfd-online.com/Forums/openfoam-solving/84314-interdymfoam-2d-cases.html*)

interDyMFoam for 2D casesDear FOAMers:
I am very pleased about the capabilities of the interDyMFoam solver released with version 1.7.x! Deriving the floatingObject tutorial i want to simulate 2D cases, which should be performed w/o any major difficulties. But i am stuck setting values in the pointDisplacement file as initial condition. The quantities of the needed values are related to 3D, like mass, moments of inertia, etc. What is to do when i have a 2D mesh (with one cell in the third cartesian direction, patch type empty as supposed to)? Thanks in advance for helpful clues! /Stefan |

Since you have a 3D mesh, so you have an extrusion distance that you have to scale these 2D values by.
Eg, for Drag(2D) = Drag(3d)/L, scaled by L. (Watch Units.) |

Thanks,
your explanation make sense indeed, but practically scaling the values within the pointDisplacement dict by extrusion length L yields no success. Did you run simulations of e.g. an 2D airfoil with mesh motion technique, because you mentioned drag? /Stefan |

I actually had that problem with the forces function. Hence drag.
On mesh motions, I've used more solidBodyMotionFunctions, which are defined a little differently. If you're using the sixDoFRigidBodyDisplacement function from the floating object tutorial for a 2D mesh, you may need constraints, but that's something I've never worked with. In solidBodyMotionFunctions there's a 3DoF and a 6Dof model. |

All times are GMT -4. The time now is 08:06. |