-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from 3MAH/add_hyperelasticity
Add hyperelasticity constitutive models
- Loading branch information
Showing
13 changed files
with
911 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
313 changes: 313 additions & 0 deletions
313
include/simcoon/Continuum_mechanics/Functions/hyperelastic.hpp
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
include/simcoon/Continuum_mechanics/Umat/Finite/generic_hyper_invariants.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* This file is part of simcoon. | ||
simcoon is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
simcoon is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with simcoon. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
///@file elastic_isotropic.hpp | ||
///@brief User subroutine for Isotropic elastic materials in 3D case | ||
///@version 1.0 | ||
|
||
#pragma once | ||
|
||
#include <armadillo> | ||
|
||
namespace simcoon{ | ||
|
||
///@brief The elastic UMAT requires 2 constants: | ||
///@brief props[0] : Young modulus | ||
///@brief props[1] : Poisson ratio | ||
///@brief props[2] : CTE | ||
|
||
///@brief No statev is required for thermoelastic constitutive law | ||
|
||
void umat_generic_hyper_invariants(const std::string &umat_name, const arma::vec &, const arma::vec &, const arma::mat &, const arma::mat&, arma::vec &, arma::mat &, arma::mat &, arma::vec &, const arma::mat &, const int &, const arma::vec &, const int &, arma::vec &, const double &, const double &,const double &,const double &, double &, double &, double &, double &, const int &, const int &, const bool &, const int &, double &); | ||
|
||
} //namespace simcoon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.