Hello Hong again,
Very strange that Python scripts do not stop you immediately.
I have just tried the goutted example with a v8p1 release and I get:
Traceback (most recent call last):
File "/data/rd/projets/projets.002/systel.002/old_release/v8p1r1/scripts/python3/telemac2d.py", line 7, in <module>
main('telemac2d')
File "/mnt/.tgvdv2/projets/projets.002/systel.002/old_release/v8p1r1/scripts/python3/runcode.py", line 272, in main
run_study(cas_file, code_name, options)
File "/mnt/.tgvdv2/projets/projets.002/systel.002/old_release/v8p1r1/scripts/python3/execution/run_cas.py", line 154, in run_study
my_study = Study(steering_file, code_name, options.w_dir)
File "/mnt/.tgvdv2/projets/projets.002/systel.002/old_release/v8p1r1/scripts/python3/execution/study.py", line 93, in __init__
self.cas = TelemacCas(self.steering_file, self.dico_file)
File "/mnt/.tgvdv2/projets/projets.002/systel.002/old_release/v8p1r1/scripts/python3/execution/telemac_cas.py", line 70, in __init__
self._check_choix()
File "/mnt/.tgvdv2/projets/projets.002/systel.002/old_release/v8p1r1/scripts/python3/execution/telemac_cas.py", line 213, in _check_choix
.format(key, value, list_choix))
utils.exceptions.TelemacException: In t2d_gouttedo_Colebrook.cas:
The value for LAW OF BOTTOM FRICTION (7)is not among the choices:
{'4': 'MANNING', '0': 'NO FRICTION', '3': 'STRICKLER', '1': 'HAALAND', '5': 'NIKURADSE', '2': 'CHEZY'}
As expected.
Just to understand, have you done a classical installation or a tuned one with some non standard parts?
Can you please share your steering file + enclose the whole output file from your running command to the error message you got: "THE LAW OF BOTTOM FRICTION 7 IS ASKED GIVE THE CORRESPONDING FRICTION COEFICIENT" (I can see a mistake in COEFFICIENT, to be changed).
Maybe you should use another law of bottom friction as it does not seem to be expected.
Thanks,
Chi-Tuan