Skip to main content

A reader to extract LS-DYNA results

Project description

LS-Reader Project

The LS-Reader is designed to read LS-DYNA results and can extract the data of more than 100 such as stress, strain, id, history variable, effective plastic strain, number of elements and so on now. The LS-Reader provides an uniform interface for getting these data. For convenience, input parameters, like number of state, number of integration point, are designed as keyword arguments.

How to use

from lsreader import D3plotReader
from lsreader import DataType as dt

data_path = your/d3plot/file/path
dr = D3plotReader(data_path)

shell_stress = dr.get_data(dt.D3P_SHELL_STRESS, ist=0, ipt=1)
print(shell_stress[0].x())

shell_eps = dr.get_data(dt.D3P_SHELL_EFFECTIVE_PLASTIC_STRAIN, ist=0, ipt=1)
print(shell_eps[0])

thickness = dr.get_data(dt.D3P_SHELL_THICKNESS, ist=0, ipt=1)
print(thickness[0])

num_solid_element = dr.get_data(dt.D3P_NUM_SOLID, ist=0, ipt=1)
print(num_solid_element)

The examples and documents for this project is available here.

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 Distributions

lsreader-0.0.7-cp37-cp37m-win_amd64.whl (220.9 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

lsreader-0.0.7-cp37-cp37m-manylinux2010_x86_64.whl (504.1 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

lsreader-0.0.7-cp36-cp36m-win_amd64.whl (220.9 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

lsreader-0.0.7-cp36-cp36m-manylinux2010_x86_64.whl (504.1 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

lsreader-0.0.7-cp35-cp35m-win_amd64.whl (221.4 kB view hashes)

Uploaded CPython 3.5m Windows x86-64

lsreader-0.0.7-cp35-cp35m-manylinux2010_x86_64.whl (504.1 kB view hashes)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

Supported by

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