FrictionQPotFEM 0.23.3
Loading...
Searching...
No Matches
FrictionQPotFEM Namespace Reference

Friction simulations based on a disorder potential energy landscape and the finite element method. More...

Namespaces

namespace  array_type
 Container type.
 
namespace  Generic2d
 Generic system of elastic and plastic elements.
 
namespace  UniformMultiLayerIndividualDrive2d
 System in 2-d with:
 
namespace  UniformMultiLayerLeverDrive2d
 System in 2-d with:
 
namespace  UniformSingleLayer2d
 System in 2-d with:
 
namespace  UniformSingleLayerThermal2d
 System in 2-d with:
 

Functions

std::string version ()
 Return version string, e.g. More...
 
array_type::tensor< double, 3 > epsy_initelastic_toquad (const array_type::tensor< double, 2 > &arg, size_t nip=GooseFEM::Element::Quad4::Gauss::nip())
 Convert array of yield strains stored per element [nelem, n]: More...
 
array_type::tensor< double, 2 > moduli_toquad (const array_type::tensor< double, 1 > &arg, size_t nip=GooseFEM::Element::Quad4::Gauss::nip())
 Broadcast array of moduli stored per element [nelem] to be the same for all quadrature points, converting the shape to [nelem, nip]. More...
 
template<class T >
T::value_type getuniform (const T &arg)
 Extract uniform value (throw if not uniform): More...
 

Detailed Description

Friction simulations based on a disorder potential energy landscape and the finite element method.

Function Documentation

◆ epsy_initelastic_toquad()

array_type::tensor< double, 3 > FrictionQPotFEM::epsy_initelastic_toquad ( const array_type::tensor< double, 2 > &  arg,
size_t  nip = GooseFEM::Element::Quad4::Gauss::nip() 
)
inline

Convert array of yield strains stored per element [nelem, n]:

  1. Pre-prepend elastic: epsy[e, :] -> [-epsy[e, 0], epsy[e, :]]
  2. Broadcast to be the same for all quadrature points, converting the shape to [nelem, nip, n].
Parameters
argYield strains per element.
nipNumber of integration points.
Returns
Broadcast yield strains.

Definition at line 77 of file Generic2d.h.

◆ getuniform()

template<class T >
T::value_type FrictionQPotFEM::getuniform ( const T &  arg)
inline

Extract uniform value (throw if not uniform):

  • If all(arg[0] == arg) return arg[0].
  • Otherwise throw.
Parameters
argValues.
Returns
Uniform value.

Definition at line 126 of file Generic2d.h.

◆ moduli_toquad()

array_type::tensor< double, 2 > FrictionQPotFEM::moduli_toquad ( const array_type::tensor< double, 1 > &  arg,
size_t  nip = GooseFEM::Element::Quad4::Gauss::nip() 
)
inline

Broadcast array of moduli stored per element [nelem] to be the same for all quadrature points, converting the shape to [nelem, nip].

Parameters
argModuli per element.
nipNumber of integration points.
Returns
Broadcast moduli.

Definition at line 101 of file Generic2d.h.

◆ version()

std::string FrictionQPotFEM::version ( )
inline

Return version string, e.g.

"0.8.0"

Returns
Version string.

Definition at line 181 of file config.h.