Skip to content

hertzforge.demo.rc_plate

rc_plate

The BARC's removable component bolted to a fixture plate, a synthetic test system.

The removable component (the two C-channels and the beam, in bricks, as barc.solid_geometry builds it) is bolted at its feet to a 10 x 1 x 10 in 6061-T6 plate, free-free. The plate's top face is where the BARC's box top is, y = 3 in, and the plate is centered under the component, so the component sits at the BARC's own coordinates and its accelerometers are at the same places. The feet are joined to the plate as they are to the box: a rigid mated surface under each bolt's washer, and each bolt's mass at its head.

Twelve forces drive the plate, three at each corner. Each corner's three lines meet at a point INSET in from both side edges at the plate's mid-thickness: one force on the side face normal to x, one on the side face normal to z, both at mid-thickness, and one on the bottom face, each along its face's inward normal. Sixteen triaxial accelerometers sit on the component's top and the channels' outer faces (CONTROLS), each measured in its own frame, +Z the outward normal of its mounting surface.

The channels sit on a test geometry made the way Plan Instrumentation makes one: a node per channel location, the drives from DRIVE_IDS in the global system and the accelerometers from ACCEL_IDS, each in its surface's frame. The test geometry and the channel table are linked as the Basis group. With the modes solved (to SOLVE_TO, each DAMPING of critical), they are projected onto every channel's DOF ('RC Plate Modes @ Test DOFs'), which joins that group: the twelve drives and the 48 accelerometer axes, what a state-space export for a controller's simulation takes.

This is the system the band-average control law study drives (2026-11-10). At barc.SIZE it has 60,903 nodes and 38 modes to 10 kHz, the first elastic one at 418.15 Hz; solving takes a few minutes and about 6 GB.

from hertzforge.demo import rc_plate

rc_plate.project(solved=True).save('rc-plate.hforge')

Run it directly to print the model and its first modes:

python3 -m hertzforge.demo.rc_plate

Functions:

Name Description
draw

Give a test geometry trace lines, an element group per entry of

drives

{label: (point, direction)} for the twelve forces, inches, each along its

solid_geometry

The plate and the removable component as bricks and point masses, joined

node_at

The id of the node of geometry at point, inches.

channels

The test geometry and channel table on model: a node per drive and per

with_drive_points

table with an accelerometer at every drive, on the force's node and

test_geometry

The channel locations as a geometry: nodes ids at the FE nodes

project

A project to open in the app: the plate with the removable component, its

describe

Print the model's size and its first modes elastic frequencies (those

Functions:

draw

draw(geometry: Any, traces: dict[str, list[list[int]]]) -> None

Give a test geometry trace lines, an element group per entry of traces ({name: [line of node ids, ...]}), each in its own color from 1 on, and a point element at every node, in the element group 'Nodes', gray. The app draws elements, not bare nodes, so without them a test geometry shows nothing.

drives

drives() -> dict[str, tuple[tuple[float, float, float], str]]

{label: (point, direction)} for the twelve forces, inches, each along its face's inward normal.

solid_geometry

solid_geometry(size: float = SIZE) -> Any

The plate and the removable component as bricks and point masses, joined at the feet and at the beam as barc.solid_geometry joins them.

Parameters:

Name Type Description Default
size float

The element size aimed at, in inches.

SIZE

Returns:

Type Description
Geometry

node_at

node_at(geometry: Any, point: tuple[float, float, float]) -> int

The id of the node of geometry at point, inches.

channels

channels(model: Any) -> tuple[Any, Any]

The test geometry and channel table on model: a node per drive and per accelerometer, at the FE node there, each accelerometer in its surface's frame; the drives in lbf and the accelerometers in g.

Returns:

Type Description
(Geometry, ChannelTable)

with_drive_points

with_drive_points(table: Any) -> Any

table with an accelerometer at every drive, on the force's node and along its direction, appended after its own channels: what a modal test needs to scale its fitted shapes to unit modal mass.

Returns:

Type Description
ChannelTable

test_geometry

test_geometry(model: Any, ids: list[int], fe_nodes: list[int], frames: list) -> Any

The channel locations as a geometry: nodes ids at the FE nodes fe_nodes of model, each displacing in its own system, or in the global system where frames holds None. Its nodes are numbered apart from the FE model's, so anything that matches the two by node id instead of by position shows up wrong.

Returns:

Type Description
Geometry

project

project(size: float = SIZE, solved: bool = False) -> Any

A project to open in the app: the plate with the removable component, its test geometry and channel table linked as the Basis group.

rc_plate.project(solved=True).save('rc-plate.hforge')

With solved, the modes are solved to SOLVE_TO and projected onto every channel's DOF ('RC Plate Modes @ Test DOFs', in the Basis group). That is the example project the downloads page offers.

Parameters:

Name Type Description Default
size float

The element size aimed at, in inches.

SIZE
solved bool

Solve the modes and project them as well.

False

Returns:

Type Description
Project

describe

describe(size: float = SIZE, modes: int = 10) -> None

Print the model's size and its first modes elastic frequencies (those above 1 Hz).