muMECH  1.0
esuf_Penny.h
Go to the documentation of this file.
1 //********************************************************************************************************
2 // code: ### ### ##### #### ## ##
3 // ## ## ######## ## ## ## ## ##
4 // ## ## ## ## ## ### ## ######
5 // ## ## ## ## ## ## ## ## ##
6 // ##### ## ## ##### #### ## ##
7 // ##
8 //
9 // name: eshelbySoluUniformFieldPenny.h
10 // description: header file of the function returning the Eshelby solution of an penny-shpaped inclusion
11 // loaded by the uniform strain/stress field
12 // author(s): Jan Novak
13 
14 // last edit: 11. 08. 2010
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_PENNY_H
32 #define MUMECH_ESHELBY_SOLU_UNIFORM_FIELD_PENNY_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  //Function gives D_ijkl(x) generalized Eshelby's tensor. Function requiers "constructor2"
55  void giveDijkl( double D[36], const double S[12], const double J[13], const double dJi[9], const double dJij[27],
56  const double ddJi[27], const double ddJij[81], const double sort_a[3], const double x[3] );
57 
58  protected:
59 
60  //******************************************************************************************************
61  //Function gives the displacement perturbation tensor of internal fields.
62  //Function requiers "constructor2"
63  void giveLijkINT( double Lint[18], const double J[13], const double sort_a[3], const double x[3] );
64  //******************************************************************************************************
65  //Function gives the displacement perturbation tensor of external fields.
66  //Function requiers "constructor2"
67  void giveLijkEXT(double Lext[18], const double Lint[18], const double dJi[9], const double dJij[27], const double sort_a[3],
68  const double x[3]);
69  //******************************************************************************************************
70  //Function gives S_ijkl(x) position dependent Eshelby's tensor. (This is not
71  //the strain perturbation tensor! Just its part ). The returned members of the
72  //S_ijkl matrix are in tensorial (theoretical) notation!
73  //Function requiers "constructor2"
74  void giveSijkl( double S[36], const double J[13], const double sort_a[3], double nu, bool newFormulation );
75  //******************************************************************************************************
76 
77 };//end of class declaration
78 
79 } // end of namespace mumech
80 
81 #endif
82 
83 /*end of file*/
Class eshelbySoluUniformField.
virtual ~eshelbySoluUniformFieldPenny()
Destructor.
Definition: esuf_Penny.h:47
file of various types and symbolic constant definitions
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])
Definition: esuf_Penny.cpp:263
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])
Definition: esuf_Penny.cpp:150
eshelbySoluUniformFieldPenny(const InclusionRecord3D *i)
Constructor.
Definition: esuf_Penny.h:45
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])
Definition: esuf_Penny.cpp:240
3D inclusion record.
Definition: inclusion.h:278
Class of the functions returning the Eshelby solution of an inclusion of an ellipsoidal shape loaded ...
Definition: esuf.h:46
EshelbyTensComponent
Definition: types.h:221
void giveSijkl(double S[36], const double J[13], const double sort_a[3], double nu, bool newFormulation)
Definition: esuf_Penny.cpp:284
double eshelbyTensCompUniformField(const double sort_a[3], const double eInt[13], double nu, EshelbyTensComponent flag)
Definition: esuf_Penny.cpp:69
eshelbySoluUniformFieldPenny class declaration
Definition: esuf_Penny.h:41