Skip to content

Region

Physical region in the geometry.

This is the main model that gets used in the simulation, with all shape references resolved to actual shape definitions.

name#

name: str

A unique name for the region.

shape#

shape: Shape

The geometry of the region.

properties#

properties: Any

The properties associated with the region.

The type of the properties is determined by the shape of the region.

mesh_size#

mesh_size: float | None = None

The target mesh size for this region.

This is an optional hint for the meshing process to control the local mesh density. If not provided, a default mesh size will be used.