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).
yay -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
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
File details
Details for the file KratosMedApplication-10.1.0-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: KratosMedApplication-10.1.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 343.8 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.31.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/6.8.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03da7175f04e6b45784cabeb22ff4a00165fee2f71508d4ae75f764e043238ab |
|
MD5 | 9f429f336f89f580dd58fc7551e4c3fc |
|
BLAKE2b-256 | 7f7438661cbb0c78dc738e083d528ed1bbf605cbfbe0e5ec5a073d53ef72d965 |
File details
Details for the file KratosMedApplication-10.1.0-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: KratosMedApplication-10.1.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 343.3 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.31.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/6.8.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f14cab63fcec77fa638fd149cff7e22d7b650c415dbd373f7faab127f376da88 |
|
MD5 | 811c9c1a3a5824f843497b0e8ffab1a8 |
|
BLAKE2b-256 | 7d2a824d94333b5c2d6cc75333433a8ce65a4f136fc316fc1fdc72532642ae09 |
File details
Details for the file KratosMedApplication-10.1.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: KratosMedApplication-10.1.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 342.5 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.31.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/6.8.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7191b092e3488040808cf6bf889961ba040c202a0c8b630194a6009cdeb57b49 |
|
MD5 | 192ef90185f714919770426386208a56 |
|
BLAKE2b-256 | b30228339a7a4def7481e512c56793e19f52343fa8dfab7cce2419cb8a02311c |
File details
Details for the file KratosMedApplication-10.1.0-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: KratosMedApplication-10.1.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 341.2 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.31.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/6.8.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e6ac949bedc2e49f425075d647d4351a85b72fe0179d70e38bf6698a154053b |
|
MD5 | 120ad9a5683bdef2cebb239ad10ab388 |
|
BLAKE2b-256 | 1d2086f520f9688665800a33404689218f16736dd70dd5fb22a4b2ac3141174d |
File details
Details for the file KratosMedApplication-10.1.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: KratosMedApplication-10.1.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 342.5 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.31.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/6.8.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56edd8560a7cf0540053a5c41be1c47fe041c04ba1d8e6d35292789f8e7b0c09 |
|
MD5 | 4c590ccdfffd765b561c9b8397b4b56c |
|
BLAKE2b-256 | 017e8422a09ceea74f19860399e8c13167793ad1495bcd638b3682be571aee1f |