Skip to main content

Wheel file of pyFDEMvisualizer modules 5.1

Project description

Metadata-Version: 2.1 Name: pyFDEMvisualizer Version: 5.1 Summary: Wheel file of pyFDEMvisualizer modules 5.1 Home-page: UNKNOWN Author: University of Toronto, 2022 License: UNKNOWN Platform: UNKNOWN Requires-Python: >=3.5,<=3.9 Description-Content-Type: text/markdown

pyFDEMvisualizer - An FDEM Visualiser Post-Processing Package

V5.1

University of Toronto, 2022

This Python package performs transformations on FDEM models in vtk/vtu format. Functions calculated include:

  • Extract information within the FDEM Model based on the name of the array (e.g., Stress, Strain, Temperature, etc...) Works in 2D and 3D.
  • Extract stress-strain information for UCS and BD Simulations (Works in 2D and 3D). Optional addition of virtual strain gauges (Limited to 2D).
  • Plotting stress vs strain curve.
  • Calculate the Elastic Modulus of the dataset. Eavg, Esec and Etan can be evaluated. Works in 2D and 3D.
  • Extract information of a particular cell based on a sequence of array names. This can be extended to extracting information along a line. Works in 2D and 3D.
  • Extract information of a threshold dataset criteria based on a sequence of array names. Works in 2D and 3D.
  • Extract mesh information and plot rosette/polar plots. Limited to 2D.
  • Automatic detection/ User-defined assigment of loading direction when analysing mechanical simulations, namely UCS, BD, and PLT, in both 2D and 3D simulations.

How to use it - Termimal

  1. After installation is complete, in a terminal/cmd session where you keep your Python projects, type the following command:
    python
    
  2. In terminal, import fdem-visualizer module like so:
    import pyFDEMvisualizer as fd
    
  3. Specify the path to folder where your models (.vtk, .vtu files) are located on your machine.
    model = fd.Model("abs_model_path_on_machine")
    
  4. You are ready to start using openfdem! See the operating module for full description of functions available.

Example OpenFDEM Functions

  1. Getting number of points in your model:

    model.n_points
    

    Output:

    11904
    
  2. Getting the stress-strain for platen:

        model.complete_stress_strain(progress_bar=True)
    

    Output:

        >>>Script Identifying Platen
        >>>Platen Material ID found as [1]
        >>>Progress: |//////////////////////////////////////////////////| 100.0% Complete
        >>>1.51 seconds
            Platen Stress  Platen Strain
        0    0.000000e+00       0.000000
        1    4.825237e+00       0.009259
        2    9.628823e+00       0.018519
        3    1.441437e+01       0.027778
        4    1.919164e+01       0.037037
        ..            ...            ...
        57   2.036137e-30       0.240741
        58   2.036137e-30       0.250000
        59   2.036137e-30       0.259259
        60   2.036137e-30       0.268519
        61   2.036137e-30       0.277778
    
        [62 rows x 2 columns]
        >>> 
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyFDEMvisualizer-5.1-py2.py3-none-any.whl (42.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyFDEMvisualizer-5.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pyFDEMvisualizer-5.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 42.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pyFDEMvisualizer-5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1f8342bff7ad4e3f893b139f4f79e9d544f3d352b8fdb16942db69e2695864a8
MD5 82e00530f94e199c19f937afd9cdf663
BLAKE2b-256 6ff3964366a40a9a6206a76512df583f5a1166468a46817a5d7572bd752040d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page