muMECH  1.0
esuf_ProlateSpheroid.h
Go to the documentation of this file.
1 //********************************************************************************************************
2 // code: ### ### ##### #### ## ##
3 // ## ## ######## ## ## ## ## ##
4 // ## ## ## ## ## ### ## ######
5 // ## ## ## ## ## ## ## ## ##
6 // ##### ## ## ##### #### ## ##
7 // ##
8 //
9 // name: eshelbySoluUniformFieldProlateSpheroid.h
10 // description: header file of the function returning the Eshelby solution of an Prolate-spheroidal inclusion
11 // loaded by the uniform strain/stress field
12 // author(s): Jan Novak, Tomas Janda
13 // place of birth: Czech Technical University in Prague, Faculty of Civil engineering
14 // last edit: 08. 08. 2013
15 // language: C, C++
16 // license: This program is free software; you can redistribute it and/or modify
17 // it under the terms of the GNU Lesser General Public License as published by
18 // the Free Software Foundation; either version 2 of the License, or
19 // (at your option) any later version.
20 //
21 // This program is distributed in the hope that it will be useful,
22 // but WITHOUT ANY WARRANTY; without even the implied warranty of
23 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 // GNU Lesser General Public License for more details.
25 //
26 // You should have received a copy of the GNU Lesser General Public License
27 // along with this program; if not, write to the Free Software
28 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29 //********************************************************************************************************
30 
31 #ifndef MUMECH_ESHELBY_SOLU_UNIFORM_FIELD_PROLATE_SPHEROID_H
32 #define MUMECH_ESHELBY_SOLU_UNIFORM_FIELD_PROLATE_SPHEROID_H
33 
34 #include "esuf.h"
35 #include "types.h"
36 
37 
38 namespace mumech {
39 
42 {
43  public:
48 
49  //******************************************************************************************************
50  //Function gives a component of the Eshelby tensor
51  double eshelbyTensCompUniformField( const double sort_a[3], const double eInt[13], double nu,
52  EshelbyTensComponent flag );
53 
54  //******************************************************************************************************
55  //Function gives D_ijkl(x) generalized Eshelby's tensor. Function requiers "constructor2"
56  void giveDijkl( double D[36], const double S[12], const double J[13], const double dJi[9], const double dJij[27],
57  const double ddJi[27], const double ddJij[81], const double sort_a[3], const double x[3]);
58  //******************************************************************************************************
59  //Function gives the displacement perturbation tensor of internal fields.
60  //Function requiers "constructor2"
61  void giveLijkINT( double Lint[18], const double J[13], const double sort_a[3], const double x[3] );
62  //******************************************************************************************************
63 
64  protected:
65 
66  //******************************************************************************************************
67  //Function gives the displacement perturbation tensor of external fields.
68  //Function requiers "constructor2"
69  void giveLijkEXT(double Lext[18], const double Lint[18], const double dJi[9], const double dJij[27], const double sort_a[3],
70  const double x[3]);
71  //******************************************************************************************************
72  //Function gives S_ijkl(x) position dependent Eshelby's tensor. (This is not
73  //the strain perturbation tensor! Just its part ). The returned members of the
74  //S_ijkl matrix are in tensorial (theoretical) notation!
75  //Function requiers "constructor2"
76  void giveSijkl(double S[36], const double J[13], const double sort_a[3], double nu , bool newFormulation);
77  //******************************************************************************************************
78 
79 };//end of class declaration
80 
81 } // end of namespace mumech
82 
83 #endif
84 
85 /*end of file*/
Class eshelbySoluUniformField.
file of various types and symbolic constant definitions
double nu
nu of matrix
Definition: esuf.h:51
void giveLijkINT(double Lint[18], const double J[13], const double sort_a[3], const double x[3])
3D inclusion record.
Definition: inclusion.h:278
eshelbySoluUniformFieldProlateSpheroid class declaration
void giveSijkl(double S[36], const double J[13], const double sort_a[3], double nu, bool newFormulation)
Class of the functions returning the Eshelby solution of an inclusion of an ellipsoidal shape loaded ...
Definition: esuf.h:46
void giveDijkl(double D[36], const double S[12], const double J[13], const double dJi[9], const double dJij[27], const double ddJi[27], const double ddJij[81], const double sort_a[3], const double x[3])
EshelbyTensComponent
Definition: types.h:221
double eshelbyTensCompUniformField(const double sort_a[3], const double eInt[13], double nu, EshelbyTensComponent flag)
void giveLijkEXT(double Lext[18], const double Lint[18], const double dJi[9], const double dJij[27], const double sort_a[3], const double x[3])
eshelbySoluUniformFieldProlateSpheroid(const InclusionRecord3D *i)
Constructor.