hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Public Attributes | List of all members
hpfem::physics::ElasticitySetup< Dim > Struct Template Reference

Description of the elasticity problem. More...

#include <elasticity.hpp>

Collaboration diagram for hpfem::physics::ElasticitySetup< Dim >:
Collaboration graph
[legend]

Public Attributes

ElasticMaterial background
 material of unlisted cell tags
 
std::map< mesh::Tag, ElasticMaterial > materials
 material by cell tag
 
std::vector< DisplacementCondition< Dim > > displacements
 
std::vector< TractionCondition< Dim > > tractions
 
DisplacementField< Dim > body_force
 
std::function< assembly::ComplexTensor< Dim >(const Point< Dim > &)> eigenstrain
 
std::function< Real(const Point< Dim > &)> shrinkage
 
Vector temperature
 
Real reference_temperature = 0
 T₀ [K].
 
Real background_expansion = 0
 α [1/K] of unlisted cell tags
 
std::map< mesh::Tag, Real > thermal_expansion
 
bool remove_rigid_modes = false
 
bool axisymmetric = false
 
mesh::Tag axis_tag = mesh::kNoTag
 facets on the axis r = 0 (axisymmetric)
 
std::function< Real(const Point< Dim > &)> hoop_eigenstrain
 ε*_θθ(x) (axisymmetric)
 
bool static_condensation = false
 condense the interior DoFs of all components
 
solvers::DirectSolverBackend solver = solvers::DirectSolverBackend::kAuto
 
int extra_quadrature_order = 2
 added to 2p (non-polynomial data, curved cells)
 

Detailed Description

template<int Dim>
struct hpfem::physics::ElasticitySetup< Dim >

Description of the elasticity problem.

Member Data Documentation

◆ axis_tag

template<int Dim>
mesh::Tag hpfem::physics::ElasticitySetup< Dim >::axis_tag = mesh::kNoTag

facets on the axis r = 0 (axisymmetric)

◆ axisymmetric

template<int Dim>
bool hpfem::physics::ElasticitySetup< Dim >::axisymmetric = false

A body of revolution (Dim = 2 only, ADR-0016 S5): the mesh is the meridian half-plane x = r ≥ 0, y = z, component 0 is u_r and 1 is u_z (no torsion, azimuthal order 0); the hoop strain u_r / r enters, the integrals carry the weight r (the factor 2π dropped: energies and loads per radian), u_r = 0 is imposed on the facets with axis_tag, and the only rigid-body mode is the translation along z. The eigenstrains of shrinkage and the temperature are isotropic (hoop included); that of eigenstrain takes its hoop part from hoop_eigenstrain.

◆ background

template<int Dim>
ElasticMaterial hpfem::physics::ElasticitySetup< Dim >::background

material of unlisted cell tags

◆ background_expansion

template<int Dim>
Real hpfem::physics::ElasticitySetup< Dim >::background_expansion = 0

α [1/K] of unlisted cell tags

◆ body_force

template<int Dim>
DisplacementField<Dim> hpfem::physics::ElasticitySetup< Dim >::body_force

f [N/m³]; empty means zero

◆ displacements

template<int Dim>
std::vector<DisplacementCondition<Dim> > hpfem::physics::ElasticitySetup< Dim >::displacements

◆ eigenstrain

template<int Dim>
std::function<assembly::ComplexTensor<Dim>(const Point<Dim>&)> hpfem::physics::ElasticitySetup< Dim >::eigenstrain

Eigenstrain ε*(x) (symmetric); empty means zero. The eigenstrains of eigenstrain, shrinkage and the temperature add up.

◆ extra_quadrature_order

template<int Dim>
int hpfem::physics::ElasticitySetup< Dim >::extra_quadrature_order = 2

added to 2p (non-polynomial data, curved cells)

◆ hoop_eigenstrain

template<int Dim>
std::function<Real(const Point<Dim>&)> hpfem::physics::ElasticitySetup< Dim >::hoop_eigenstrain

ε*_θθ(x) (axisymmetric)

◆ materials

template<int Dim>
std::map<mesh::Tag, ElasticMaterial> hpfem::physics::ElasticitySetup< Dim >::materials

material by cell tag

◆ reference_temperature

template<int Dim>
Real hpfem::physics::ElasticitySetup< Dim >::reference_temperature = 0

T₀ [K].

◆ remove_rigid_modes

template<int Dim>
bool hpfem::physics::ElasticitySetup< Dim >::remove_rigid_modes = false

A free body: the rigid-body modes are fixed by six (2D: three) DoFs at three far-apart vertices (the 3-2-1 rule) and removed afterwards by the L2 projection onto them, so that the solution has zero mean translation and rotation (ADR-0016 §4a). Requires loads in equilibrium (eigenstrains always are) and no displacement conditions.

◆ shrinkage

template<int Dim>
std::function<Real(const Point<Dim>&)> hpfem::physics::ElasticitySetup< Dim >::shrinkage

Isotropic shrinkage s(x), the eigenstrain −s I (a printed resin: s from the degree of polymerisation, e.g. a GridField of a data port); empty means zero.

◆ solver

◆ static_condensation

template<int Dim>
bool hpfem::physics::ElasticitySetup< Dim >::static_condensation = false

condense the interior DoFs of all components

◆ temperature

template<int Dim>
Vector hpfem::physics::ElasticitySetup< Dim >::temperature

Temperature coefficients on the scalar dofs (e.g. Thermal::solve on the same map) for the thermal strain α (T − T₀) I; empty means none.

◆ thermal_expansion

template<int Dim>
std::map<mesh::Tag, Real> hpfem::physics::ElasticitySetup< Dim >::thermal_expansion

α [1/K] by cell tag

◆ tractions

template<int Dim>
std::vector<TractionCondition<Dim> > hpfem::physics::ElasticitySetup< Dim >::tractions

The documentation for this struct was generated from the following file: