OOFEM 3.0
Loading...
Searching...
No Matches
latticeslip.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 program is free software; you can redistribute it and/or modify
21 * it under the terms of the GNU General Public License as published by
22 * the Free Software Foundation; either version 2 of the License, or
23 * (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
28 * GNU General Public License for more details.
29 *
30 * You should have received a copy of the GNU General Public License
31 * along with this program; if not, write to the Free Software
32 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
33 */
34
35#ifndef latticeslip_h
36#define latticeslip_h
37
39#include "latticematstatus.h"
40
42
43#define _IFT_LatticeSlip_Name "latticeslip"
44#define _IFT_LatticeSlip_talpha "talpha"
45#define _IFT_LatticeSlip_e "e"
46#define _IFT_LatticeSlip_a1 "a1"
47#define _IFT_LatticeSlip_a2 "a2"
48#define _IFT_LatticeSlip_t0 "t0"
50
51namespace oofem {
53{
54protected:
55
56
57public:
59
60 void printOutputAt(FILE *file, TimeStep *tStep) const override;
61
62 const char *giveClassName() const override { return "LatticeSlipStatus"; }
63
64 void initTempStatus() override;
65
66 void updateYourself(TimeStep *) override;
67
68 void saveContext(DataStream &stream, ContextMode mode) override;
69
70 void restoreContext(DataStream &stream, ContextMode mode) override;
71};
72
73
74
78
80{
81protected:
82
84 double eNormal = 0.;
85
87 double alphaOne = 0.;
88
90 double alphaTwo = 0.;
91
93 double tauZero = 0.;
94
97
99 double localRandomType = 0.;
100
101 double cAlpha = 0.;
102
103 double tAlphaMean = 0.;
104
105public:
106
108 LatticeSlip(int n, Domain *d);
109
110
111 const char *giveInputRecordName() const override { return _IFT_LatticeSlip_Name; }
112 const char *giveClassName() const override { return "LatticeSlip"; }
113
114 void initializeFrom(InputRecord &ir) override;
115
117
118
119 bool isCharacteristicMtrxSymmetric(MatResponseMode rMode) const override { return false; }
120
121
122 double computeDeltaDissipation(GaussPoint *gp, TimeStep *atTime) const;
123
124 bool hasMaterialModeCapability(MaterialMode mode) const override;
125
126
128
129 FloatArrayF< 6 >giveLatticeStress3d(const FloatArrayF< 6 > &strain, GaussPoint *gp, TimeStep *tStep) override;
130
131 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override;
132
133
134protected:
135
136 int giveIPValue(FloatArray &answer,
137 GaussPoint *gp,
139 TimeStep *atTime) override;
140};
141} // end namespace oofem
142
143#endif
void saveContext(DataStream &stream, ContextMode mode) override
const char * giveClassName() const override
Definition latticeslip.h:62
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
LatticeSlipStatus(GaussPoint *g)
void updateYourself(TimeStep *) override
void restoreContext(DataStream &stream, ContextMode mode) override
void initTempStatus() override
double computeDeltaDissipation(GaussPoint *gp, TimeStep *atTime) const
double alphaTwo
Ratio of torsion and normal modulus.
Definition latticeslip.h:90
const char * giveClassName() const override
void initializeFrom(InputRecord &ir) override
Definition latticeslip.C:66
FloatArrayF< 6 > giveThermalDilatationVector(GaussPoint *gp, TimeStep *tStep) const override
double coefficientOfVariation
coefficient variation of the Gaussian distribution
Definition latticeslip.h:96
double tauZero
Strength for slip component.
Definition latticeslip.h:93
Interface * giveInterface(InterfaceType) override
bool isCharacteristicMtrxSymmetric(MatResponseMode rMode) const override
double eNormal
Normal modulus.
Definition latticeslip.h:84
LatticeSlip(int n, Domain *d)
Constructor.
Definition latticeslip.C:54
double alphaOne
Ratio of shear and normal modulus.
Definition latticeslip.h:87
double localRandomType
flag which chooses between no distribution (0) and Gaussian distribution (1)
Definition latticeslip.h:99
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *atTime) override
FloatArrayF< 6 > giveLatticeStress3d(const FloatArrayF< 6 > &strain, GaussPoint *gp, TimeStep *tStep) override
Definition latticeslip.C:91
const char * giveInputRecordName() const override
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
Definition latticeslip.C:84
bool hasMaterialModeCapability(MaterialMode mode) const override
Definition latticeslip.C:59
#define _IFT_LatticeSlip_Name
Definition latticeslip.h:43
long ContextMode
Definition contextmode.h:43

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