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

structure describing a cubic element for pipes More...

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

Static Public Member Functions

static real computeIntegralValue (const PipeMesh &, const tfel::math::vector< real > &)
static void setGaussPointsPositions (StructureCurrentState &, const PipeMesh &)
 set the position of the gauss points
static real interpolate (const real, const real, const real, const real, const real)
 interpolate nodal value in the element
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 pg_radii [4]
static constexpr real wg [4]

Detailed Description

structure describing a cubic element for pipes

Member Function Documentation

◆ computeIntegralValue()

real mtest::PipeCubicElement::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::PipeCubicElement::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::PipeCubicElement::interpolate ( const real ,
const real ,
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]v2value at the third node
[in]v4value at the fourth node
[in]xposition in the reference element (-1<x<1)

◆ setGaussPointsPositions()

void mtest::PipeCubicElement::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::PipeCubicElement::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

Member Data Documentation

◆ pg_radii

real mtest::PipeCubicElement::pg_radii[4]
staticconstexpr
Initial value:
= {-0.861136311594053, -0.339981043584856,
0.339981043584856, 0.861136311594053}

◆ wg

real mtest::PipeCubicElement::wg[4]
staticconstexpr
Initial value:
= {0.347854845137454, 0.652145154862546,
0.652145154862546, 0.347854845137454}

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