Skip to content
This repository was archived by the owner on Oct 22, 2026. It is now read-only.

FEAT: handle incompressibility consistently - #909

Merged
wenfengye merged 32 commits into
mainfrom
meca_mat
Mar 12, 2025
Merged

wenfengye merged 32 commits into
mainfrom
meca_mat

Conversation

@wenfengye

@wenfengye wenfengye commented Mar 7, 2025 •

Copy link
Copy Markdown
Member

It has been a mess, but I believe I can draw some final conclusions.

Generally, incompressibility must be carefully managed to avoid numerical issues. If Poisson's ratio (nu) is too high (nu > 0.4999), the stiffness matrix becomes ill-conditioned, which can lead to convergence problems. On the other hand, if nu < 0.49, LS-DYNA will issue a warning, and the assumption of nearly incompressibility for hyperelastic materials no longer holds, it can also lead to divergence.

In past, nu is set constaly to 0.499, it leads to a bulk modulus (kappa) close to 1 MPa with a template passive material (k1 = 0.00236), which works well. However, with the Gulektin material where k1 = 0.0004, the resulting kappa=0.2 is too low and never converged. Based on my recent tests with the Gulektin material, the simulation converges well when kappa is greater than or equal to 0.4 (nu > 0.4995). However, this is not a definitive conclusion, as the stiffness of the fibers from the anisotropic part also influences the results, making the situation quite complex.
Moreover, a high value of kappa can lead to increased oscillations (as observed in the control volume pressure), even if the simulation has converged. A kappa to shear modulus ratio of 100 appears to be recommended.
image.

Regarding the isotropic stiff (Neo-Hookean) parts used for the stiff base, aorta... kappa of 1 MPa is too low compared to the shear modulus (mu) of 0.1 MPa, which also leads to divergence. A more balanced choice is kappa = 10 MPa, as updated in this pull request.

That said, the situation isn't entirely resolved. ETYPE=13 typically suggests using the same kappa for connected parts, but we’re currently deviating from that guideline. One solution is to replace the these parts with ETYPE=10 by neglecting locking issue on these parts, which could be explored in the future if necessary. However, based on my current testing, the existing settings seem to work fine, and this change does not offer significant improvements.

wenfengye and others added 25 commits February 14, 2025 19:54
Bumps [ansys-dyna-core](https://github.com/ansys/pydyna) from 0.6.1 to 0.7.1.
- [Release notes](https://github.com/ansys/pydyna/releases)
- [Changelog](https://github.com/ansys/pydyna/blob/main/CHANGELOG.md)
- [Commits](ansys/pydyna@v0.6.1...v0.7.1)

---
updated-dependencies:
- dependency-name: ansys-dyna-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Martijn <102799582+mhoeijm@users.noreply.github.com>
Co-authored-by: Martijn <102799582+mhoeijm@users.noreply.github.com>
Co-authored-by: Martijn <102799582+mhoeijm@users.noreply.github.com>
@wenfengye wenfengye changed the title FEAT: Meca mat FEAT: handle incompressibility consistently Mar 7, 2025
@wenfengye
wenfengye marked this pull request as ready for review March 7, 2025 13:35
Comment thread src/ansys/heart/core/models.py Resolved
@wenfengye
wenfengye enabled auto-merge (squash) March 12, 2025 09:49
@wenfengye
wenfengye merged commit 9dc34d3 into main Mar 12, 2025
@wenfengye
wenfengye deleted the meca_mat branch March 12, 2025 10:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants