Skip to content

About

Range FEA Solver library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Range FEA Solver Library

Finite element solver library for Range FEA. Provides physics solvers, linear system solvers, and supporting utilities used by the fea-solver CLI and the GUI application.

Solvers

Each physics solver derives from RSolverGeneric and operates on an RModel from range-model-lib.

Class Physics
RSolverHeat Steady-state and transient heat conduction
RSolverRadiativeHeat Radiative heat transfer (hemicube method)
RSolverFluid Incompressible fluid flow (Navier-Stokes)
RSolverFluidHeat Coupled fluid flow and heat transfer
RSolverFluidParticle Particle transport in fluid
RSolverStress Linear structural stress analysis
RSolverAcoustic Acoustic wave propagation, transient and harmonic
RSolverElectrostatics Electrostatic field analysis
RSolverMagnetostatics Magnetostatic field analysis
RSolverPotential Steady Darcy flow through porous media
RSolverWave General wave equation
RSolverMesh Mesh deformation / moving mesh

The top-level RSolver class owns the solver map and orchestrates multi-physics execution.

Second order elements

RSolverHeat, RSolverStress (static, transient and modal) and RSolverPotential compute with second order elements (R_ELEMENT_TETRA2, R_ELEMENT_TRI2, R_ELEMENT_TRUSS2) using their own shape functions, so they represent quadratic fields exactly. RSolverMesh generates the new mesh with elements of the order the model has.

The other solvers do not support second order elements (RSolverGeneric::supportsSecondOrder() returns false). For them the elements are replaced by first order ones made of their corner nodes while the solver runs: nodes in the middle of edges are left out of the solution, and once it is computed, values of the solver's node variables there are interpolated from both ends of their edge. The model keeps its second order elements, also in written result files, and results of other solvers at those nodes are not changed.

Linear System Solvers

RMatrixSolver wraps iterative solvers for sparse systems assembled by the physics solvers:

  • Conjugate Gradient (CG)
  • Generalized Minimal Residual (GMRES)

RMatrixPreconditioner provides preconditioning, and RMatrixManager handles sparse matrix storage.

REigenValueSolver provides eigenvalue/eigenvector computation for modal analysis.

Supporting Utilities

  • RConvection — convective boundary condition assembly
  • RLocalRotation — local coordinate frame rotations for anisotropic material properties
  • RScales — physical unit scaling factors
  • RIterationInfo / RIterationInfoValue — convergence tracking per iteration
  • RHemiCube / RHemiCubePixel / RHemiCubeSector — hemicube geometry for view-factor computation in radiative heat transfer
  • RSolverSharedData — data shared between coupled solvers across time steps

Dependencies

  • range-base-lib — math primitives, logging, job management
  • range-model-lib — FEA model: elements, nodes, materials, boundary conditions

About

Range FEA Solver library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages