Description

Usage

The condition requires entries in both the boundary and field files.

Boundary file

<patchName>
{
    type            patch;
    ...
}

Field file

<patchName>
{
    // Mandatory entries
    type            sixDoFRigidBodyDisplacement;

    // Optional entries
    rho             <word>;
    g               <vector>;
    initialPoints   <pointField>;

    // Conditional entries

        // if 'rho rhoInf;'
        rhoInf      <scalar>;

    // Inherited entries
    // sixDoFRigidBodyMotion settings
    ...
}

where:

Property Description Type Required Default
type Type name: sixDoFRigidBodyDisplacement word yes -
rho Name of density field word no rho
g Gravitational acceleration vector no -
initialPoints Initial positions of points on the patch pointField no -
rhoInf Value of density scalar conditional -

The inherited entries are elaborated in:

  • fixedValuePointPatchField.H
  • sixDoFRigidBodyMotion.H

Further information

Tutorial:

Source code:

API:

History:

  • Introduced in version 2.3.0