suanPan
Loading...
Searching...
No Matches
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 ******************************************************************************/
31#ifndef MOONEYRIVLIN_H
32#define MOONEYRIVLIN_H
33
35
37 const double K;
38 const double A10, A01;
39};
40
41class MooneyRivlin final : protected DataMooneyRivlin, public Material3D {
42 static const vec weight;
43 static const vec I1E;
44 static const mat I2EE;
45 static const double one_three, two_three, four_three, five_three, eight_nine;
46
47public:
49 unsigned, // tag
50 double, // bulk modulus
51 double = 80, // a10
52 double = 20, // a01
53 double = 0. // density
54 );
55
56 int initialize(const shared_ptr<DomainBase>&) override;
57
58 unique_ptr<Material> get_copy() override;
59
60 int update_trial_status(const vec&) override;
61
62 int clear_status() override;
63 int commit_status() override;
64 int reset_status() override;
65
66 void print() override;
67};
68
69#endif
70
The Material3D class.
Definition Material3D.h:37
The MooneyRivlin class defines a Mooney-Rivlin hyperelastic material for 3D problems.
Definition MooneyRivlin.h:41
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:36
const double A01
Definition MooneyRivlin.h:38
const double K
Definition MooneyRivlin.h:37
const double A10
Definition MooneyRivlin.h:38