Skip to content

Different material models for ChamberSphere - #243

Merged
mrp089 merged 45 commits into
SimVascular:masterfrom
KatrinKoesler:material_choice
Aug 14, 2026
Merged

Different material models for ChamberSphere#243
mrp089 merged 45 commits into
SimVascular:masterfrom
KatrinKoesler:material_choice

Conversation

@KatrinKoesler

Copy link
Copy Markdown
Collaborator

Different material models for ChamberSphere

Current situation

As highlighted in #240 currently the ChamberSphere has a Mooney-Rivlin material model and to change to a new material model, a new ChamberSphere would have to be implemented.

Release Notes

  • Added SphereMaterial file where the stress response of the material taking into account the material model is calculated and then fed into ChamberSphere
  • Added an exponential material model to SphereMaterial that is inspired by the Holzpfel-Ogden model for cardiac tissue but reformulated for a 0D sphere
  • Added a test case with a closed loop circulation for ChamberSphere with the exponential material model

Testing

All tests pass

Code of Conduct & Contributing Guidelines

…ged files to add this new block type to be used in a circuit model
…n the maximum number of iterations is reached
…based on max./min. volume and max. pressure in pv loop from Sharifi et al. 2024
…erial coice in input file. Changed ChamberSphere to accomodate different materials. Changed other files to include the new ChamberSphere and SphereMaterial structure. Changed input files to use the materials.
…al parameters now. All tests pass now, but not yet included test cases for closed loop and simple expmat test case
@KatrinKoesler
KatrinKoesler requested a review from mrp089 August 11, 2026 13:07

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@mrp089 mrp089 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @KatrinKoesler! A view details on splitting up passive+visco and smaller readability things.

Comment thread tests/cases/chamber_sphere_closed_loop.json Outdated
Comment thread src/model/SphereMaterial.h Outdated
Comment thread src/model/SphereMaterial.h Outdated
Comment thread src/model/ChamberSphere.h Outdated
Comment thread src/model/SphereMaterial.cpp
@KatrinKoesler

Copy link
Copy Markdown
Collaborator Author

I addressed all the comments, so ready to re-review! Viscosity is now back in the ChamberSphere block, so could be put into a SphereViscosity block in the future if we want to add other alternative viscosity models.

@mrp089
mrp089 merged commit fce1592 into SimVascular:master Aug 14, 2026
10 checks passed
@KatrinKoesler
KatrinKoesler deleted the material_choice branch August 14, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants