tfel
Loading...
Searching...
No Matches
mtest::PipeLinearElement Struct Reference

structure describing a linear element for pipes More...

#include </home/runner/work/tfel/tfel/mtest/include/MTest/PipeLinearElement.hxx>

Static Public Member Functions

static real computeIntegralValue (const PipeMesh &, const tfel::math::vector< real > &)
static real interpolate (const real, const real, const real)
 interpolate nodal value in the element
static void setGaussPointsPositions (StructureCurrentState &, const PipeMesh &)
 set the position of the gauss points
static void computeStrain (StructureCurrentState &, const PipeMesh &, const tfel::math::vector< real > &, const size_t, const bool)
 compute the strain
static std::pair< bool, real > updateStiffnessMatrixAndInnerForces (tfel::math::matrix< real > &, tfel::math::vector< real > &, StructureCurrentState &, const Behaviour &, const tfel::math::vector< real > &, const PipeMesh &, const real, const StiffnessMatrixType, const size_t)

Static Public Attributes

static constexpr real abs_pg = tfel::math::Cste<real>::isqrt3
static constexpr real pg_radii [2] = {-abs_pg, abs_pg}
static constexpr real wg = real(1)

Detailed Description

structure describing a linear element for pipes

Member Function Documentation

◆ computeIntegralValue()

real mtest::PipeLinearElement::computeIntegralValue ( const PipeMesh & ,
const tfel::math::vector< real > &  )
static
Returns
the integral value of the given values at integration points.
Parameters
[in]mmesh
[in]values

◆ computeStrain()

void mtest::PipeLinearElement::computeStrain ( StructureCurrentState & ,
const PipeMesh & ,
const tfel::math::vector< real > & ,
const size_t ,
const bool  )
static

compute the strain

Parameters
[out]scsstructure current state
[in]mpipe mesh
[in]u0displacement at the beginnig of the time step
[in]ielement number
[in]bif true, compute the strain at end of time step. If false, compute the strain at the beginning of the time step

◆ interpolate()

real mtest::PipeLinearElement::interpolate ( const real ,
const real ,
const real  )
static

interpolate nodal value in the element

Parameters
[in]v0value at the first node
[in]v1value at the second node
[in]xposition in the reference element (-1<x<1)

◆ setGaussPointsPositions()

void mtest::PipeLinearElement::setGaussPointsPositions ( StructureCurrentState & ,
const PipeMesh &  )
static

set the position of the gauss points

Parameters
[out]scsstructure current state
[in]mpipe mesh

◆ updateStiffnessMatrixAndInnerForces()

std::pair< bool, real > mtest::PipeLinearElement::updateStiffnessMatrixAndInnerForces ( tfel::math::matrix< real > & ,
tfel::math::vector< real > & ,
StructureCurrentState & ,
const Behaviour & ,
const tfel::math::vector< real > & ,
const PipeMesh & ,
const real ,
const StiffnessMatrixType ,
const size_t  )
static
Returns
a pair containing:
  • a boolean syaing if the behaviour integration shall be performed
  • a scaling factor that can be used to:
    • increase the time step if the integration was successfull
    • decrease the time step if the integration failed or if the results were not reliable (time step too large).
Parameters
[out]kstiffness matrix
[out]rresidual
[out]scsstructure current state
[in]u1current displacement estimation
[in]mpipe mesh
[in]bbehaviour
[in]dttime increment
[in]mtstiffness matrix type
[in]ielement number

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