Giter Site home page Giter Site logo

xdf321 / matplotlib-4-abaqus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from solid-mechanics/matplotlib-4-abaqus

0.0 0.0 0.0 8.16 MB

allow abaqus(v6.14-1) to use matplotlib in its build-in python scripts environment.

License: MIT License

Python 99.48% HTML 0.10% CSS 0.12% JavaScript 0.30%

matplotlib-4-abaqus's Introduction

matplotlib-4-abaqus

Allow abaqus(v6.14-1) to use matplotlib in its build-in python scripts environment.

The advantage to let abaqus python use matplotlib module is you can use python to read your abaqus odb file and operate the result data like stress and strain, and the plot it out and save as pdf or eps file that can used in latex.

Good news

abaqus 2020 officially include matplotlib (2.2.4)!

python modules

This project include the following python modules. ONLY tested on abaqus 6.14-1.

  • matplotlib (1.3.1)
  • dateutil (2.4.1)
  • six (1.9.0)
  • pyparsing (2.0.3)

how it works

Copy the python modules to the abaqus python package folder:

...\SIMULIA\Abaqus\6.14-1\tools\SMApy\python2.7\Lib\site-packages

test

  • Run the python script matplotlib_test.py in abaqus CAE. if abaqus build-in python can include the matplotlib module successfully, there will be a plot window pop out.

  • Run the python scripttest_link_mpl_toolkits.py in abaqus CAE, to test if the abaqus python can import mpl_toolkits module.

known bugs:

  • only works on Windows platform;
  • On Windows 10, it seems that you cannot run the .py in CAE(CAE will dead). You should use matplotlib under Abaqus command line:
abaqus cae -noGUI xxx.py

License

matplotlib-4-abaqus is under the MIT License.

matplotlib-4-abaqus's People

Contributors

x-g avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.