• Aucun résultat trouvé

Procedure INCLUDE Code_Aster

N/A
N/A
Protected

Academic year: 2022

Partager "Procedure INCLUDE Code_Aster"

Copied!
3
0
0

Texte intégral

(1)

Code_Aster Version default

Titre : Procédure INCLUDE Date : 30/11/2017 Page : 1/3

Responsable : COURTOIS Mathieu Clé : U4.13.01 Révision :

c6ff7d474cc1

Procedure INCLUDE

1 Goal

It is a question of inserting a succession of orders which will be carried out almost such as they are written. There is no possibility of passing from the arguments.

Only the results of the orders are exported in the principal command set, not the other objects. For example, a function Python defined in a formula could not be used in a formula.

Precaution: It is disadvised using the order TO DESTROY in a INCLUDE. Indeed, the total analysis of the command file by the supervisor before the execution itself of those can pose problem after suppression of a concept.

Warning : The translation process used on this website is a "Machine Translation". It may be imprecise and inaccurate in whole or in part and is provided as a convenience.

Copyright 2019 EDF R&D - Licensed under the terms of the GNU FDL (http://www.gnu.org/copyleft/fdl.html)

(2)

Code_Aster Version default

Titre : Procédure INCLUDE Date : 30/11/2017 Page : 2/3

Responsable : COURTOIS Mathieu Clé : U4.13.01 Révision :

c6ff7d474cc1

2 Syntax

INCLUDE ( ♦ / UNIT = U , [I]

/ DATA = file [TXM]

◊ INFORMATION = / 0 ,

/ 1 , [DEFECT]

/ 2 , )

Warning : The translation process used on this website is a "Machine Translation". It may be imprecise and inaccurate in whole or in part and is provided as a convenience.

Copyright 2019 EDF R&D - Licensed under the terms of the GNU FDL (http://www.gnu.org/copyleft/fdl.html)

(3)

Code_Aster Version default

Titre : Procédure INCLUDE Date : 30/11/2017 Page : 3/3

Responsable : COURTOIS Mathieu Clé : U4.13.01 Révision :

c6ff7d474cc1

3 Operands

Except the site of the file included, operation is strictly identical with UNIT or DATA.

3.1 Operand UNIT

UNIT = U

Logical unit of the file to be included. It is essential to explicitly assign this number to a file within the interface astk. This file will be recopied in the repertoire of execution under the name fort.u.

Notice

One cannot use INCLUDE with a logical unit associated with a file name with DEFI_FICHIER. If necessary, one can use DONNEE=fichier.

3.2 Operand DATA

DATA = file

This keyword, rather intended to be used in the CAS-test, makes it possible to include a file stored in the repertoire of “external data”.

The site of this repertoire is given with the installation. In general it is about a named repertoire datg in the repertoire of the version.

The file included will be thus: chemin_vers_datg/file

This operation with an off-set file, makes it possible to diffuse the file .comm of a test except a small portion who will contain for example data not divulguables.

3.3 Operand INFORMATION

◊ INFORMATION = / 0,

/ 1, [DEFECT]

/ 2,

0 pas d' impression of the contents of the file included.

1 impression of the contents of the file included, in the file ‘MESSAGE’

2 identical to 1 (this value exists by convention)

4 Example of use

• Main file of orders:

BEGINNING ()

INCLUDE (UNITE=91, INFORMATION = 1) Mo = AFFE_MODELE ( GRID = my,

AFFE = _F ( TOUT=' OUI',

PHENOMENE=' MECANIQUE', MODELISATION=' 3D') ) INCLUDE (UNITE=92, INFO= 1)

END ()

• Command file attached to unit 91 my = LIRE_MAILLAGE ()

• Command file attached to unit 92

lbew = DEFI_FONCTION ( NOM_PARA = ‘INST’,

VALE = ( 0.0 , -0.19949,

0.01000, -0.25487,

# etc…

) )

Warning : The translation process used on this website is a "Machine Translation". It may be imprecise and inaccurate in whole or in part and is provided as a convenience.

Copyright 2019 EDF R&D - Licensed under the terms of the GNU FDL (http://www.gnu.org/copyleft/fdl.html)

Références

Documents relatifs

In its decision dated May 5, 2017, the Board of Directors of the Company, subject to adoption of the twenty-fifth resolution of the Combined General Shareholders' Meeting of May

Affine has signed a contract for the purchase of a 2,900 sqm office building in Toulouse from its developer, the GA Group, for the sum of €7.9m including transfer taxes..

Ce fonctionnement avec un fichier déporté, permet de diffuser le fichier .comm d'un test sauf une petite partie qui contiendra par exemple des données non divulguables. 3.3 Opérande

This operation with an off-set file, makes it possible to diffuse the file .comm of a test except a small portion who will contain for example data not divulguables.. 3.3 Operand

Ce fonctionnement avec un fichier déporté, permet de diffuser le fichier .comm d'un test sauf une petite partie qui contiendra par exemple des données non divulguables. 3.3 Opérande

Although ISO 2022 specifies special additional escape sequences to indicate the use of revised character sets, it is suggested here not to make use of this special escape

Service type templates define the syntax of service: URLs for a particular service type, as well as the attributes which accompany a service: URL in a service

The User Control and Communication Module (UCC) implements protocol sufficient for a process to communicate with a foreign HOST’s logger and to make initial