diff --git a/doc/source/changelog/1182.added.md b/doc/source/changelog/1182.added.md new file mode 100644 index 000000000..90787b567 --- /dev/null +++ b/doc/source/changelog/1182.added.md @@ -0,0 +1 @@ +Enhance zero pressure boundary conditions \ No newline at end of file diff --git a/src/ansys/health/heart/settings/defaults/mechanics.py b/src/ansys/health/heart/settings/defaults/mechanics.py index 763fb37c7..c3cd80495 100644 --- a/src/ansys/health/heart/settings/defaults/mechanics.py +++ b/src/ansys/health/heart/settings/defaults/mechanics.py @@ -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 diff --git a/src/ansys/health/heart/writer/mechanics_writer.py b/src/ansys/health/heart/writer/mechanics_writer.py index d5f384d9d..0eacad4f1 100644 --- a/src/ansys/health/heart/writer/mechanics_writer.py +++ b/src/ansys/health/heart/writer/mechanics_writer.py @@ -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