2. Syntax#

spectrum = DEFI_SPEC_TURB (
    ◆/SPEC_LONG_COR_1 = _F (
           ◆ LONG_COR = float,
           ◆ PROF_VITE_FLUI = formula/tablecloth/function,
           ◆ VISC_CINE = float,
        ),
      /SPEC_LONG_COR_2 = _F (
           ◆ LONG_COR = float,
           ◆ PROF_VITE_FLUI = formula/tablecloth/function,
           ◇ FREQ_COUP = float (default: 0.1),
           ◇ PHI0 = float (default: 0.0015),
           ◇ BETA = float (default: 2.7),
        ),
      /SPEC_LONG_COR_3 = _F (
           ◆ LONG_COR = float,
           ◆ PROF_VITE_FLUI = formula/tablecloth/function,
           ◇ FREQ_COUP = float (default: 0.2),
           ◇ PHI0_1 = float (default: 0.005),
           ◇ BETA_1 = float (default: 0.5),
           ◇ PHI0_2 = float (default: 4e-05),
           ◇ BETA_2 = float (default: 3.5),
        ),
      /SPEC_LONG_COR_4 = _F (
           ◆ LONG_COR = float,
           ◆ PROF_VITE_FLUI = formula/tablecloth/function,
           ◆ TAUX_VIDE = float,
           ◇ BETA = float (default: 2.0),
           ◇ GAMMA = float (default: 4.0),
        ),
      /SPEC_CORR_CONV_1 = _F (
           ◆ LONG_COR_1 = float,
           ◇ LONG_COR_2 = float,
           ◆ VITE_FLUI = float,
           ◆ RHO_FLUI = float,
           ◇ FREQ_COUP = float,
           ◇ K = float (default: 0.0058),
           ◆ D_ FLUI = float,
           ◇ COEF_VITE_FLUI_A = float,
           ◇ COEF_VITE_FLUI_O = float,
           ◇ METHODE =/"AU_YANG ",
                       /"GENERALE" (by default),
                       /"CORCOS ",
        ),
      /SPEC_CORR_CONV_2 = _F (
           ◆ FONCTION = formula/tablecloth/function,
           ◆ LONG1_F = formula/tablecloth/function,
           ◆ LONG2_F = formula/tablecloth/function,
           ◆ VITE_FLUI = float,
           ◇ FREQ_COUP = float,
           ◇ METHODE =/"AU_YANG ",
                       /"CORCOS ",
           ◇ COEF_VITE_FLUI_A = float,
           ◇ COEF_VITE_FLUI_O = float,
        ),
      /SPEC_CORR_CONV_3 = _F (
           ◆ TABLE_FONCTION = table_function,
        ),
      /SPEC_FONC_FORME = _F (
           ◆/INTE_SPEC = interspectrum,
             /GRAPPE_1 =/"DEBIT_180 ",
                          /"DEBIT_300 ",
           ◇ & FONCTION = table_function,
           ◆ GROUP_NO = big,
           ◆ CARA_ELEM = cara_elem,
           ◆ MODELE = model,
        ),
      /SPEC_EXCI_POINT = _F (
           ◆/INTE_SPEC = interspectrum,
             /GRAPPE_2 =/"ASC_CEN ",
                          /"ASC_EXC ",
                          /"DES_CEN ",
                          /"DES_EXC ",
           # If: exists (" INTE_SPEC ")
               ◆ NATURE =/"FORCE ",
                          /"MOMENT ",
               ◆ ANGLE = float,
               ◆ GROUP_NO = big,
           # If: exists (" GRAPPE_2 ")
               ◆ RHO_FLUI = float,
               ◆ GROUP_NO = big,
           ◆ CARA_ELEM = cara_elem,
           ◆ MODELE = model,
        ),
    ◇ TITRE = text,
)

◆: mandatory
◇: optional
: present by default
&: together
/: only one among
|: several possible choices