OOFEM 3.0
Loading...
Searching...
No Matches
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 - 2025 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"
45
46namespace oofem {
47class Domain;
48
54{
55protected:
57 double k = 0.;
58
59public:
61
62 void initializeFrom(InputRecord &ir) override;
63
64 const char *giveInputRecordName() const override { return _IFT_RankinePlasticMaterial_Name; }
65 const char *giveClassName() const override { return "RankinePlasticMaterial"; }
66
67 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override;
68
69protected:
70
71 //
72 // yield(YC-like functions) and loading(LC-like functions) criteria specific section
73 //
74
75 double computeYieldValueAt(GaussPoint *gp, int isurf, const FloatArray &stressVector,
76 const FloatArray &stressSpaceHardeningVars) const override;
77
79 GaussPoint *gp,
80 const FloatArray &strainSpaceHardeningVariables,
81 TimeStep *tStep) const override;
82 void computeStressGradientVector(FloatArray &answer, functType ftype, int isurf, GaussPoint *gp, const FloatArray &stressVector,
83 const FloatArray &stressSpaceHardeningVars) const override;
85 const FloatArray &stressVector,
86 const FloatArray &stressSpaceHardeningVars) const override;
87 int hasHardening() const override { return 0; }
88 void computeReducedGradientMatrix(FloatMatrix &answer, int isurf,
89 GaussPoint *gp,
90 const FloatArray &stressVector,
91 const FloatArray &stressSpaceHardeningVars) const override;
92
94 const FloatArray &strainSpaceHardeningVariables) const override;
95};
96} // end namespace oofem
97#endif // rankinepm_h
MPlasticMaterial(int n, Domain *d)
functType
Type that allows to distinguish between yield function and loading function.
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
Definition rankinepm.C:131
void computeStressGradientVector(FloatArray &answer, functType ftype, int isurf, GaussPoint *gp, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars) const override
Definition rankinepm.C:73
double computeYieldValueAt(GaussPoint *gp, int isurf, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars) const override
Definition rankinepm.C:63
double k
Yield value.
Definition rankinepm.h:57
const char * giveInputRecordName() const override
Definition rankinepm.h:64
void computeStressSpaceHardeningVarsReducedGradient(FloatArray &answer, functType ftype, int isurf, GaussPoint *gp, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars) const override
Definition rankinepm.C:104
void computeReducedGradientMatrix(FloatMatrix &answer, int isurf, GaussPoint *gp, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars) const override
Definition rankinepm.C:113
RankinePlasticMaterial(int n, Domain *d)
Definition rankinepm.C:44
void computeHardeningReducedModuli(FloatMatrix &answer, GaussPoint *gp, const FloatArray &strainSpaceHardeningVariables, TimeStep *tStep) const override
Definition rankinepm.C:95
int hasHardening() const override
Definition rankinepm.h:87
const char * giveClassName() const override
Definition rankinepm.h:65
void computeStressSpaceHardeningVars(FloatArray &answer, GaussPoint *gp, const FloatArray &strainSpaceHardeningVariables) const override
Definition rankinepm.C:123
void initializeFrom(InputRecord &ir) override
Definition rankinepm.C:53
#define _IFT_RankinePlasticMaterial_Name
Definition rankinepm.h:42

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011