Loading...
Searching...
No Matches
Foam::lumpedPointTools Namespace Reference

A collection of utility functions for handling IO related to the lumped-mass movement. More...

Functions

List< lumpedPointStateTuplelumpedPointStates (const dictionary &dict, quaternion::eulerOrder rotOrder=quaternion::eulerOrder::ZXZ, bool degrees=false)
 Load a list of states from a dictionary.
List< lumpedPointStateTuplelumpedPointStates (Istream &is, quaternion::eulerOrder rotOrder=quaternion::eulerOrder::ZXZ, bool degrees=false)
 Load a list of states from an Istream.
List< lumpedPointStateTuplelumpedPointStates (const fileName &file, quaternion::eulerOrder rotOrder=quaternion::eulerOrder::ZXZ, bool degrees=false)
 Load a list of states from a file.
pointIOField points0Field (const polyMesh &mesh)
 Return the 0 or constant points field.
labelList lumpedPointPatchList (const pointVectorField &pvf)
 Return the patch-ids associated with a "lumpedPointDisplacement" type.
labelList lumpedPointPatchList (const polyMesh &mesh)
 Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type.
label setPatchControls (const pointVectorField &pvf, const pointField &points0)
 Return the patch-ids associated with a "lumpedPointDisplacement" type.
label setPatchControls (const fvMesh &mesh, const pointField &points0)
 Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type.
label setPatchControls (const fvMesh &mesh)
 Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type.
label setInterpolators (const pointVectorField &pvf, const pointField &points0)
 Return the patch-ids associated with a "lumpedPointDisplacement" type.
label setInterpolators (const fvMesh &mesh, const pointField &points0)
 Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type.
label setInterpolators (const fvMesh &mesh)
 Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type.

Detailed Description

A collection of utility functions for handling IO related to the lumped-mass movement.

Source files

Function Documentation

◆ lumpedPointStates() [1/3]

Foam::List< Foam::lumpedPointStateTuple > lumpedPointStates ( const dictionary & dict,
quaternion::eulerOrder rotOrder = quaternion::eulerOrder::ZXZ,
bool degrees = false )

Load a list of states from a dictionary.

Definition at line 69 of file lumpedPointTools.C.

References dict, quaternion::eulerOrderNames, Foam::Info, and UList< T >::size().

Referenced by lumpedPointStates(), and lumpedPointStates().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lumpedPointStates() [2/3]

Foam::List< Foam::lumpedPointStateTuple > lumpedPointStates ( Istream & is,
quaternion::eulerOrder rotOrder = quaternion::eulerOrder::ZXZ,
bool degrees = false )

Load a list of states from an Istream.

Definition at line 110 of file lumpedPointTools.C.

References dict, and lumpedPointStates().

Here is the call graph for this function:

◆ lumpedPointStates() [3/3]

Foam::List< Foam::lumpedPointStateTuple > lumpedPointStates ( const fileName & file,
quaternion::eulerOrder rotOrder = quaternion::eulerOrder::ZXZ,
bool degrees = false )

Load a list of states from a file.

Definition at line 123 of file lumpedPointTools.C.

References lumpedPointStates().

Here is the call graph for this function:

◆ points0Field()

Foam::pointIOField points0Field ( const polyMesh & mesh)

Return the 0 or constant points field.

Definition at line 136 of file lumpedPointTools.C.

References mesh, and points0MotionSolver::points0IO().

Referenced by setInterpolators(), and setPatchControls().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lumpedPointPatchList() [1/2]

Foam::labelList lumpedPointPatchList ( const pointVectorField & pvf)

Return the patch-ids associated with a "lumpedPointDisplacement" type.

Definition at line 143 of file lumpedPointTools.C.

References lumpedPointDisplacementPointPatchVectorField::patchIds().

Referenced by lumpedPointPatchList().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lumpedPointPatchList() [2/2]

Foam::labelList lumpedPointPatchList ( const polyMesh & mesh)

Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type.

Definition at line 149 of file lumpedPointTools.C.

References Foam::endl(), IOobjectList::findObject(), Foam::Info, Foam::loadPointField(), lumpedPointPatchList(), and mesh.

Here is the call graph for this function:

◆ setPatchControls() [1/3]

Foam::label setPatchControls ( const pointVectorField & pvf,
const pointField & points0 )

Return the patch-ids associated with a "lumpedPointDisplacement" type.

Definition at line 176 of file lumpedPointTools.C.

References points0(), and lumpedPointDisplacementPointPatchVectorField::setPatchControls().

Referenced by setPatchControls(), and setPatchControls().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPatchControls() [2/3]

Foam::label setPatchControls ( const fvMesh & mesh,
const pointField & points0 )

Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type.

Definition at line 191 of file lumpedPointTools.C.

References Foam::endl(), IOobjectList::findObject(), Foam::Info, Foam::loadPointField(), mesh, points0(), and setPatchControls().

Here is the call graph for this function:

◆ setPatchControls() [3/3]

Foam::label setPatchControls ( const fvMesh & mesh)

Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type.

Definition at line 218 of file lumpedPointTools.C.

References mesh, points0(), points0Field(), and setPatchControls().

Here is the call graph for this function:

◆ setInterpolators() [1/3]

Foam::label setInterpolators ( const pointVectorField & pvf,
const pointField & points0 )

Return the patch-ids associated with a "lumpedPointDisplacement" type.

Definition at line 229 of file lumpedPointTools.C.

References points0(), and lumpedPointDisplacementPointPatchVectorField::setInterpolators().

Referenced by setInterpolators(), and setInterpolators().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setInterpolators() [2/3]

Foam::label setInterpolators ( const fvMesh & mesh,
const pointField & points0 )

Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type.

Definition at line 244 of file lumpedPointTools.C.

References Foam::endl(), IOobjectList::findObject(), Foam::Info, Foam::loadPointField(), mesh, points0(), and setInterpolators().

Here is the call graph for this function:

◆ setInterpolators() [3/3]

Foam::label setInterpolators ( const fvMesh & mesh)

Get the "pointDisplacement" at time 0 and use that to determine which patches have a "lumpedPointDisplacement" type.

Definition at line 271 of file lumpedPointTools.C.

References mesh, points0(), points0Field(), and setInterpolators().

Here is the call graph for this function: