AneuPy : An open source Python tool for creating simulation-ready geometries of abdominal aortic aneurysms

Mario de Lucio ∗, Jacobo Díaz, Alberto de Castro, Luis E. Romera · 2025

Read AneuPy : An open source Python tool for creating simulation-ready geometries of abdominal aortic aneurysms by Mario de Lucio ∗, Jacobo Díaz, Alberto de Castro, Luis E. Romera (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-15285.txt.

Introduction

Mario de Lucio and co-authors open-source the geometry step of aneurysm risk modeling. Their 2025 paper introduces AneuPy, a Python tool that builds simulation-ready shapes of abdominal aortic aneurysms, the dangerous bulges whose rupture kills quickly and whose shape strongly shapes that risk.

Researchers modeling blood flow or wall stress had no accessible shared tool for making these geometries. AneuPy generates both idealized and patient-specific models from minimal input, with wide parameter control over diameter, asymmetry, and wall thickness. The output drops straight into finite element, fluid, or coupled simulations. By automating a tedious prerequisite, the authors hope to widen who can run patient-specific rupture studies and to make their results easier to compare.

Catalog record

CREATORMario de Lucio ∗, Jacobo Díaz, Alberto de Castro, Luis E. Romera
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE23 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2504-15285

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

AneuPy : An open source Python tool for creating simulation-ready geometries of abdominal aortic aneurysms Mario de Lucio ∗, Jacobo Díaz, Alberto de Castro, Luis E. Romera Abstract Abdominal aortic aneurysms (AAAs) are localized dilatations of the abdominal aorta that can lead to life-threatening rupture if left untreated. AAAs primarily affect older individuals, with high mortality rates following rupture, so early diagnosis and risk assessment are critical. The geometrical characteristics of an AAA, such as its maximum diameter, asymmetry, and wall thickness, are extremely significant in biomechanical models for the assessment of rupture risk. Despite the growing use of computational modeling for AAA investigation, there is a notable gap in accessible, open-source software capable of generating simulation-ready geometries for biomechanical and hemodynamic simulations. To address this gap, we introduce AneuPy , an open-source Python-based tool designed to create both idealized and patient-specific AAA geometric models. AneuPy is a fast and automated approach for generating aneurysm geometries from minimal input data, allowing for extensive parameter customization. By automating the creation of simulation-ready geometries for finite element analysis (FEA), computational fluid dynamics (CFD), or fluid-structure interaction (FSI) models, AneuPy can facilitate research in AAA and improve patient-specific risk prediction. 1 Motivation and significance Abdominal aortic aneurysms (AAAs) are localized dilatations of the abdominal aorta, defined by an expansion of the aorta to a diameter greater than 1.5 times its normal diameter [ 1 ] . While AAAs can grow asymptomatically, their potential for rupture, coupled with high associated mortality, makes them a serious global health concern. Worldwide, AAAs result in more than 175,000 deaths each year, representing about 1% of mortality in men aged over 65 years old [ 2 ] . Given this risk, early diagnosis and accurate risk assessment are vital for determining appropriate surgical intervention. The geometry of an AAA is a critical focus in biomechanical research, with factors such as aneurysm size, shape, and wall thickness directly influencing hemodynamic forces and wall stress distributions. Computational modeling has demonstrated that geometric features like maximum diameter, aspect ratio, and asymmetry significantly influence rupture risk predictions [ 3 , 4 ] . These geometric properties are known to result in more accurate patient-specific predictions, improving monitoring and treatment planning for AAAs. Beyond geometry, accurate assignment of material properties is crucial for AAA modeling, since wall thickness, fiber orientation, and local stiffness impact stress distributions and rupture risk predictions. Patient-specific geometries derived from medical imaging further enhance model accuracy, allowing for more realistic simulations of aneurysm morphology and behavior [ 5 ] . It has been shown that high-fidelity computational approaches that take advantage of patient-specific data enhance simulations and predictive capabilities [ 6 , 7 ] . Several software tools currently support the generation and analysis of AAA geometries. Commercial software like MIMICS Innovation Suite by Materialise offers robust 3D segmentation, modeling, and visualization of medical imaging data, commonly used for patient-specific simulations [ 8 ] . 3D Slicer , an open-source software platform, is widely utilized for image processing, 3D visualization, and segmentation, accommodating various computational approaches for AAA modeling [ 9 ] . Synopsys is a commercial software that has powerful capabilities for advanced geometric modeling and simulation, though primarily focused on industrial application [ 10 ] . The Vascular Modeling Toolkit (VMTK) is an open-source collection of tools committed to the generation and manipulation of vascular geometries, including mesh generation, analysis, and fluid dynamics simulations [ 11 ] . ITK SNAP is another popular open source tool, primarily utilized for image segmentation and 3D visualization, but without direct coupling to computational modeling [ 12 ] . Despite all these initiatives, these tools have a tendency to be specialized in certain aspects of geometry generation, such as segmentation or meshing, and are maybe not so well optimized for the generation of simulation-ready geometries with pre-defined biomechanical properties. The need for an streamlined but flexible tool for AAA geometry creation that is simple to use but can create idealized as well as patient-specific models has been the motivating factor behind the development of AneuPy . 2 Software description AneuPy utilizes the Python interface of SALOME [ 13 ] , an open source platform for pre- and post-processing for numerical simulations, to automate and streamline the creation of idealized geometries of abdominal aortic aneurysms. Specifically, AneuPy employs SALOME ’s Geometry module, which is accessed through the GEOM Python package. Through this interface, we leverage SALOME ’s robust CAD features to define domains, create cross-sectional geometries, interpolate shells, and obtain the final solid geometries. AneuPy is currently released under the GNU General Public License (GPLv3) [ 14 ] . The codebase is publicly accessible on GitHub https://github.com/mdeluci/AneuPy . 2.1 Architecture The cornerstone of AneuPy ’s architecture resides in the Geometry.py module, which contains all the classes necessary for the geometric modeling process. This ensures a cohesive workflow, making the software easier to navigate, and adaptable. The main components within Geometry.py are: Domain Class: Serves as the backbone of AneuPy ’s architecture. It is responsible for initializing SALOME ’s geometry module and importing all the necessary libraries by calling geomBuilder.New() . Its hierarchical building approach allows for the creation of complex 3D geometric forms (shells, solids) from simple 2D components (sections). It also contains methods to export the geometric models in various formats such as IGES, VTK, BREP or STEP. Section Class: Defines a cross section. Cross sections are defined in the XY plane and then transformed to the local coordinate system (LCS). Providing the origin is mandatory, and the default LCS is the global coordinate system (GCS). AneuPy uses circles as the geometric entity appended to the cross section. This class is also responsible for adding a circle to the section using a specified center, normal vector and radius. Shell Class: Creates a shell or surface model from multiple sectional geometries using non-Uniform rational B-splines (NURBS). The class allows detailed specification of the NURBS parameters, including minimum and maximum degrees ( theMinDeg , theMaxDeg ), tolerances for 2D and 3D operations ( theTol2D , theTol3D ), number of iterations ( theNbIter ), and sewing precision. Solid Class: Encapsulates the operations related to the final solid geometries within the SALOME platform. This class is responsible for transitioning from surface geometries to 3D solid geometries. AneuPy uses this class to create solids in two different ways: i) using MakeSolid() , which creates a solid bounded by a closed shell, or ii) MakeCut() , which performs a cut boolean operation on two given shapes. 2.2 Workflow and extensibility A typical AneuPy workflow is illustrated in Fig. 1 . The process consists of the following steps: 1. Import Centerline Data – The aneurysm’s centerline is imported as a series of XYZ coordinates. 2. Smoothing – A cubic B-spline is applied to reduce noise in the centerline data. 3. Point of Interest (POI) Extraction – Key locations along the centerline are identified for further processing. 4. Curve Interpolation – A smooth B-spline curve is generated using SALOME ’s MakeInterpol() function. 5. Cross-Section Generation – At each POI, the Section class computes the tangent vector and creates a cross-sectional plane. 6. Radius and ILT Thickness Interpolation – Local radius and intraluminal thrombus (ILT) thickness are interpolated, and a

Read the complete text