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.4.6-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eaf1c7b0e023c90655fe0065b47ba766171d8d471e4056e8ecb2a675202302f |
|
MD5 | d5c64837227ecda616d46cd20e23458d |
|
BLAKE2b-256 | d2ecd9af8e4f063556dc2bcb1efd6d7c617a04aba7b7f9217836c0d4abfb0d94 |
Hashes for KratosMedApplication-9.4.6-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 819f61e28ea6bea9dcc78386ca449afc3d0b881558c377329034d2b9ba14ef69 |
|
MD5 | 2c024161dad641204643d316f49feb51 |
|
BLAKE2b-256 | 22c95f36bce3d4c49994159690a3ede188dc35db313ae6e81cd54f7eeb47dad4 |
Hashes for KratosMedApplication-9.4.6-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b645771d6e9ca2535fa14c203e54649d7d7b8f5a334c131c8282dfbaffbb44b4 |
|
MD5 | a9395f31e290ad19b99b743be1ca3cfd |
|
BLAKE2b-256 | 7f418d4724b07b59bd24a9921e52a74c4b3179e67564c3edbdba1ea5a979da89 |
Hashes for KratosMedApplication-9.4.6-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67aef261838dcdb98f6d684e1abec3880f296e124a96e40effd14e2022069dcb |
|
MD5 | 3aed37d3b5e112659c807adfb9c7c414 |
|
BLAKE2b-256 | 7b3f4437994080d8537c79138edb0a51fb59f656dcc99dba06ce0fc7a98b75d5 |