Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/source/changelog/1182.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Enhance zero pressure boundary conditions
2 changes: 1 addition & 1 deletion src/ansys/health/heart/settings/defaults/mechanics.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
# TODO: align names with cavity/part names.
# https://doi.org/10.3389/fphys.2018.00539
"left_ventricle": Quantity(15, "mmHg"),
"left_atrial": Quantity(15, "mmHg"),
"left_atrial": Quantity(8, "mmHg"),
"right_ventricle": Quantity(8, "mmHg"),
"right_atrial": Quantity(8, "mmHg"),
# # https://doi.org/10.1016/j.jbiomech.2020.109645
Expand Down
13 changes: 11 additions & 2 deletions src/ansys/health/heart/writer/mechanics_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,17 @@ def _get_contraint_caps(self) -> list[CapType]:
]

if isinstance(self, ZeroPressureMechanicsDynaWriter):
# add additional constraint to avoid rotation
constraint_caps.extend([CapType.PULMONARY_VALVE])
constraint_caps.extend(
[
# add additional constraint to avoid rotation
CapType.PULMONARY_VALVE,
# add additional constraint to on atrial
CapType.INFERIOR_VENA_CAVA,
CapType.LEFT_INFERIOR_PULMONARY_VEIN,
CapType.LEFT_SUPERIOR_PULMONARY_VEIN,
CapType.LEFT_ATRIUM_APPENDAGE,
]
)

return constraint_caps

Expand Down
Loading