Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

qd-cae/qd-cae-python

Repository files navigation

qd - a CAE Python Library

Build Status Join the chat at https://gitter.im/sahat/hackathon-starter

⚠️ This library is not being developed anymore. Migrate to lasso-python if possible. It was my first open-source project and I hope it helped you in your work 🙏

This Python3 library is an open source software package with utility functions regarding engineering, especially Simulation and Computer Aided Engineering (CAE). The library is still young, so features drop in over time depending on the needs of the persons who contribute. Visit our website at http://www.qd-eng.de/

CAE suffers greatly from expensive tools with bad or moderate scripting access and utility. Also many algorithms developed in research never get published due to licensing or being very specific regarding a certain software environment. Engineering is lacking behind here in contrast to modern informatics.

"We don't want to provide another software solution,
we want, that people can build their own solutions quickly"

We believe, that CAE can not evolve, if people do not get comfortable access to the raw data and start doing their own stuff, because

"Creativity originates from freedom and simplicity."

This core idea keeps us pushing forward.

Support this project

Become a Patron

What's new?

Changelog 06.10.2019 Version 0.8.9

KeyFile:

  • Fixed a bug with extra lines of the element keyword

D3plot:

  • updated femzip decompression to version 10

Changelog 26.04.2019 ✿✿✿ Version 0.8.8

KeyFile:

  • Fixed a bug when loading deeply nested include structures

Documentation

You can find the full Documentation here. Brief module and feature list:

  1. qd.cae.dyna
  • Read D3plot
  • Read Binouts
  • Read KeyFiles
  1. qd.numerics
  • Submodule: sampling
  1. qd.cae.beta
  • MetaCommunicator (control META remotely)

Installation

Windows

For Windows (x64 Python 3.5 and higher) install by using pip. The precompiled wheels are always compiled with FEMZIP support, allowing you to read compressed files directly. Since the package is uploaded to pipy, the following should work:

pip install qd

or

python -m pip install qd

The wheels, which are used by pip, can also be found here in the dist folder. If neccessary download the appropriate one and install it with:

python -m pip install [path/to/downloaded/wheel]

The precompiled wheels include femzip decompression, which require the intel libraries libmmd.dll and libiomp5.dll to be present on your machine. You can install them in Anaconda through:

conda install icc_rt mkl

Note that your windows python distribution might not neccessarily find an appropriate version and fail. In that case one has three options:

Linux

In the dist folder usually are some precompiled Linux wheels for installation with pip. Note that Linux wheels rarely work accross different systems, so do not expect them to work and in case of trouble see the compilation guide. It's quite simple to compile it yourself on Linux (❤).

For your info the library is about 2-3 times faster on Linux than on Windows.

Compilation

If you are bold enough to compile it yourself, then follow the compilation guide.

License

See the license file.

Authors

  • codie
  • towelie
  • bala