Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

KratosMedApplication-9.5.0-cp312-cp312-win_amd64.whl (470.3 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

KratosMedApplication-9.5.0-cp311-cp311-win_amd64.whl (469.6 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

KratosMedApplication-9.5.0-cp310-cp310-win_amd64.whl (469.6 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

KratosMedApplication-9.5.0-cp39-cp39-win_amd64.whl (468.6 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

KratosMedApplication-9.5.0-cp38-cp38-win_amd64.whl (469.5 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page