Back to index
The purpose of MEDSPLITTER is to split MED files into a series of other MED files forming a partition of the original MED files. It can either work with serial meshes (1 to n) or distributed meshes (p to n). For serial meshes, it accepts MED files from the 2.1 version onwards. For distributed MED files, it accepts MED files from the 2.3 version onwards.
There exists a parallel version of MEDSPLITTER, which accepts distributed MED files only. In contrast to the ordinary MEDSPLITTER the parallel one distributes several usual MED files composing the whole model among available processors. After the partitioning, each processor writes only it's own part of the distributed MED file. The parallel MEDSPLITTER processes meshes only, not fields.
It can be used either as an executable, medsplitter (or medsplitter_para) or as a library. The partitioning is made thanks to one of the following library :
The arguments to the medsplitter tool can be retrieved by calling :
For Salome V4.1.0, one gets the following arguments (some of them are unavailable in parallel version):
Available options: --help : produces this help message --mesh-only : do not create the fields contained in the original file(s) --distributed : specifies that the input file is distributed --input-file=<string> : name of the input MED file --output-file=<string> : name of the resulting file --meshname=<string> : name of the input mesh (not used with --distributed option) --ndomains=<number> : number of subdomains in the output file, default is 1 --plain-master : creates a plain masterfile instead of an XML file --creates-boundary-faces: creates the necessary faces so that faces joints are created in the output files --family-splitting : preserves the family names instead of focusing on the groups
The purpose of RENUMBER is to renumber the cell of a mesh in order to make numerical computation easier. This tool works with meshes which contain only one cell type and can renumber it according to two different methods:
It can be used in this way :
renumber MEDFile_in MeshName Method[BOOST/METIS] MEDFile_out
generates a med file named myfile.sauv.med
med2sauv operator is the operator that is inverse of sauv2med. Its behaviour is symmetrical.
generates a sauv file named myfile.med.sauv