OOFEM 3.0
Loading...
Searching...
No Matches
doublepowerlaw.C
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#include "doublepowerlaw.h"
36#include "mathfem.h"
37#include "classfactory.h"
38
39namespace oofem {
41
42void
43DoublePowerLawMaterial :: initializeFrom(InputRecord &ir)
44{
45 MaxwellChainMaterial :: initializeFrom(ir);
46
52}
53
54
55double
56DoublePowerLawMaterial :: computeCreepFunction(double t, double t_prime, GaussPoint *gp, TimeStep *tStep) const
57{
58 // computes the value of creep function at time t
59 // when load is acting from time t_prime
60 // t-t_prime = duration of loading
61
62 double e0 = 1.50 * E28;
63
64 double h1 = pow(t - t_prime, n);
65 double h2 = pow(t_prime, -m) + alpha;
66 double h3 = fi1 / e0;
67
68 return 1. / e0 + h1 * h2 * h3;
69}
70} // end namespace oofem
#define REGISTER_Material(class)
double fi1
Basic creep coefficient.
double E28
Young modulus at age of 28 days [MPa].
#define _IFT_DoublePowerLawMaterial_fi1
#define _IFT_DoublePowerLawMaterial_n
#define _IFT_DoublePowerLawMaterial_alpha
#define _IFT_DoublePowerLawMaterial_m
#define _IFT_DoublePowerLawMaterial_e28
#define IR_GIVE_FIELD(__ir, __value, __id)
Definition inputrecord.h:67

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