Hi all,
I jump onto this subject to add my own observation, and also ask for help (please, let me know if I need to open a new topic) :
Looking into read_sections_telemac2d.f help me a lot understanding the differents cases. I understood that for a parallel run using coordinates, 1 (or any positive number ?) is the only solution to undertake the specific case when a section is across different meshes.
Is it correct? Maybe only this point may be clarified...
---
This come to my problem :
I use 40 sections (SECTIONS INPUT and OUTPUT FILE specified in the cas) and 600 buses (CULVERT DATA FILE specified in the cas, along with number and option=2).
AND i use a modified user_fortran buse.F according to
www.openmascaret.org/index.php/assistanc...rmatted-results-file to write buses discharges in a file.
Now, there is an error during the first step of graphic output (the run start correctly, parallel mode, steering flag 1 in sections.
ETAPE DE DIFFUSION-PROPAGATION
At line 563 of file C:\Users\erwan.cabon\Desktop\2014_K3_v8_05s\cas.txt_2021-02-16-14h33min40s\user_fortran\buse.F (unit = 9, file = 'C:\Users\erwan.cabon\Desktop\2014_K3_v8_05s\cas.txt_2021-02-16-14h33min40s\T2DSEC00001-00001')
CULVERT 1 DISCHARGE OF 0.10196072903454953 M3/S
Fortran runtime error: Cannot write to file opened for READ
job aborted:
If I delete the user_fortran buse.f and the FORMATTED RESULTS FILE, the run finish successfully and I have my discharge through controle section.
If I delete the SECTIONS INPUT and OUTPUT FILE, the run finish successfully and I have my discharge through my buses.
So I think there is conflict beetween them but I can't figure out were.
T2DRFO ? Private variable N use in buse.f?
If I use the steering flag 0 in section, it run in scalar mode with buses and section output but not in parallel.
Same error if I use global numbers of node instead of coordinates (and the -1 flag).
Any idea how to solve this ?
thanks