Skip to content
Get started

eqiora.solid

← Python API index

Configure linear elasticity and inspect structural results.

View source

Example: read forces after an elastic solve

Section titled “Example: read forces after an elastic solve”

Continue with the linear-elasticity result from modeling:

python
from eqiora.solid import linear_elasticity_evidence
forces = linear_elasticity_evidence(result)
print(forces.integrated_body_force)
print(forces.constrained_reaction)

Each pair gives the x and y components, using the model’s two-dimensional force convention. For a static body loaded only by a body force, the reaction at the constraints balances the integrated body force.

Linear-elasticity quantities extracted from a structural Result.

python
@final
class LinearElasticityEvidence:
@property
def plan_key(self) -> str: ...
@property
def constrained_reaction(self) -> tuple[float, float]: ...
@property
def integrated_body_force(self) -> tuple[float, float]: ...
@property
def assembly_packets(self) -> int: ...
@property
def assembly_targets(self) -> int: ...
@property
def solve(self) -> LinearSolveSummary: ...
@property
def exact_bounds(self) -> tuple[tuple[float, float], tuple[float, float]]: ...

Extract linear-elasticity quantities from a structural Result.

python
def linear_elasticity_evidence(result: Result, /) -> LinearElasticityEvidence: ...