Skip to content

my visualization scripts for computational mechanics simulations based on matplotlib

License

Notifications You must be signed in to change notification settings

lyyc199586/cm-vis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CM-VIS

My computational mechanics visualization scripts

Installation

pip install git+https://github.com/lyyc199586/cm-vis.git

Requirements

  • numpy
  • scipy
  • scikit-image
  • matplotlib
  • s3dlib
  • netCDF4

Gallery

FEM: schematic

plot schematics of simulation setups see more in ./examples

crack_scheme pf_scheme

FEM: results

plot mesh, nodal variable and elemental variable on tri and quad mesh from FEM result files. see more in ./examples

brz_post

Strength surface

plot strength surface of various type given material properties, including Von Mises, Drucker-Prager, phase field model with no split, V-D split, and spectral split, nucleation phase field models (Kumar et al. 2020 and 2022). see ./apps/ss_pmma.py

For example, plot various type of strength surface of PMMA

  • 2D contours

ss_2d_1

  • 3D isosurface

ss_3d_drucker

The contour line (in 2D) and vertices and faces of isosurface (in 3D) can be output to csv with option save=True.

About

my visualization scripts for computational mechanics simulations based on matplotlib

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages