OOFEM 3.0
Loading...
Searching...
No Matches
kelvinChM.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 kelvinchm_h
36#define kelvinchm_h
37
38#include "rheoChM.h"
39
40namespace oofem {
45{
46public:
48
49 void printOutputAt(FILE *file, TimeStep *tStep) const override;
50
51 void initTempStatus() override;
52 void updateYourself(TimeStep *tStep) override;
53
54 void saveContext(DataStream &stream, ContextMode mode) override;
55 void restoreContext(DataStream &stream, ContextMode mode) override;
56
57 // definition
58 const char *giveClassName() const override { return "KelvinChainMaterialStatus"; }
59};
60
61
62
67{
68public:
69 KelvinChainMaterial(int n, Domain *d);
70
71 // identification and auxiliary functions
72 const char *giveClassName() const override { return "KelvinChainMaterial"; }
73
74 void initializeFrom(InputRecord &ir) override;
75
77 GaussPoint *gp,
78 TimeStep *tStep,
79 ValueModeType mode) const override
80 { answer.clear(); }
81
82 void giveEigenStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const override;
83
84 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override;
85
86 void giveRealStressVector(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep) const override;
87
88 void computeHiddenVars(GaussPoint *gp, TimeStep *tStep) const;
89
90protected:
91 bool hasIncrementalShrinkageFormulation() const override { return false; }
92
93 FloatArray computeCharCoefficients(double tPrime, GaussPoint *gp, TimeStep *tStep) const override;
94
95 double giveEModulus(GaussPoint *gp, TimeStep *tStep) const override;
96
97 // LinearElasticMaterial *giveLinearElasticMaterial();
98};
99} // end namespace oofem
100#endif // kelvinchm_h
void saveContext(DataStream &stream, ContextMode mode) override
Definition kelvinChM.C:313
KelvinChainMaterialStatus(GaussPoint *g, int nunits)
Definition kelvinChM.C:290
const char * giveClassName() const override
Definition kelvinChM.h:58
void updateYourself(TimeStep *tStep) override
Definition kelvinChM.C:301
void restoreContext(DataStream &stream, ContextMode mode) override
Definition kelvinChM.C:319
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
Definition kelvinChM.C:294
void computeHiddenVars(GaussPoint *gp, TimeStep *tStep) const
Definition kelvinChM.C:209
KelvinChainMaterial(int n, Domain *d)
Definition kelvinChM.C:44
double giveEModulus(GaussPoint *gp, TimeStep *tStep) const override
Evaluation of the incremental modulus.
Definition kelvinChM.C:115
void giveEigenStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const override
Definition kelvinChM.C:161
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
Definition kelvinChM.C:276
FloatArray computeCharCoefficients(double tPrime, GaussPoint *gp, TimeStep *tStep) const override
Evaluation of the moduli of individual units.
Definition kelvinChM.C:48
void giveShrinkageStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const override
Definition kelvinChM.h:76
void giveRealStressVector(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep) const override
Definition kelvinChM.C:201
const char * giveClassName() const override
Definition kelvinChM.h:72
bool hasIncrementalShrinkageFormulation() const override
Definition kelvinChM.h:91
void initializeFrom(InputRecord &ir) override
Definition kelvinChM.C:282
RheoChainMaterialStatus(GaussPoint *g, int nunits)
Definition rheoChM.C:674
RheoChainMaterial(int n, Domain *d)
Definition rheoChM.C:48
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