Skip to main content

sixDoFRigidBodyDisplacement

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:

PropertyDescriptionTypeRequiredDefault
typeType name: sixDoFRigidBodyDisplacementwordyes-
rhoName of density fieldwordnorho
gGravitational accelerationvectorno-
initialPointsInitial positions of points on the patchpointFieldno-
rhoInfValue of densityscalarconditional-

The inherited entries are elaborated in:

  • fixedValuePointPatchField.H
  • sixDoFRigidBodyMotion.H

Further information

Tutorial:

Source code:

API:

History: Introduced in version 2.3.0