Loading [MathJax]/extensions/tex2jax.js

dune-composites (unstable)

camanhoCriterion.hh
1#ifndef CAMANHO_CRITERION_HH
2#define CAMANHO_CRITERION_HH
3
4namespace Dune{
5 namespace Composites{
6
7 double Camanho(std::vector<double>& sig, int materialType, const std::vector<double>& param){
8 assert(param.size() == 3); // Check 3 parameters are supplied for Camanho
9 assert(sig.size() == 6);
10 double s33 = param[0]; //in MPa
11 double s13 = param[1];
12 double s23 = param[2];
13
14 double maxF = sqrt(pow(std::max(sig[2],0.0)/s33,2) + pow(sig[4]/s13,2) + pow(sig[3]/s23,2));
15 if(materialType == 0){ //Only applicatble in resin layers
16 return maxF;
17 }
18 return 0.0;
19 }
20 }
21}
22#endif
23
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Apr 3, 22:46, 2025)