Skip to main content

Module fem_api

Module fem_api 

Source
Expand description

Finite Element Method (FEM) simulation API for Python interop.

Provides a standalone structural mechanics FEM solver supporting:

  • Linear elastic 2-D triangular elements (CST - Constant Strain Triangle)
  • Assembly of global stiffness matrix
  • Dirichlet boundary conditions (fixed DOFs)
  • Nodal load vectors
  • Conjugate Gradient iterative solver
  • Displacement, stress, and strain output

Structsยง

ModalAnalysisResult
Result of a modal analysis.
ModalAnalyzer
Simple power-iteration modal analyzer (extracts the dominant modes of K).
PyFemDirichletBC
A Dirichlet (fixed DOF) boundary condition.
PyFemElement
A triangular (CST) element defined by three node indices.
PyFemMaterial
Linear elastic isotropic material properties.
PyFemMesh
A 2-D FEM mesh with nodes, elements, materials, and boundary conditions.
PyFemNodalForce
A Neumann (nodal force) boundary condition.
PyFemNode
A single node in the FEM mesh.
PyFemSolveResult
Result of a FEM linear static solve.
PyFemSolver
Linear static FEM solver for 2-D plane-stress problems.