Skip to content

pyflightstream.cases.sixdof (provisional)

Generated from the docstrings at build time: every one of the 6 names in the __all__ of pyflightstream.cases.sixdof has an entry below. The names a guide or an example uses come first; the others follow under Advanced.

The 6DOF input a row names by its SIXDOF key (FR-461).

A file inputs/sixdof/d<id>.toml states a body free to move under its loads: the moving families and the body frame, the mass and inertia, gravity, the initial state, which of the six freedoms are free, and the forces applied to it. Every vector key names its frame and its unit, because the solver reads gravity in the REFERENCE system and velocities and forces in the BODY system, and its arguments say neither (the command database's chapter notes).

This module imports only the floor, so the cases package may import it while it loads; the file is read and hashed by :mod:pyflightstream.workspace.sixdof_setup.

Advanced

pyflightstream.cases.sixdof.SIXDOF_FREEDOMS module-attribute

SIXDOF_FREEDOMS: tuple[str, ...] = (
    "u",
    "v",
    "w",
    "p",
    "q",
    "r",
)

pyflightstream.cases.sixdof.SIXDOF_VARIABLE module-attribute

SIXDOF_VARIABLE = 'SIXDOF'

pyflightstream.cases.sixdof.SixDofCustomForce

Bases: _Strict

A force profile read from a staged file (CREATE_NEW_6DOF_CUSTOM_FORCE).

pyflightstream.cases.sixdof.SixDofExternalForce

Bases: _Strict

A force at a body point for a window of time (CREATE_NEW_6DOF_EXTERNAL_FORCE).

pyflightstream.cases.sixdof.SixDofSpec

Bases: _Strict

One body free to move under its loads (FR-1084).

Attributes:

Name Type Description
families list of str

The moving surfaces, by family name.

frame str

The body frame, at the pivot: a frame the run creates.

mass, gravity, initial, free tables

As their classes state.

forces list

The applied forces, in the order written.

symmetry_loads bool

Include the loads on the symmetry boundary (a mirrored half model).

export SixDofExport

Whether the trajectory is exported.

active_lines

active_lines() -> list[str]

Return the six lines of SET_MOTION_6DOF_ACTIVE_VARIABLES, U V W P Q R in order.

pyflightstream.cases.sixdof.SixDofSpringForce

Bases: _Strict

A spring on the body (CREATE_NEW_6DOF_SPRING_FORCE).