Loading [MathJax]/extensions/tex2jax.js
Plugins
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
skin_law.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2014-2015: G-CSC, Goethe University Frankfurt
3 * Author: Andreas Vogel
4 *
5 * This file is part of UG4.
6 *
7 * UG4 is free software: you can redistribute it and/or modify it under the
8 * terms of the GNU Lesser General Public License version 3 (as published by the
9 * Free Software Foundation) with the following additional attribution
10 * requirements (according to LGPL/GPL v3 §7):
11 *
12 * (1) The following notice must be displayed in the Appropriate Legal Notices
13 * of covered and combined works: "Based on UG4 (www.ug4.org/license)".
14 *
15 * (2) The following notice must be displayed at a prominent place in the
16 * terminal output of covered works: "Based on UG4 (www.ug4.org/license)".
17 *
18 * (3) The following bibliography is recommended for citation and must be
19 * preserved in all covered files:
20 * "Reiter, S., Vogel, A., Heppner, I., Rupp, M., and Wittum, G. A massively
21 * parallel geometric multigrid solver on hierarchically distributed grids.
22 * Computing and visualization in science 16, 4 (2013), 151-164"
23 * "Vogel, A., Reiter, S., Rupp, M., Nägel, A., and Wittum, G. UG4 -- a novel
24 * flexible software system for simulating pde based models on high performance
25 * computers. Computing and visualization in science 16, 4 (2013), 165-179"
26 *
27 * This program is distributed in the hope that it will be useful,
28 * but WITHOUT ANY WARRANTY; without even the implied warranty of
29 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 * GNU Lesser General Public License for more details.
31 */
32
33#ifndef SKIN_LAW_H_
34#define SKIN_LAW_H_
35
36namespace ug{
37namespace SmallStrainMechanics{
38
42
76template <typename TDomain>
78 : public IMaterialLaw<TDomain>
79{
80 private:
83
84 public:
86 static const int dim = TDomain::dim;
87
88 public:
91 {
93 };
94
97
98 public:
100 // INTERFACE-METHODS
102 void init();
103
105 void stressTensor(MathMatrix<dim,dim>& stressTens, const size_t ip,
106 const MathMatrix<dim, dim>& GradU){
107 UG_THROW("SkinMaterialLaw: only position dependent material law supported");
108 }
109 void stressTensor(MathMatrix<dim,dim>& stressTens, const size_t ip,
110 const MathVector<dim>& x, const MathMatrix<dim, dim>& GradU);
111
114 UG_THROW("SkinMaterialLaw: only position dependent material law supported");
115 }
116
118 elasticityTensor(const size_t ip, const MathMatrix<dim, dim>& GradU){
119 UG_THROW("SkinMaterialLaw: only position dependent material law supported");
120 }
121
123 elasticityTensor(const size_t ip, const MathVector<dim>& x, const MathMatrix<dim, dim>& GradU);
124
125
126 public:
129 void set_hooke_elasticity_tensor(const number lambda, const number mu);
130 void set_hooke_elasticity_tensor_E_nu(const number E, const number nu);
131
135
136 public:
138
139 private:
140 void strainTensor(MathMatrix<dim,dim>& strainTens, const MathMatrix<dim, dim>& GradU);
141
142 private:
145
146
147};
148
149}// end of namespace SmallStrainMechanics
150}// end of namespace ug
151
152#include "skin_law_impl.h"
153
154#endif /* SKIN_LAW_H_ */
Definition mat_law_interface.h:44
bool m_bConstElastTens
flag indicating, if elasticity tensor is constant
Definition mat_law_interface.h:131
std::string m_materialConfiguration
Definition mat_law_interface.h:124
SmartPtr< MathTensor4< dim, dim, dim, dim > > m_spElastTensorFunct
elasticity tensor
Definition skin_law.h:144
SkinMaterialLaw()
constructor
Definition skin_law.h:90
void init()
Definition skin_law_impl.h:57
static const int dim
World dimension.
Definition skin_law.h:86
void strainTensor(MathMatrix< dim, dim > &strainTens, const MathMatrix< dim, dim > &GradU)
Definition skin_law_impl.h:73
virtual SmartPtr< MathTensor4< dim, dim, dim, dim > > elasticityTensor()
computes the elasticity tensor; commonly denoted by C
Definition skin_law.h:113
void set_hooke_elasticity_tensor(const number lambda, const number mu)
Definition skin_law_impl.h:224
virtual SmartPtr< MathTensor4< dim, dim, dim, dim > > elasticityTensor(const size_t ip, const MathMatrix< dim, dim > &GradU)
Definition skin_law.h:118
void set_hooke_elasticity_tensor_plain_strain_E_nu(const number E, const number nu)
Definition skin_law_impl.h:203
void set_hooke_elasticity_tensor_plain_stress_E_nu(const number E, const number nu)
Definition skin_law_impl.h:162
void set_hooke_elasticity_tensor_E_nu(const number E, const number nu)
Definition skin_law_impl.h:214
IMaterialLaw< TDomain > base_type
Base class type.
Definition skin_law.h:82
void stressTensor(MathMatrix< dim, dim > &stressTens, const size_t ip, const MathMatrix< dim, dim > &GradU)
computes the cauchy stress tensor sigma at an integration point 'ip'
Definition skin_law.h:105
~SkinMaterialLaw()
Destructor.
Definition skin_law.h:96
#define UG_THROW(msg)
double number