Expand description
Finite element method for the OxiPhysics engine.
Provides a complete linear elastic FEM pipeline including:
- Sparse matrix types (
sparse::CsrMatrix,sparse::SparseVector) - Mesh representation (
mesh::TetrahedralMesh) with beam generation - Element formulation (
element::LinearTetrahedron) for 4-node tetrahedra - Constitutive models (
constitutive::LinearElasticMaterial) - Assembly of global stiffness and load vectors
- Boundary conditions (Dirichlet and Neumann)
- Iterative solvers (CG, preconditioned CG)
- Static analysis driver (
analysis::LinearStaticAnalysis)
Re-exports§
pub use parallel_solver::CsrMatrix as ParCsrMatrix;pub use parallel_solver::GmresWithAmg;pub use parallel_solver::ParallelAssembler;pub use parallel_solver::ParallelGmresSolver;pub use parallel_solver::ParallelPcgSolver;pub use parallel_solver::PcgWithAmg;pub use parallel_solver::PcgWithPrecond;pub use perf_bench::BenchHarness;pub use perf_bench::BenchReport;pub use perf_bench::BenchResult;pub use perf_bench::SuiteConfig;pub use perf_bench::banded_csr;pub use perf_bench::bench_assembly;pub use perf_bench::bench_element_stiffness;pub use perf_bench::bench_gmres;pub use perf_bench::bench_pcg;pub use perf_bench::bench_spmv;pub use perf_bench::bench_spmv_parallel;pub use perf_bench::run_full_suite;pub use perf_bench::run_suite;pub use perf_bench::tridiagonal_csr;pub use damage::CoupledDamagePlasticity;pub use damage::CrackBandModel;pub use damage::DamageBandLocalization;pub use damage::DamageCreepCoupling;pub use damage::DamageEvolutionLaw;pub use damage::DamageHomogenization;pub use damage::DamageLawType;pub use damage::DamageMechanicsElement;pub use damage::DamagePlasticityState;pub use damage::DamageRateLimiter;pub use damage::DamageState;pub use damage::DamageVisualization;pub use damage::ElementDeletionManager;pub use damage::FailureMode;pub use damage::FatigueDamageModel;pub use damage::GursonModel;pub use damage::IsotropicDamage;pub use damage::LemaitreCDM;pub use damage::LemaitreChabocheDamage;pub use damage::LemaitreDamage;pub use damage::MazarsDamage;pub use damage::NonLocalDamage;pub use damage::NonlocalContinuumDamage;pub use damage::ScalarIsotropicDamage;pub use damage::ThermalDamage;pub use modal::ModalResult;pub use modal::inverse_iteration;pub use nonlinear::ArcLengthControl;pub use nonlinear::ConvergenceCriteria;pub use nonlinear::NrResult;pub use nonlinear::newton_raphson;pub use electromechanics::*;pub use homogenization::*;pub use nonlinear_solver::*;
Modules§
- adaptive_
fem - Adaptive FEM: a posteriori error estimation and mesh refinement.
- adaptive_
mesh - Auto-generated module structure
- additive_
manufacturing_ fem - Additive manufacturing FEM module.
- analysis
- Static, modal, and dynamic FEM analysis drivers.
- assembly
- Global stiffness matrix and load vector assembly.
- beam_
fem - Beam finite element formulations.
- biomechanics_
fem - Biomechanics FEM: musculoskeletal modeling, cardiac mechanics.
- boundary
- Boundary condition types and application methods.
- boundary_
element - Boundary Element Method (BEM) implementation.
- buckling
- Auto-generated module structure
- cohesive
- Auto-generated module structure
- composite_
fem - Composite material FEM using Classical Lamination Theory (CLT).
- constitutive
- Constitutive (material) models for finite element analysis.
- contact
- Auto-generated module structure
- contact_
fem - Auto-generated module structure
- contact_
mech - Auto-generated module structure
- contact_
mechanics - Extended contact mechanics: Hertz sphere/cylinder variants, JKR/DMT adhesion, loading/unloading hysteresis, Greenwood-Williamson rough surface contact, and flash temperature (Jaeger’s formula).
- coupled_
fem - Auto-generated module structure
- coupled_
physics_ fem - Coupled multi-physics FEM: thermo-mechanical, thermo-electric, electro-magnetic, chemo-mechanical, hydro-mechanical, and staggered / monolithic coupled solvers with Aitken relaxation.
- crystal_
plasticity - Crystal plasticity FEM: slip systems, dislocation density, texture evolution.
- damage
- Auto-generated module structure
- damage_
mechanics - Continuum damage mechanics for FEM: CDM, Lemaitre, Gurson-Tvergaard-Needleman.
- discontinuous_
galerkin - Discontinuous Galerkin finite element method.
- dynamic
- Auto-generated module structure
- dynamics
- Time-domain structural dynamics using Rayleigh damping and Newmark-β / Central Difference methods.
- eigen
- Auto-generated module structure
- eigenvalue
- Eigenvalue analysis for FEM structural dynamics.
- electrochemical_
fem - Electrochemical FEM formulations.
- electromagnetic
- Electromagnetic FEM — eddy currents and Maxwell’s equations.
- electromechanics
- Auto-generated module structure
- element
- Finite element formulations: linear tetrahedron, trilinear hexahedron, serendipity elements, Jacobian computation, element quality metrics, and stress recovery (nodal averaging).
- error_
estimation - FEM error estimation and adaptive mesh refinement.
- error_
estimator - A posteriori error estimation for adaptive FEM.
- explicit_
fem - Auto-generated module structure
- fatigue_
fem - Fatigue analysis finite element module.
- fluid_
fem - Fluid FEM and stabilized methods.
- fluid_
structure - Fluid-structure interaction (FSI) for the FEM crate.
- fracture
- Auto-generated module structure
- geomechanics_
fem - Geomechanics FEM — Biot consolidation and soil mechanics.
- homogenization
- Computational homogenization for multiscale materials.
- hyperelastic
- Auto-generated module structure
- inverse_
problems - Inverse problems and parameter identification for the FEM crate.
- isogeometric
- Auto-generated module structure
- isogeometric_
fem - Isogeometric Analysis (IGA) with NURBS-based FEM.
- lbm_
coupling - FEM-LBM coupling module using the Immersed Boundary Method (IBM).
- level_
set - Level-set methods for FEM interface tracking.
- mesh
- Mesh types for finite element analysis.
- meshfree_
fem - Auto-generated module structure
- meshless
- Meshless / meshfree methods module.
- mixed_
elements - Mixed finite elements for incompressible problems.
- modal
- Modal analysis: natural frequencies and mode shapes.
- multiphysics_
fem - Coupled multiphysics FEM module.
- multiscale
- Multiscale FEM (FE²) and homogenization methods.
- multiscale_
fem - Multiscale FEM methods including FE² and homogenization.
- nonlinear
- Auto-generated module structure
- nonlinear_
dynamics - Nonlinear structural dynamics: Duffing oscillator, Lyapunov exponents, Poincaré sections, bifurcation diagrams, nonlinear FEM with Newton–Raphson, and classical discrete maps (logistic, Hénon).
- nonlinear_
fem - Nonlinear FEM: geometric nonlinearity (total/updated Lagrangian), material nonlinearity (J2 plasticity return mapping), Newton-Raphson with line search, arc-length method (Riks), load stepping, consistent tangent moduli, large deformation kinematics (F, B, C tensors), volumetric locking prevention (F-bar, B-bar), enhanced assumed strain, and mixed formulations.
- nonlinear_
solver - Nonlinear FEM solvers: Newton-Raphson, line search, arc-length (Riks), modified Newton, quasi-Newton (BFGS), and convergence criteria.
- optimization_
fem - FEM-based structural topology and shape optimization.
- parallel_
solver - Parallel sparse solver using Rayon for multi-threaded finite-element assembly.
- perf_
bench - Performance benchmark utilities for the OxiPhysics FEM crate.
- piezo
- Auto-generated module structure
- poromechanics
- Poromechanics and Biot’s consolidation theory.
- probabilistic_
fem - Auto-generated module structure
- reduced_
order - Reduced Order Modeling (ROM) for FEM.
- reduced_
order_ fem - Reduced-order FEM: POD, Galerkin projection, DEIM, greedy RB, balanced truncation, Petrov-Galerkin, manifold interpolation, error estimation, and online/offline decomposition for parametric ROMs.
- reliability
- Structural reliability analysis.
- reliability_
fem - Auto-generated module structure
- shell
- Auto-generated module structure
- shell_
fem - Shell finite element formulations.
- soil_
fem - Soil finite element module for geotechnical analysis.
- solvers
- Auto-generated module structure
- sparse
- Auto-generated module structure
- spectral_
fem - Auto-generated module structure
- stochastic_
fem - Auto-generated module structure
- thermal
- Auto-generated module structure
- thermal_
fem - Thermal FEM for 3-D tetrahedral elements.
- thermal_
stress - Thermoelastic stress analysis.
- topology_
opt - Auto-generated module structure
- topology_
opt_ fem - FEM-based topology optimization using SIMP and level-set methods.
- topology_
optimization - Extended topology optimization: SIMP update rule, optimality criteria, sensitivity filtering, Heaviside projection, volume constraint enforcement, checkerboard suppression, continuation, compliance gradient, and multi-load-case optimization.
- topology_
optimization_ ext - Extended topology optimization FEM.
- truss_
frame - Truss and frame finite element analysis.
- viscoelastic_
fem - Auto-generated module structure
- wave_
propagation - Elastic wave propagation using the finite element method.
- xfem
- Auto-generated module structure
Enums§
- Error
- Main error type for the fem module
Traits§
- FemSolver
- Trait for finite element solvers.
Type Aliases§
- Result
- Result type alias