Skip to main content

Crate oxiphysics_fem

Crate oxiphysics_fem 

Source
Expand description

Finite element method for the OxiPhysics engine.

Provides a complete linear elastic FEM pipeline including:

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