TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Keywords derived from read_med

read_med

Synonyms: lire_med

Inherits from: interprete

Keyword to read MED mesh files where 'domain' corresponds to the domain name, 'file' corresponds to the file (written in the MED format) containing the mesh named mesh_name.

Note about naming boundaries: When reading 'file', TRUST will detect boundaries between domains (Raccord) when the name of the boundary begins by 'type_raccord_'. For example, a boundary named type_raccord_wall in 'file' will be considered by TRUST as a boundary named 'wall' between two domains.

NB: To read several domains from a mesh issued from a MED file, use Read_Med to read the mesh then use Create_domain_from_sub_domain keyword.

NB: If the MED file contains one or several subdomaine defined as a group of volumes, then Read_MED will read it and will create two files domain_name_ssz.geo and domain_name_ssz_par.geo defining the subdomaines for sequential and/or parallel calculations. These subdomaines will be read in sequential in the datafile by including (after Read_Med keyword) something like:

Read_Med ....

Read_file domain_name_ssz.geo ;

During the parallel calculation, you will include something:

Scatter { ... }

Read_file domain_name_ssz_par.geo ;

Parameters:

  • [convertalltopoly] (type: flag) Option to convert mesh with mixed cells into polyhedral/polygonal cells
  • domain | domaine (type: string) Corresponds to the domain name.
  • file | fichier (type: string) File (written in the MED format, with extension '.med') containing the mesh
  • [mesh | maillage] (type: string) Name of the mesh in med file. If not specified, the first mesh will be read.
  • [exclude_groups | exclure_groupes] (type: list of str) List of face groups to skip in the MED file.
  • [sub_zones | sous_zones] (type: list of str) List of subzones to keep in the MED file and write directly in the .geo
  • [include_additional_face_groups | inclure_groupes_faces_additionnels] (type: list of str) List of face groups to read and register in the MED file.

lire_med_64

Inherits from: read_med

Did the same thing as Read_MED for big (64b) domain

Parameters:

  • [convertalltopoly] (type: flag) Option to convert mesh with mixed cells into polyhedral/polygonal cells
  • domain | domaine (type: string) Corresponds to the domain name.
  • file | fichier (type: string) File (written in the MED format, with extension '.med') containing the mesh
  • [mesh | maillage] (type: string) Name of the mesh in med file. If not specified, the first mesh will be read.
  • [exclude_groups | exclure_groupes] (type: list of str) List of face groups to skip in the MED file.
  • [sub_zones | sous_zones] (type: list of str) List of subzones to keep in the MED file and write directly in the .geo
  • [include_additional_face_groups | inclure_groupes_faces_additionnels] (type: list of str) List of face groups to read and register in the MED file.