OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
mooneyrivlin.h
Go to the documentation of this file.
1 /*
2  *
3  * ##### ##### ###### ###### ### ###
4  * ## ## ## ## ## ## ## ### ##
5  * ## ## ## ## #### #### ## # ##
6  * ## ## ## ## ## ## ## ##
7  * ## ## ## ## ## ## ## ##
8  * ##### ##### ## ###### ## ##
9  *
10  *
11  * OOFEM : Object Oriented Finite Element Code
12  *
13  * Copyright (C) 1993 - 2014 Borek Patzak
14  *
15  *
16  *
17  * Czech Technical University, Faculty of Civil Engineering,
18  * Department of Structural Mechanics, 166 29 Prague, Czech Republic
19  *
20  * This library is free software; you can redistribute it and/or
21  * modify it under the terms of the GNU Lesser General Public
22  * License as published by the Free Software Foundation; either
23  * version 2.1 of the License, or (at your option) any later version.
24  *
25  * This program is distributed in the hope that it will be useful,
26  * but WITHOUT ANY WARRANTY; without even the implied warranty of
27  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28  * Lesser General Public License for more details.
29  *
30  * You should have received a copy of the GNU Lesser General Public
31  * License along with this library; if not, write to the Free Software
32  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33  */
34 
35 #ifndef mooneyrivlinmaterial_h
36 #define mooneyrivlinmaterial_h
37 
38 #include "../sm/Materials/structuralmaterial.h"
39 #include "../sm/Materials/structuralms.h"
40 
42 
43 #define _IFT_MooneyRivlinMaterial_Name "mooneyrivlin"
44 #define _IFT_MooneyRivlinMaterial_c1 "c1"
45 #define _IFT_MooneyRivlinMaterial_c2 "c2"
46 #define _IFT_MooneyRivlinMaterial_k "k"
47 
48 
49 namespace oofem {
71 {
72 protected:
73  // Material parameters
74  double C1;
75  double C2;
76  double K;
77 
78 
79 public:
80  MooneyRivlinMaterial(int n, Domain *d);
81 
83 
85  MatResponseMode mode, GaussPoint *gp,
86  TimeStep *tStep) { OOFEM_ERROR("not implemented, this material is designed for large strains only"); }
87 
88 
89  virtual void givePlaneStrainStiffMtrx_dPdF(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep);
91  MatResponseMode mode,
92  GaussPoint *gp, TimeStep *tStep);
93 
94 
95  virtual void giveRealStressVector_3d(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep) { OOFEM_ERROR("not implemented, this material is designed for large strains only"); }
96  virtual void giveFirstPKStressVector_3d(FloatArray &answer, GaussPoint *gp, const FloatArray &vF, TimeStep *tStep);
97  void giveFirstPKStressVector_PlaneStrain(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedvF, TimeStep *tStep);
98  virtual MaterialStatus *CreateStatus(GaussPoint *gp) const;
99 
100  virtual const char *giveInputRecordName() const { return _IFT_MooneyRivlinMaterial_Name; }
101  virtual const char *giveClassName() const { return "MooneyRivlinMaterial"; }
102 };
103 
104 } // end namespace oofem
105 #endif
virtual void giveFirstPKStressVector_3d(FloatArray &answer, GaussPoint *gp, const FloatArray &vF, TimeStep *tStep)
Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress.
Definition: mooneyrivlin.C:49
MooneyRivlinMaterial(int n, Domain *d)
Definition: mooneyrivlin.C:44
Class and object Domain.
Definition: domain.h:115
virtual const char * giveClassName() const
Definition: mooneyrivlin.h:101
virtual void giveRealStressVector_3d(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep)
Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress.
Definition: mooneyrivlin.h:95
virtual void give3dMaterialStiffnessMatrix(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
Computes full 3d material stiffness matrix at given integration point, time, respecting load history ...
Definition: mooneyrivlin.h:84
virtual void givePlaneStrainStiffMtrx_dPdF(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
Definition: mooneyrivlin.C:527
MatResponseMode
Describes the character of characteristic material matrix.
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
Definition: mooneyrivlin.C:658
void giveFirstPKStressVector_PlaneStrain(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedvF, TimeStep *tStep)
Default implementation relies on giveFirstPKStressVector_3d.
Definition: mooneyrivlin.C:96
#define _IFT_MooneyRivlinMaterial_Name
Definition: mooneyrivlin.h:43
#define OOFEM_ERROR(...)
Definition: error.h:61
virtual const char * giveInputRecordName() const
Definition: mooneyrivlin.h:100
virtual void give3dMaterialStiffnessMatrix_dPdF(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
Definition: mooneyrivlin.C:148
This class implements Compressible Mooney - Rivlin material.
Definition: mooneyrivlin.h:70
Abstract base class representing a material status information.
Definition: matstatus.h:84
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: mooneyrivlin.C:665
Class representing vector of real numbers.
Definition: floatarray.h:82
Implementation of matrix containing floating point numbers.
Definition: floatmatrix.h:94
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
Class representing the general Input Record.
Definition: inputrecord.h:101
Abstract base class for all "structural" constitutive models.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:30 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011