CircularSection

class compas_fea2.model.CircularSection[source]

Bases: _Section1D

Solid circular cross-section for beam elements.

Parameters:
rfloat

Radius.

materialcompas_fea2.model._Material

The section material.

**kwargsdict, optional

Additional keyword arguments.

Attributes:
rfloat

Radius.

Afloat

Cross section area.

Ixxfloat

Inertia with respect to XX axis.

Iyyfloat

Inertia with respect to YY axis.

Ixyfloat

Inertia with respect to XY axis.

Avxfloat

Shear area along x.

Avyfloat

Shear area along y.

Jfloat

Torsion modulus.

g0float

Warping constant.

gwfloat

Warping constant.

materialcompas_fea2.model._Material

The section material.

Inherited Methods

ToString

Converts the instance to a string.

compute_neutral_axis

Compute the neutral axis slope and intercept for the section.

compute_stress

Compute normal and shear stresses at a given point.

compute_stress_distribution

Compute stress distribution over the section.

copy

Make an independent copy of the data object.

from_json

Construct an object of this type from a JSON file.

from_jsonstring

Construct an object of this type from a JSON string.

from_shape

plot

plot_section_with_stress

Plot the section and overlay the stress distribution along a general direction.

plot_stress_distribution

Visualize normal stress (σ) and optionally shear stresses (τ_x, τ_y) with the neutral axis.

sha256

Compute a hash of the data for comparison during version control using the sha256 algorithm.

to_json

Convert an object to its native data representation and save it to a JSON file.

to_jsonstring

Convert an object to its native data representation and save it to a JSON string.

validate_data

Validate the data against the object's data schema.