OOFEM 3.0
Loading...
Searching...
No Matches
maxwellChM.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 maxwellchm_h
36#define maxwellchm_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 "MaxwellChainMaterialStatus"; }
59};
60
61
62
68{
69public:
71
72 // overload thesse function such that computation of hidden vars can be done after the computation of stress
73 void giveRealStressVector(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep) const override;
74 void computeHiddenVars(GaussPoint *gp, TimeStep *tStep) const;
75
76 // identification and auxiliary functions
77 const char *giveClassName() const override { return "MaxwellChainMaterial"; }
78 void initializeFrom(InputRecord &ir) override;
79
81 GaussPoint *gp,
82 TimeStep *tStep,
83 ValueModeType mode) const override
84 { answer.clear(); }
85
87 GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const override;
88
89 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override;
90
91protected:
92 bool hasIncrementalShrinkageFormulation() const override { return false; }
107 FloatArray computeCharCoefficients(double tPrime, GaussPoint *gp, TimeStep *tStep) const override;
108
109 double giveEModulus(GaussPoint *gp, TimeStep *tStep) const override;
110 // LinearElasticMaterial *giveLinearElasticMaterial();
111};
112} // end namespace oofem
113#endif // maxwellchm_h
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
Definition maxwellChM.C:288
void saveContext(DataStream &stream, ContextMode mode) override
Definition maxwellChM.C:307
MaxwellChainMaterialStatus(GaussPoint *g, int nunits)
Definition maxwellChM.C:283
const char * giveClassName() const override
Definition maxwellChM.h:58
void restoreContext(DataStream &stream, ContextMode mode) override
Definition maxwellChM.C:313
void updateYourself(TimeStep *tStep) override
Definition maxwellChM.C:295
const char * giveClassName() const override
Definition maxwellChM.h:77
FloatArray computeCharCoefficients(double tPrime, GaussPoint *gp, TimeStep *tStep) const override
Definition maxwellChM.C:49
void giveRealStressVector(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep) const override
Definition maxwellChM.C:197
void computeHiddenVars(GaussPoint *gp, TimeStep *tStep) const
Definition maxwellChM.C:207
void initializeFrom(InputRecord &ir) override
Definition maxwellChM.C:276
MaxwellChainMaterial(int n, Domain *d)
Definition maxwellChM.C:44
void giveEigenStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const override
Definition maxwellChM.C:150
void giveShrinkageStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const override
Definition maxwellChM.h:80
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
Definition maxwellChM.C:269
double giveEModulus(GaussPoint *gp, TimeStep *tStep) const override
Evaluation of the incremental modulus.
Definition maxwellChM.C:106
bool hasIncrementalShrinkageFormulation() const override
Definition maxwellChM.h:92
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