model

This package provides the core data structures of COMPAS FEA2, enabling the definition and construction of finite element models. It includes classes for models, parts, nodes, elements, materials, sections, boundary conditions, loads, constraints, releases, and groups.

Model

Model

Class representing an FEA model.

Parts

Part

Deformable part.Base class for Parts.

RigidPart

Rigid part.Base class for Parts.

Nodes

Node

Class representing a Node object.

Elements

BeamElement

A 1D element that resists axial, shear, bending and torsion.

HexahedronElement

A Solid cuboid element with 6 faces (extruded rectangle).

MassElement

A 0D element for concentrated point mass.

MembraneElement

A shell element that resists only axial loads.

ShellElement

A 2D element that resists axial, shear, bending and torsion.

SpringElement

A 0D spring element.

StrutElement

A truss element that resists axial compressive loads.

TieElement

A truss element that resists axial tensile loads.

TetrahedronElement

A Solid element with 4 or 10 nodes.

TrussElement

A 1D element that resists axial loads.

Releases

BeamEndPinRelease

Assign a pin end release to a compas_fea2.model.BeamElement.

BeamEndSliderRelease

Assign a slider end release to a compas_fea2.model.BeamElement.

Constraints

BeamMPC

Beam MPC that constraints axial translations and rotations.

TieConstraint

Tie constraint between two surfaces.

TieMPC

Tie MPC that constraints axial translations (e.g., along the length of the member).

Materials

Concrete

Elastic and plastic-cracking Eurocode-based concrete material.

ConcreteDamagedPlasticity

Damaged plasticity isotropic and homogeneous material.

ConcreteSmearedCrack

Elastic and plastic, cracking concrete material.

ElasticIsotropic

Elastic, isotropic and homogeneous material

ElasticOrthotropic

Elastic, orthotropic and homogeneous material

ElasticPlastic

Elastic and plastic, isotropic and homogeneous material.

Steel

Bi-linear steel with given yield stress.

Stiff

Elastic, very stiff and massless material.

Timber

Base class for Timber material (elastic orthotropic behaviour).

UserMaterial

User Defined Material.

Sections

AngleSection

Uniform thickness angle cross-section for beam elements.

BoxSection

Hollow rectangular box cross-section for beam elements.

CircularSection

Solid circular cross-section for beam elements.

HexSection

Hexagonal hollow section.

ISection

Equal flanged I-section for beam elements.

MembraneSection

Section for membrane elements.

PipeSection

Hollow circular cross-section for beam elements.

RectangularSection

Solid rectangular cross-section for beam elements.

ShellSection

Section for shell elements.

SolidSection

Section for solid elements.

SpringSection

Section for use with spring elements.

StrutSection

For use with strut elements.

TieSection

For use with tie elements.

TrapezoidalSection

Solid trapezoidal cross-section for beam elements.

TrussSection

For use with truss elements.

Boundary Conditions

ClampBCXX

A pinned nodal displacement boundary condition clamped in XX.

ClampBCYY

A pinned nodal displacement boundary condition clamped in YY.

ClampBCZZ

A pinned nodal displacement boundary condition clamped in ZZ.

FixedBC

A fixed nodal displacement boundary condition.

GeneralBC

Customized boundary condition.

PinnedBC

A pinned nodal displacement boundary condition.

RollerBCX

A pinned nodal displacement boundary condition released in X.

RollerBCXY

A pinned nodal displacement boundary condition released in X and Y.

RollerBCXZ

A pinned nodal displacement boundary condition released in X and Z.

RollerBCY

A pinned nodal displacement boundary condition released in Y.

RollerBCYZ

A pinned nodal displacement boundary condition released in Y and Z.

RollerBCZ

A pinned nodal displacement boundary condition released in Z.

Initial Conditions

InitialStressField

Stress field.

InitialTemperatureField

Field class for fields implementing mechanical boundary conditions.

Groups

ElementsGroup

Base class for elements groups.

FacesGroup

Base class elements faces groups.

NodesGroup

Base class nodes groups.

PartsGroup

Base class for parts groups.

Base Classes

As user, you never interact with the following classes. They define the basic behavior of each component in FEA2.

_BeamEndRelease

Assign a general end release to a compas_fea2.model.BeamElement.

_BoundaryCondition

Base class for all boundary conditions.

_Connector

Base class for connectors.

_Constraint

Base class for constraints.

_Element

Initialises a base Element object.

_Element1D

Element with 1 dimension.

_Element2D

Element with 2 dimensions.Initialises a base Element object.

_Element3D

A 3D element that resists axial, shear, bending and torsion.

_Group

Base class for all groups.

_InitialCondition

Base class for all predefined initial conditions.

_Interaction

Base class for all interactions.

_Material

Basic Material

_Section

Base class for sections.

_Section1D

Base class for 1D sections.

_Section2D

Base class for 2D sections.

_Section3D

Base class for 3D sections.