4. Examples#

4.1. Example: reading a EUROPLEXUS mesh#

The universal file IDEAS (logic unit 19) reads the EUROPLEXUS hydrodynamic wire mesh and transforms it into the Code_Aster format written on the unit 22. The mesh EUROPLEXUS in Code_Aster format is then re-read and placed in the mesh-type concept.

PRE_IDEAS (UNITE_IDEAS =19, UNITE_MAILLAGE =22)

Implexus = LIRE_MAILLAGE (UNITE =22,)

4.2. Example: creating a result of type “evol_char”#

The fluid pressure field as a function of time can be read on the universal file IDEAS. This field, defined on the hydrodynamic wire mesh of EUROPLEXUS (in the format of Code_Aster), is then projected onto the mechanical mesh of Code_Aster for all the moments of definition.

presplex= LIRE_PLEXUS (UNITE = 19,

FORMAT = “IDEAS”, MAIL_PLEXUS = plexus, MAILLAGE = master, MODELE = modaster, TOUT_ORDRE = “OUI”, )

4.3. Example: use of the “evol_char” result#

The concept “evol_char” previously defined is used under keyword EVOL_CHAR to manufacture a loading.

char= AFFE_CHAR_MECA (MODELE = modaster,

… EVOL_CHAR = presplex, )

Other examples of using the LIRE_PLEXUS operator can be found in the command files for test case ZZZZ112, models A, B, C [:external:ref:`V1.01.112 <V1.01.112>`].