Attributes that should not be or are not modifiable through the GUI are defined in (and modifications must be made through) included accessory files. The accessory files include Python scripts (.py), input files (.inp), an Abaqus environment file (.env), and xml text files (.xml). Python scripts are used to perform keyword editing, to automatically run procedures (for example, the ventricular fiber orientation) that are not supported by 3DEXPERIENCE, and automatic postprocessing of results (for example, ECG generation). Input files contain predefined material definitions for the electrical and mechanical analyses. The xml file describes the logic for keyword editing. The sections that follow describe the procedures and or mechanisms to define model attributes through the accessory files. Some of these attributes might be hard wired (for example, groups), so you should not modify them because the Model execution might not run to completion. There are other attributes that might be visible (and modifiable) in the user interface but are also hard wired and should not be changed for the same reasons. Nonmodifiable attributes are identified within this Tips for Modifying the Heart Model section. Keyword EditingA Python script (inputFileModify.pyc) is used to make keyword edits to the default Model. This script uses instructions contained in 3 .xml files to modify the input file:
Keyword editing is used for the following definitions:
Modification to keyword editing through the .xml files is required when introducing any additional unsupported (through the user interface) features into the Model. The following two Python scripts are provided to facilitate editing of .xml files for the mechanical analysis:
Modifying Material Property Parameter ValuesTable 1 shows the accessory files used to assign material properties to each region of the Model. To change the material definition of any region, you must update the corresponding material accessory file. As indicated in the table, unique mechanical material accessory files are used for preload analysis (file names with “mech-umat” prefixes) and the heart beat cycles (file names with “mech-mat” prefixes).
Do not change the assigned material names or section definitions used in the material property definitions. Changing their names can cause the Model to fail when you run it. Fiber Orientation Assignments for VentriclesThe fiber orientation definition procedure used for the ventricles is described in Ventricle Fiber Orientation. The definition uses groups used for fiber orientation assignment for ventricle parts as shown in Table 2 that should not be modified or deleted. Fiber orientations in the ventricles are generated in 3 steps:
Element and Node NumberingNode and element numbering for each meshed part must fall within a predetermined
range. Upon any refinement of the mesh, those bounds might need to be expanded. For
example, the ventricle part (Ventricles_Mechanical_FEMrep) nodes and elements range
is 1 to 400,000. To edit the upper bound of this range, both the Numbering Manager
AND the value for the ![]() Pericardium DefinitionThe stiffness of the pericardium is characterized by a maximum stiffness value, : where is a sigmoid function of the apicobasal location (Z): The apicobasal location ranges from 0 at the apex to 1 at the base, as shown in Figure 2, with stiffness being highest at the apex and gradually decreasing to zero toward the base. The parameter determines the horizontal shift of the curve; a smaller value shifts the curve to the left, a larger value shifts the curve to the right. The parameter affects the steepness of the curve's transition, or the width of the drop; a larger value results in a slower and more gradual transition. ![]() A Python script (Code11_Write_Pericardium_Connectors.py) reads the local transmural vector and apicobasal location for each node on the exterior face of the ventricles, and establishes an axial connector that is oriented radially with stiffness based on this function. Chordae Insertion LocationsThe ties between the leaflets and chordae are modeled in Abaqus using the “Node-to-Surface” approach, as shown in Figure 3. This approach establishes tie constraints by determining which nodes on the leaflet surface (denoted as “primary nodes” on the element-based surface shown in red dots) are closest to each secondary node (chordae insertion node – denoted as a “secondary node” – on the truss element shown in blue cross). The position of the secondary node is then modified to distribute the load as evenly as possible over the leaflet and minimize local element distortion. As shown in the figure, when the chordae insertion node is located at the center of an element face (Center), less element distortion results compared to when it is offset from the center toward one of the associated leaflet surface nodes (Small offset), or one that is coincident with a node on the element face (Coincident). ![]() Groups are used to update the chordae insertion coordinates and should not be modified or deleted. A python script (Code12_Update_Chordae_Insertion_Coords.py) reads these groups and outputs an include file with the updated chordae insertion coordinates.
Element Type RestrictionsOnly second order tetrahedral elements (C3D10) are supported for meshing the ventricles, atria and vasculature (AA, PT, SVC). Changing the element type (bricks, first order tetrahedral elements) in the GUI is not blocked, but doing so will create a fiber orientation assignment error. Only incompatible mode eight-node brick elements (C3D8I) or a combination of C3D8I and triangular prism elements (C3D6) are supported for meshing the valve leaflets. Similarly, changing these element types (for example, to C3D4 or C3D10) in the user interface is not blocked, but doing so results in an error when updating the chordae insertion coordinates. Output RequestsThe following output requests are included in the model and are used to run the analyses. As such they should not be modified or simulations might fail and postprocessing scripts will not run properly:
Adding or Removing Heart Beat CyclesBy default, two heart beat cycles are performed for the model. Adding cycles might be desirable after deploying a device to eliminate any transient effects. Removing the second cycle might be desirable when seeking to reduce runtime.
Performing a Mechanical Analysis OnlyIf the temporal and spatial solution of the electrical response in the heart is NOT required as an input to the mechanical model for your particular study, the Model can be simplified and efficiency gains realized by instead activating the mechanical contraction through the temporal (but nonspatially) varying electrical impulse instead. With this approach, differences testing has shown that the pressure and volume responses is expected to be less than 6% for atrial and ventricular chambers because of these simplifications. To bypass the entire electrical analysis, all steps related to computing fiber orientations, both electrical analyses, and the post-processing steps related to extracting activation and ECG can be deactivated. In addition, instead of using the LH_Electrical_Analysis.odb as the temperature field for the activation, a time-varying but spatially uniform electrical excitation for the atria and ventricles with an AV delay (Figure 4) can be applied. ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||