Skip to content

Commit

Permalink
Fix Issue #597
Browse files Browse the repository at this point in the history
  • Loading branch information
thelfer committed Jul 3, 2024
1 parent 4bdb91d commit e743467
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/web/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ pandoc_html(release-notes-3.3.2 "--toc" "--toc-depth=2" "--number-sections" "-
pandoc_html(release-notes-3.3.3)
pandoc_html(release-notes-3.3.4 "--toc" "--toc-depth=2" "--number-sections")
pandoc_html(release-notes-3.3.5 "--toc" "--toc-depth=2" "--number-sections")
pandoc_html(release-notes-3.3.6 "--toc" "--toc-depth=2" "--number-sections")
pandoc_html(release-notes-3.4 "--toc" "--toc-depth=2" "--number-sections")
pandoc_html(release-notes-3.4.1 "--toc" "--toc-depth=2" "--number-sections")
pandoc_html(release-notes-3.4.2 "--toc" "--toc-depth=2" "--number-sections")
Expand Down
1 change: 1 addition & 0 deletions docs/web/mfront-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
<li><a href="release-notes-3.3.3.html">Version 3.3.3</a></li>
<li><a href="release-notes-3.3.4.html">Version 3.3.4</a></li>
<li><a href="release-notes-3.3.5.html">Version 3.3.5</a></li>
<li><a href="release-notes-3.3.6.html">Version 3.3.6</a></li>
</ul>
</li>
<li><a>Versions 3.4.x</a>
Expand Down
24 changes: 24 additions & 0 deletions docs/web/release-notes-3.3.6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: Release notes of the 3.3.6 version of `TFEL`, `MFront` and `MTest`
author: Thomas Helfer
date: 14/01/2022
lang: en-EN
numbersections: true
documentclass: article
from: markdown+tex_math_single_backslash
geometry:
- margin=2cm
papersize: a4
link-citations: true
colorlinks: true
figPrefixTemplate: "$$i$$"
tblPrefixTemplate: "$$i$$"
secPrefixTemplate: "$$i$$"
eqnPrefixTemplate: "($$i$$)"
---

# Issues fixed

## Issue 597: Using the elastic material properties exported the behaviour is broken for orthotropic behaviours in the `Cast3M` interface

For more details, see <https://github.com/thelfer/tfel/issues/597.
7 changes: 4 additions & 3 deletions mtest/src/CastemStandardBehaviour.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -291,14 +291,15 @@ namespace mtest {
set_emp("PoissonRatio23", 4);
set_emp("PoissonRatio13", 5);
if ((h == ModellingHypothesis::PLANESTRAIN) ||
(h == ModellingHypothesis::PLANESTRESS) ||
(h == ModellingHypothesis::AXISYMMETRICAL) ||
(h == ModellingHypothesis::GENERALISEDPLANESTRAIN) ||
(h == ModellingHypothesis::TRIDIMENSIONAL)) {
set_emp("ShearModulus12", 3);
set_emp("ShearModulus12", 6);
}
if (h == ModellingHypothesis::TRIDIMENSIONAL) {
set_emp("ShearModulus23", 4);
set_emp("ShearModulus13", 5);
set_emp("ShearModulus23", 7);
set_emp("ShearModulus13", 8);
}
} else {
tfel::raise(
Expand Down

0 comments on commit e743467

Please sign in to comment.