Explore chapters and articles related to this topic
Introduction to Python
Published in Dr Arzhang Angoshtari, Ali Gerami Matin, Finite Element Methods in Civil and Mechanical Engineering, 2020
Dr Arzhang Angoshtari, Ali Gerami Matin
There are several Python packages for plotting and visualization such as Matplotlib, Mayavi, and Easyviz. Matplotlib is the standard package for plotting curves. The common statement for importing this package is > > > import matplotlib.pyplot as plt
Evaluating the biomechanical characteristics of cuffed-tracheostomy tubes using finite element analysis
Published in Computer Methods in Biomechanics and Biomedical Engineering, 2021
Dhananjay Radhakrishnan Subramaniam, Liran Oren, J. Paul Willging, Ephraim J. Gutmark
A previous experimental study involving animal models of the trachea described the importance of accounting for residual stresses and strains in the unloaded configuration of the trachea (Han and Fung 1991). As described in our previous study, the scans of the trachea were obtained during peak exhalation (Subramaniam et al. 2019), which indicates that estimation of an unloaded configuration of the trachea was necessary prior to cuff inflation. A previous study that described tracheal pressure measurements in healthy subjects using bronchoscopy (Nishine et al. 2012) reported a peak exhalation pressure equivalent to 3.4 cm H2O. Using ABAQUS Explicit, we derived the unloaded geometry of the tracheal wall considered in our study for the aforementioned value of peak exhalation pressure. We used the unloaded configuration and the resulting residual stresses and strains as the initial condition for the subsequent airway-sealing simulations. To seal the airway, we prescribed a frictionless sliding contact between the cuff and the trachea lumen. We constrained the superior and inferior nodes of the trachea to derive the unloaded geometry and simulate airway sealing. As described for the ex-vivo simulations, we performed in-vivo simulations of cuff inflation for a cuff pressure equivalent to 34 cm H2O. It should be noted that we assumed the derivation of the unloaded geometry, ex-vivo and in-vivo cuff inflations as quasi-static. To quantify the sealing efficacy, we computed the 3 D signed distance between the in-vivo cuff geometry and the inner wall of the trachea using CloudCompare 2.11 (Girardeau-Montaut et al. 2005) and mapped the values on the surface of the cuff. Next, to post-process the simulation results in Mayavi (Ramachandran and Varoquaux 2011), we converted the ABAQUS Output Database (.odb) files to the Visualization Toolkit (.vtk) format using Abapy (Charleux et al. 2016).
Manufacturability analysis for additive manufacturing using a novel feature recognition technique
Published in Computer-Aided Design and Applications, 2018
Yang Shi, Yicha Zhang, Steven Baek, Wout De Backer, Ramy Harik
The following paragraph describes the approach adopted to recognize solid model features. For more detailed algorithm, readers are directed e.g. to [5].The application presented is developed in Python and uses the MayaVi visualization engine. The input data is a triangular mesh with coordinates and vertices listed in a text file, and bears resemblance to an STL file. The mesh can be generated through a variety of software, including any finite element analysis software.
Experimental approach for early corrosion detection in pipelines using contact thermometry
Published in Nondestructive Testing and Evaluation, 2022
The computer programmes for FEM, and LM method was coded in Python platform. The thermal images were plotted using MayaVi library in Python [34]. The details of the thermal modelling (FEM) and the optimisation algorithm (LM method) are given in subsequent sections.