3. Description of the macr_gouj2e_mail function#

3.1. Purpose of macr_gouj2e_mail#

Create command files GIBI in units UNITD and UNITP.

3.2. Syntax#

Macr_Gouj2e_Mail


(

♦ TYPE =/”M33”, [TXM] /”M64”, /”M90”, /”M115”, /”M155”, /”M180”, /”M186”,

♦ VARIANTE =/”A”, [TXM] /”B”, /”C”, /”D”, /”E”, /”F”, /”G”, /”H”, /”I”, /”J”, /”K”, /”L”, /”M”, /”N”, /”O”, /”P”, /”Q”, /”R”, /”S”, /”T”, /”U”, /”V”, /”W”, /”X”, /”Y”, /”Z”,

♦ NB_FILET = Nf, [I] ♦ H_ CORP_BRID = H_body_bridle, [R] ♦ R_ EXT_BRID = Reb, [R] ◊ H_ HAUT_BRID =/H_high_flange, [R] /0.0D0, [DEFAUT] ◊ H_ BAS_BRID =/H_bottom_flange, [R] /0.0D0, [DEFAUT] ◊ FILET_ABST = Thread_number, [L_I]

♦ UNITD = 70, [I]

♦ UNITP = 71, [I]

)

3.3. Geometric definition of the stud-flange connection#

The stud-flange assemblies concerned here are those that keep the tank lid or manhole plate closed.

_images/10001BFC000069D5000045F8CF1EC4D4748C13CB.svg

Figure 3.3-a: description of the various geometric parameters of the stud-flange assembly


The internal radius of the flange, the external radius of the stud as well as the step or the height of a thread are characteristic quantities of a given assembly. These last three sizes are therefore not accessible to the user.

All dimensions (lengths) must be given in millimeters. If the user gives values for the heights of the top of the flange and the bottom of the flange, these cannot be less than one millimeter.


3.4. Operands#

3.4.1. Operand TYPE#

♦ TYPE =/'M33', [TXM]

/”M64”, /”M90”, /”M115”, /”M155”, /”M180”, /”M186”,

This operand makes it possible to indicate the type of characteristics that one wants to include, for example, the type “M186” corresponds to the tank lid stud of the N4 bearing.

3.4.2. Operand VARIANTE#

♦ VARIANTE =/'A', [TXM]

/”B”, /”C”, /”D”, /”E”, /”F”, /”G”, /”H”, /”I”, /”J”, /”K”, /”L”, /”M”, /”N”, /”O”, /”P”, /”Q”, /”R”, /”S”, /”T”, /”U”, /”V”, /”W”, /”X”, /”Y”, /”Z”,

This operand makes it possible to specify the variant in the type of characteristic that one wants to include.

3.4.3. Operand NB_FILET#

♦ NB_FILET = Nf [I]

Theoretical total number of threads in a stud-flange connection.

3.4.4. Operand H_ CORP_BRID#

♦ H_ CORP_BRID = H_body_bridle [R]

Height of the flange body in millimeters. The flange body is the part of the flange that engages with the threads.

3.4.5. Operand R_ EXT_BRID#

♦ R_ EXT_BRID = Reb [R]

Value of the external radius of the flange in millimeters.

3.4.6. Operand H_ HAUT_BRID#

◊ H_ HAUT_BRID = H_high_flange [R]

Height of the top of the flange in millimeters.

3.4.7. Operand H_ BAS_BRID#

◊ H_ BAS_BRID = H_low_bridle [R]

Height of the bottom of the flange in millimeters.

3.4.8. Operand FILET_ABST#

◊ FILET_ABST = Thread_number [L_I]

This keyword allows you to indicate the list of missing threads, if applicable (see [Figure 3.3-a]).

3.4.9. Operand UNITD#

♦ UNITD = 70 [I]

Logical unit number that contains the user parameters and the start of the file containing the mesh instructions (gouj1.datg).

3.4.10. Operand UNITP#

♦ UNITP = 71 [I]

Number of the logical unit that contains the instructions for eliminating any missing threads and the end of the file containing the mesh instructions (gouj2.datg).

Note:

The strong.70 ( UNITD = 70 ) and strong.71 ( UNITP = 71 ) files are executed in a chained manner by GIBI using the instruction GIBI: « OPTI DONN “.. /fort.71 “; » which is at the end of the file gouj1.datg , so the file fort.70. The two keywords UNITDet **** UNITPsont entered at the time of defining the function****macr_gouj2e_mail**.

3.5. example#

INCLUDE (UNITE = 38,)


TYPE = 'M155'

VARIANTE = 'A'

NB_FILET = 56

H_ CORP_BRID = 225.0

R_ EXT_BRID = 140.0

H_ HAUT_BRID = 200.0

H_ BAS_BRID = 0.0

FILET_ABST = (3, 4,)


macr_gouj2e_mail (TYPE, VARIANTE, NB_FILET, H_ CORP_BRID, R_ EXT_BRID,

H_ HAUT_BRID, H_ BAS_BRID, FILET_ABST,)


loc_tools=aster.repout ()


EXEC_LOGICIEL (LOGICIEL =loc_tools+'gibi',

ARGUMENT =( _F (NOM_PARA ='strong.70'),

_F (NOM_PARA ='strong.19')),);


PRE_GIBI ()


MAIL = LIRE_MAILLAGE ()


MAIL = DEFI_GROUP (reuse = MAIL,

MAILLAGE = MAIL,

CREA_GROUP_NO =( _F (NOM =' NDFILETS ',

GROUP_MA =' CORPSGOU ',

CRIT_NOEUD =' TOUS '))),)

Notes:

The command INCLUDE allows the commands that define all stud-flange assemblies to be included. The data required to build the mesh is retrieved by the function macr_gouj2e_mail from the information indicated in the operands: TYPE and VARIANTE .

The operands UNITD and UNITP are not entered when using the macr_gouj2e_mail function because they are entered during the definition of this last one.

In the command EXEC_LOGICIEL , “gibi” and “gibi2000” correspond to the 2000 version of Gibi on the Aster machine (Alpha Server) .