OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
j2mplasticmaterial.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 j2mplasticmaterial_h
36 #define j2mplasticmaterial_h
37 
38 #include "mplasticmaterial.h"
39 
41 
42 #define _IFT_J2MPlasticMaterial_Name "j2mmat"
43 #define _IFT_J2MPlasticMaterial_ry "ry"
44 #define _IFT_J2MPlasticMaterial_khm "khm"
45 #define _IFT_J2MPlasticMaterial_ihm "ihm"
46 #define _IFT_J2MPlasticMaterial_rma "rma"
47 
48 
49 namespace oofem {
50 class Domain;
51 
58 {
59 protected:
62  double k;
63 
64 public:
65  J2MPlasticMaterial(int n, Domain * d);
66  virtual ~J2MPlasticMaterial();
67 
69  virtual const char *giveInputRecordName() const { return _IFT_J2MPlasticMaterial_Name; }
70  virtual const char *giveClassName() const { return "J2MPlasticMaterial"; }
71 
72  virtual MaterialStatus *CreateStatus(GaussPoint *gp) const;
73 
74 protected:
75  virtual void computeStressSpaceHardeningVars(FloatArray &answer, GaussPoint *gp,
76  const FloatArray &strainSpaceHardeningVariables);
77  virtual double computeYieldValueAt(GaussPoint *gp, int isurf, const FloatArray &stressVector,
78  const FloatArray &stressSpaceHardeningVars);
79  virtual void computeHardeningReducedModuli(FloatMatrix &answer, GaussPoint *gp,
80  const FloatArray &strainSpaceHardeningVariables,
81  TimeStep *tStep);
82  virtual void computeStressGradientVector(FloatArray &answer, functType ftype, int isurf, GaussPoint *gp, const FloatArray &stressVector,
83  const FloatArray &stressSpaceHardeningVars);
84  virtual void computeStressSpaceHardeningVarsReducedGradient(FloatArray &answer, functType ftype, int isurf, GaussPoint *gp,
85  const FloatArray &stressVector,
86  const FloatArray &stressSpaceHardeningVars);
87  virtual int hasHardening();
88  virtual void computeReducedGradientMatrix(FloatMatrix &answer, int isurf,
89  GaussPoint *gp,
90  const FloatArray &stressVector,
91  const FloatArray &stressSpaceHardeningVars);
92  virtual void compute3dElasticModuli(FloatMatrix &answer, GaussPoint *gp,
93  TimeStep *tStep);
94 
95  // auxiliary function
96  double computeJ2InvariantAt(const FloatArray &stressVector);
99  double giveIsotropicHardeningVar(const FloatArray &stressSpaceHardeningVars);
100  void giveStressBackVector(FloatArray &answer,
101  const FloatArray &stressSpaceHardeningVars);
102 };
103 } // end namespace oofem
104 #endif // j2mplasticmaterial_h
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
J2MPlasticMaterial(int n, Domain *d)
Class and object Domain.
Definition: domain.h:115
virtual double computeYieldValueAt(GaussPoint *gp, int isurf, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars)
functType
Type that allows to distinguish between yield function and loading function.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
double giveIsotropicHardeningVar(const FloatArray &stressSpaceHardeningVars)
virtual const char * giveInputRecordName() const
This class implements a general plastic material.
This class implements a isotropic plastic linear material (J2 plasticity condition is used) in a fini...
virtual void computeReducedGradientMatrix(FloatMatrix &answer, int isurf, GaussPoint *gp, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars)
virtual void computeStressGradientVector(FloatArray &answer, functType ftype, int isurf, GaussPoint *gp, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars)
virtual void computeStressSpaceHardeningVarsReducedGradient(FloatArray &answer, functType ftype, int isurf, GaussPoint *gp, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars)
Abstract base class representing a material status information.
Definition: matstatus.h:84
Class representing vector of real numbers.
Definition: floatarray.h:82
virtual void computeStressSpaceHardeningVars(FloatArray &answer, GaussPoint *gp, const FloatArray &strainSpaceHardeningVariables)
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
virtual void compute3dElasticModuli(FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep)
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual void computeHardeningReducedModuli(FloatMatrix &answer, GaussPoint *gp, const FloatArray &strainSpaceHardeningVariables, TimeStep *tStep)
int giveSizeOfReducedHardeningVarsVector(GaussPoint *gp) const
virtual const char * giveClassName() const
void giveStressBackVector(FloatArray &answer, const FloatArray &stressSpaceHardeningVars)
double computeJ2InvariantAt(const FloatArray &stressVector)
the oofem namespace is to define a context or scope in which all oofem names are defined.
#define _IFT_J2MPlasticMaterial_Name
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:29 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011