KRATOS Multiphysics ("Kratos") is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Project description
MedApplication
The Med Application an interface to the MED-library. This library writes med-files, which contain mesh, field results and other data, and is based on HDF5. This format is used by Salome and Code_Aster.
Installation
The MED-library is an external library, which must be installed before the application can be compiled
Ubuntu
On Ubuntu, it can be installed with sudo apt-get install libmedc-dev
. This installs all required dependencies, including HDF5
The source code is available on the Salome website for a manual installation. In this case also HDF5 needs to be installed separately.
Use MED_ROOT
to specify the path to the MED installation in the CMake of Kratos.
Arch / Manjaro
Packages related to Salome and MED for arch-based distros can be installed from the AUR. The MedApplication requires med-serial (for non-MPI builds) or med-openmpi (for MPI builds with OpenMPI).
sudo pacman -S med-serial med-openmpi
Usage
- In Salome, mesh groups are translated into SubModelParts. Different geometries and nodes can be added.
- SubSub ... Modelparts can be created by specifying a name with
.
. I.e. like it usually works in Kratos - The number of characters is restricted in Med: 64 for main mesh name, and 80 for groups. Everything beyond these limits is cut.
Development
- Use HDFView to inspect the med-files.
- Make sure to check the return value of every med-library function call.
- The med library does not check if wrong data is written to the file. This must be ensured by the user, the med-library is a thin wrapper around HDF.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for KratosMedApplication-9.5.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 903ac485290cc6d91c854c921b6fd3be91c76743289458e6594bcf50e8cb273d |
|
MD5 | cd327aa04d47c6bb73960dfbcb821f99 |
|
BLAKE2b-256 | 01b0aebb4ae6fb42b7dd9a815d893e8c99252fa4a3b0b1b05d66961415ad9023 |
Hashes for KratosMedApplication-9.5.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63750c799d70136b97e008d97bd2d5306186ed7b82a9cc905e47891cac0a33d1 |
|
MD5 | e2b690dc1bc8f9cd9da8139ea8a60c76 |
|
BLAKE2b-256 | bedb702838687265b10855f036b24f16c07a82131c8329c98bf44cfc9d162e1d |
Hashes for KratosMedApplication-9.5.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 327cfc2de1876727567e37baff773c7c005ca1407f3ebfc3af958597bcd61794 |
|
MD5 | da2dd6dd68f19485711d27c58ba504d2 |
|
BLAKE2b-256 | 3378164638b678589f48dfd82c573c3e2fd77d04a5e1e751eb32a80087eb690a |
Hashes for KratosMedApplication-9.5.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca54e3450a3189efcbad042d4ef9d56ae539ca0d542ec68dc566723a4082b819 |
|
MD5 | 597df03b85f16454a3256f1192a33547 |
|
BLAKE2b-256 | 6f0d05d75cb7f19a98e82f6013093f30735b208913ac89595637b1b9d4ad80ec |
Hashes for KratosMedApplication-9.5.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf0335813c722c82f26601c3b0871e7665947cea98ab86f71df6c2c975b73ead |
|
MD5 | db72ccea08ab09b1bc83c3905f05c2e7 |
|
BLAKE2b-256 | a58ea0b803a3288567f2a22a1ccd7a29c522a17d5ae5c2414ad66352c1ad6109 |