suanPan
MooneyRivlin.h
Go to the documentation of this file.
1/*******************************************************************************
2 * Copyright (C) 2017-2024 Theodore Chang
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 ******************************************************************************/
35#ifndef MOONEYRIVLIN_H
36#define MOONEYRIVLIN_H
37
39
41 const double K;
42 const double A10, A01;
43};
44
45class MooneyRivlin final : protected DataMooneyRivlin, public Material3D {
46 static const vec weight;
47 static const vec I1E;
48 static const mat I2EE;
49 static const double one_three, two_three, four_three, five_three, eight_nine;
50
51public:
53 unsigned, // tag
54 double, // bulk modulus
55 double = 80, // a10
56 double = 20, // a01
57 double = 0. // density
58 );
59
60 int initialize(const shared_ptr<DomainBase>&) override;
61
63
64 int update_trial_status(const vec&) override;
65
66 int clear_status() override;
67 int commit_status() override;
68 int reset_status() override;
69
70 void print() override;
71};
72
73#endif
74
The Material3D class.
Definition: Material3D.h:37
The MooneyRivlin class defines a Mooney-Rivlin hyperelastic material for 3D problems.
Definition: MooneyRivlin.h:45
int initialize(const shared_ptr< DomainBase > &) override
Definition: MooneyRivlin.cpp:40
int commit_status() override
Definition: MooneyRivlin.cpp:111
int update_trial_status(const vec &) override
Definition: MooneyRivlin.cpp:50
int clear_status() override
Definition: MooneyRivlin.cpp:102
int reset_status() override
Definition: MooneyRivlin.cpp:118
MooneyRivlin(unsigned, double, double=80, double=20, double=0.)
Definition: MooneyRivlin.cpp:36
unique_ptr< Material > get_copy() override
Definition: MooneyRivlin.cpp:47
void print() override
Definition: MooneyRivlin.cpp:125
Definition: MooneyRivlin.h:40
const double A01
Definition: MooneyRivlin.h:42
const double K
Definition: MooneyRivlin.h:41
const double A10
Definition: MooneyRivlin.h:42