cellZoneMotionRotation

Syntax

Defined in couplingProperties dictionary.

meshMotionModel cellZoneMotionRotation;
cellZoneMotionRotation
{
    moveZoneName     word;
    surfaceName      path;
    invariant        Switch;
    centerOfRotation vector;
    omega            vector;
}
  • moveZoneName = name of the cellZone to move

  • surfaceName = path to the STL file

  • invariant = Switch if mesh can move, true means no movement (default: false)

  • centerOfRotation = center point of rotation (default: (0 0 0))

  • omega = vector of angular velocity in rad/s

Examples

meshMotionModel cellZoneMotionRotation;
cellZoneMotionRotationProps
{
    moveZoneName     "circleZone";
    surfaceName      "movingParts/cylinder.stl";
    invariant        false;
    centerOfRotation (0 0 0.04);
    omega            (30 0 0);
}

Description

The cellZoneMotionRotation moves the existing cellZone meshZoneName over the mesh. The motion is calculted using the surface definition from STL file surfaceName.

Note

The cellZone must be created before starting the simulaton using topoSet. The zone should be created directly from the STL file also used as input for this model, e.g. by using source surfaceToCell in topoSetDict.

This model rotates the the cellZone moveZoneName around the center-point centerOfRotation with he angular velocity (in rad/s) defined by the vector omega. Internally a rotational matrix is used, which is built with the order Rx*Ry*Rz.

This model only affects the mesh, but not the CFD-solution. The moving cellZone can, however, be used to move the effect of an fvOptions object over the simulation domain. One example for a use case is a moving a porous zone which can be created using this meshMotionModel.

Restrictions

None.