4. Examples#

4.1. Extractions of functions on the dynamic response of a pipe network#

tran_gen = DYNA_VIBRA (...)


l_inst = DEFI_LIST_REEL (DEBUT = 0. ,

INTERVALLE = _F (JUSQU_A = 3., PAS = 0.005))


dyn_tran = REST_GENE_PHYS (RESU_GENE = tran_gen, NOM_CHAM = 'DEPL',

LIST_INST = l_inst, INTERPOL = 'LIN')


dyn_tran = CALC_CHAMP ( ... ,

CONTRAINTE = 'SIEF_ELGA')


tab_rele = POST_RELEVE_T (ACTION =_F (INTITULE = 'six_254',

CHEMIN = line,

RESULTAT = dyn_tran,

NOM_CHAM = 'SIEF_ELGA',

INST = 2.54,

TOUT_CMP = 'OUI',

OPERATION = 'EXTRACTION'))

4.1.1. Evolution of the movement of the node NO01 component “DX” at all times of calculation#

f1 = RECU_FONCTION (RESU_GENE = tran_gen, NOM_CHAM = 'DEPL',

GROUP_NO = 'GNO01', NOM_CMP = 'DX')

4.1.2. Evolution of the quantity “SIXX” on mesh MA01 at node NO01 at all times of calculation#

f2 = RECU_FONCTION (RESULTAT = dyn_tran, NOM_CHAM = 'SIEF_ELGA',

GROUP_MA = 'GMA01', GROUP_NO = 'NO01', NOM_CMP =' SIXX ')

4.1.3. Evolution of the quantity “SIXX” along the pipe line at the time of calculation 2.54 s#

f3 = RECU_FONCTION (TABLE = tab_rele,

PARA_X = 'ABSC_CURV', PARA_Y = 'SIXX')

Evolution of the quantity “SIXX” along the pipe line (curvilinear abscissa greater than 10) at the time of calculation 2.54 s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

f4 = RECU_FONCTION (TABLE = tab_rele,

FILTRE = _F (NOM_PARA = 'ABSC_CURV',

CRIT_COMP = 'GE',

VALE = 10.,),

PARA_X = 'ABSC_CURV', PARA_Y = 'SIXX')

4.2. Extracting functions from a melasflu data structure#

meles1 = CALC_FLUI_STRU (…)

f_freq = RECU_FONCTION (BASE_ELAS_FLUI = meles1,

PARA_X = “VITE_FLU”,

PARA_Y = “FREQ”,

TOUT_ORDRE = “OUI”,

NUME_MODE = 2

)

4.3. Extracting functions in an interspectrum data structure#

reppx_ac = REST_SPEC_PHYS (…)

statx_ac = POST_DYNA_ALEA (INTERSPECTRE = _F (INTE_SPEC = reppx_ac,

OPTION = “DIAG”,

)

)

f_freq = RECU_FONCTION (INTE_SPEC = statx_ac,

NOEUD_I = “N_ TUB_01 “,

NOM_CMP_I = “DX”,

)