39 : m_geometry(geometry),
40 m_displacement(displacement),
44 m_dim(m_geometry->patch(m_patch).parDim()),
53 return m_geometry->patch(m_patch).parDim();
60 case stress_components::von_mises:
return 1;
83 case material_law::mixed_hooke : mixedLinearElastic(u,result);
return;
97 case stress_components::von_mises:
return inputCols;
170 index_t patchVelPres, T viscosity, T density)
172 m_ale(ALEdisplacement),
173 m_patchGeo(patchGeo),
177 m_patchVP(patchVelPres),
178 m_viscosity(viscosity),
208 #ifndef GISMO_BUILD_LIB
209 #include GISMO_HPP_HEADER(gsElasticityFunctions.hpp)
Compute Cauchy stresses for a previously computed/defined displacement field. Can be pushed into gsPi...
Definition: gsElasticityFunctions.h:29
#define short_t
Definition: gsConfig.h:35
S = lambda*ln(J)*C^-1 + mu*(I-C^-1)
Definition: gsBaseUtils.h:134
virtual short_t domainDim() const
Dimension of the (source) domain.
Definition: gsElasticityFunctions.h:51
#define index_t
Definition: gsConfig.h:32
A function from a n-dimensional domain to an m-dimensional image.
Definition: gsFunction.h:59
const index_t & getInt(const std::string &label) const
Reads value for option label from options.
Definition: gsOptionList.cpp:37
sigma = 2*mu*eps + p*I
Definition: gsBaseUtils.h:131
return von Mises stress as a scala
Definition: gsBaseUtils.h:114
sigma = 2*mu*eps + lambda*tr(eps)*I
Definition: gsBaseUtils.h:132
Provides several simple utility and naming classes.
Provides a list of labeled parameters/options that can be set and accessed easily.
Provides declaration of the MultiPatch class.
S = p*C^-1 + mu*(I-C^-1)
Definition: gsBaseUtils.h:136
S = lambda/2*(J^2-1)C^-1 + mu*(I-C^-1)
Definition: gsBaseUtils.h:135
Loading function to transfer fluid action to the solid. Used in Fluid-Structure Interaction simulatio...
Definition: gsElasticityFunctions.h:163
virtual void eval_into(const gsMatrix< T > &u, gsMatrix< T > &result) const
Each column of the input matrix (u) corresponds to one evaluation point. Columns of the output matrix...
Definition: gsElasticityFunctions.h:75
void linearElastic(const gsMatrix< T > &u, gsMatrix< T > &result) const
computation routines for different material laws
Definition: gsElasticityFunctions.hpp:26
virtual short_t domainDim() const
Dimension of the (source) domain.
Definition: gsElasticityFunctions.h:182
Container class for a set of geometry patches and their topology, that is, the interface connections ...
Definition: gsMultiPatch.h:33
Struct which represents a certain side of a box.
Definition: gsBoundary.h:84
law
Definition: gsBaseUtils.h:128
virtual short_t targetDim() const
Dimension of the target space.
Definition: gsElasticityFunctions.h:144
virtual void eval_into(const gsMatrix< T > &u, gsMatrix< T > &result) const
Each column of the input matrix (u) corresponds to one evaluation point. Each column of the output ma...
Definition: gsElasticityFunctions.hpp:227
void saveStress(const gsMatrix< T > &S, gsMatrix< T > &result, index_t q) const
save components of the stress tensor to the output matrix according to the m_type ...
Definition: gsElasticityFunctions.hpp:204
virtual void eval_into(const gsMatrix< T > &u, gsMatrix< T > &result) const
Each column of the input matrix (u) corresponds to one evaluation point. Each column of the output ma...
Definition: gsElasticityFunctions.hpp:241
Compute jacobian determinant of the geometry mapping. Can be pushed into gsPiecewiseFunction to const...
Definition: gsElasticityFunctions.h:133
virtual short_t targetDim() const
Dimension of the target space.
Definition: gsElasticityFunctions.h:184
index_t outputCols(index_t inputCols) const
size of the output matrix according to the m_type
Definition: gsElasticityFunctions.h:93
return all components of the 2D stress tensor as a 2x2 matrix
Definition: gsBaseUtils.h:117
virtual short_t domainDim() const
Dimension of the (source) domain.
Definition: gsElasticityFunctions.h:142
Class which holds a list of parameters/options, and provides easy access to them. ...
Definition: gsOptionList.h:32
Definition: gsBaseUtils.h:119
S = 2*mu*E + lambda*tr(E)*I.
Definition: gsBaseUtils.h:133
Definition: gsBaseUtils.h:116
components
Definition: gsBaseUtils.h:111
virtual short_t targetDim() const
Dimension of the target space.
Definition: gsElasticityFunctions.h:56
Definition: gsBaseUtils.h:121