CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   How to move a body along a circle path in openFOAM? (https://www.cfd-online.com/Forums/main/225411-how-move-body-along-circle-path-openfoam.html)

kila March 26, 2020 04:20

How to move a body along a circle path in openFOAM?
 
I have a big square and a inner small square. The inner small square is moving along a circle path(not rotate around a point). How to do it in OpenFOAM?

In Fluent, I can use DEFINE_CG_MOTION to assign velocity for the inner square as a rigid body at each time step.

In OpenFOAM, I thought topoChangerFvMesh and 6DoFRigidBodyMotionSolver may fulfill my goal. But it looks like that this motion solver can only move object along a line. And it's used to model the influence of flow toward body. My square's motion is known and fixed.

A solidBodyMotionFunction tabulated6DoFMotion can be used to specify displacement at each time step however my moving mesh will have topology change so that mesh motion is not enough.


All times are GMT -4. The time now is 03:52.