OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
rankinepm.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 - 2013 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 rankinepm_h
36 #define rankinepm_h
37 
38 #include "mplasticmaterial.h"
39 
41 
42 #define _IFT_RankinePlasticMaterial_Name "rankine"
43 #define _IFT_RankinePlasticMaterial_ry "ry"
44 
45 
46 namespace oofem {
47 class Domain;
48 
54 {
55 protected:
57  double k;
58 
59 public:
60  RankinePlasticMaterial(int n, Domain * d);
61  virtual ~RankinePlasticMaterial();
62 
64 
65  virtual const char *giveInputRecordName() const { return _IFT_RankinePlasticMaterial_Name; }
66  virtual const char *giveClassName() const { return "RankinePlasticMaterial"; }
67 
68  virtual MaterialStatus *CreateStatus(GaussPoint *gp) const;
69 
70 protected:
71 
72  //
73  // yield(YC-like functions) and loading(LC-like functions) criteria specific section
74  //
75 
76  double computeYieldValueAt(GaussPoint *gp, int isurf, const FloatArray &stressVector,
77  const FloatArray &stressSpaceHardeningVars);
78 
80  GaussPoint *gp,
81  const FloatArray &strainSpaceHardeningVariables,
82  TimeStep *tStep);
83  void computeStressGradientVector(FloatArray &answer, functType ftype, int isurf, GaussPoint *gp, const FloatArray &stressVector,
84  const FloatArray &stressSpaceHardeningVars);
86  const FloatArray &stressVector,
87  const FloatArray &stressSpaceHardeningVars);
88  int hasHardening() { return 0; }
89  void computeReducedGradientMatrix(FloatMatrix &answer, int isurf,
90  GaussPoint *gp,
91  const FloatArray &stressVector,
92  const FloatArray &stressSpaceHardeningVars);
93 
95  const FloatArray &strainSpaceHardeningVariables);
96 };
97 } // end namespace oofem
98 #endif // rankinepm_h
virtual const char * giveInputRecordName() const
Definition: rankinepm.h:65
Class and object Domain.
Definition: domain.h:115
functType
Type that allows to distinguish between yield function and loading function.
void computeStressGradientVector(FloatArray &answer, functType ftype, int isurf, GaussPoint *gp, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars)
Definition: rankinepm.C:84
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: rankinepm.C:59
void computeHardeningReducedModuli(FloatMatrix &answer, GaussPoint *gp, const FloatArray &strainSpaceHardeningVariables, TimeStep *tStep)
Definition: rankinepm.C:106
This class implements a general plastic material.
This class implements a isotropic plastic linear material (J2 plasticity condition is used) in a fini...
Definition: rankinepm.h:53
void computeStressSpaceHardeningVars(FloatArray &answer, GaussPoint *gp, const FloatArray &strainSpaceHardeningVariables)
Definition: rankinepm.C:134
void computeReducedGradientMatrix(FloatMatrix &answer, int isurf, GaussPoint *gp, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars)
Definition: rankinepm.C:124
#define _IFT_RankinePlasticMaterial_Name
Definition: rankinepm.h:42
virtual const char * giveClassName() const
Definition: rankinepm.h:66
RankinePlasticMaterial(int n, Domain *d)
Definition: rankinepm.C:44
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
Definition: rankinepm.C:142
Abstract base class representing a material status information.
Definition: matstatus.h:84
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
void computeStressSpaceHardeningVarsReducedGradient(FloatArray &answer, functType ftype, int isurf, GaussPoint *gp, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars)
Definition: rankinepm.C:115
double k
Yield value.
Definition: rankinepm.h:57
the oofem namespace is to define a context or scope in which all oofem names are defined.
double computeYieldValueAt(GaussPoint *gp, int isurf, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars)
Definition: rankinepm.C:74
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:31 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011