A quick example of using python with the Dash, pyvista, and the dash_vtk libraries to import and view unstructured grid data in the browser

Look ma! A mesh without the rainbow!

Introduction

Years ago I dabbled in VTK-python building a couple applications using pyQt that could display and slice structural Finite Element Analysis mesh & results. Recently…


...and how to deal with large user input files in Dash apps

Background Video by NASA-Imagery from Pixabay

Plotly’s Dash framework is a great Python library for quickly and easily making interactive web apps without coding HTML or JavaScript! Moviepy is an excellent library for programmatically editing video files. However, out-of-the-box Dash is subject to browser storage limits which makes working with storage-hungry video files difficult. This article will cover how we can use np-8’s Dash-uploader library to get around the ~100MB–200MB browser storage limits which opens Dash apps up to very large user input files (video or data). We will also touch on thedirtyfew’s ServerSideOutput (part of dash-extensions) which allows for easy storing of data on the…


Phew! A journey (by examples) to get all the parts to come together to build a scalable template for multiple Dash apps deployed together with unified navigation and authentication

Image by Alexas_Fotos from Pixabay

Full disclosure: I am not an expert in developing web applications. I don’t even consider myself a data scientist. Since I found Dash I have been on a journey to build a system that works for my use-case. This includes trying to glue together multiple loosely related groups of Dash apps developed using a windows computer but deployed to an Ubuntu VM behind a company’s firewall. Add in some authentication that users wont hate (i.e. …


Post processing modal effective mass and potential energy in Ansys Mechanical using MAPDL commands

Image by minka2507 from Pixabay

Ansys is a commercial Finite Element Analysis (FEA) package with a robust set of structural analysis tools. One unique feature of the Ansys structural solver is the ability to script commands using simple comma-delimited Mechanical Ansys Parametric Design Language (MAPDL). Whether using the Ansys classic interface or the modern Ansys Mechanical via the Workbench tool, MAPDL can be very useful for pre-processing models and/or post-processing results. This article covers some MAPDL commands to export potential (aka strain energy) and kinetic energy from Ansys.

My use of energy results typically fall into one of the following categories:

  1. Determine which components are…


Defining & post processing joints with MAPDL

Image by Pavlofox from Pixabay

Ansys is a commercial Finite Element Analysis (FEA) package with a robust set of structural analysis tools. One unique feature of the Ansys structural solver is the ability to script commands using simple comma-delimited Mechanical Ansys Parametric Design Language (MAPDL) commands. Whether using the Ansys classic interface or the modern Ansys Mechanical via the Workbench interface, MAPDL can be very useful for pre-processing models and/or post-processing results. This article covers some MAPDL commands to export joint element forces & moments as well as some strategies for working with joints in Ansys Mechanical.

Why Joints?


Methods to compute mass properties about arbitrary coordinate systems using MAPDL commands

Mass Matters! (credit: xibarodays on Pixaby)

Ansys is a commercial Finite Element Analysis (FEA) package. While Ansys has acquired and integrated many different analysis tools, its implicit structures package is robust and well-supported. One unique feature of Ansys for its implicit structural solver is the ability to script commands using simple comma-delimited MAPDL commands. whether using the Ansys classic interface or the modern Ansys Mechanical via the Workbench interface, MAPDL can be very useful for pre-processing models and/or post-processing results. This article covers some MAPDL commands to extract mass properties of the whole or parts of a model about user-defined coordinate systems.

When performing dynamic finite…

Steve Kiefer

Aerospace structural analyst and python enthusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store