Hello,
I’m modelling a surge storm with TELEMAC2D (v7p3). I succeed to simulate varying wind and pressure in space and time by loading a “ASCII ATMOSPHERIC DATA FILE”. Now I would like to program a “COEFFICIENT OF WIND INFLUENCE” varying in space and time (which depends on waves characteristics and calculated by another model). In the same way, I wrote this coefficient varying in time and space in the “ASCII ATMOSPHERIC DATA FILE”, I succeed to load the data in the subroutine “METEO.f” however I’m not able to write this data in a new output variable useable in PROSOU.f. I declared this new variable in declarations_telemac2d.f, I modified as well telemac2d.F, telemac2d_init.F and interface_telemac2d.f in which a CALL METEO() is done. Compilation succeed however the execution stop when writing coefficient in the new output variable with the error “Program received signal SIGSEGV: Segmentation fault - invalid memory reference. Backtrace for this error:”. I tried as well to store this data in the PRIVE%ADR(1)%P%R(K) table. Compilation worked but the execution also stopped when writing data in this table with the same error. I recognize my limited knowledge in Fortran, but is it a new variable declaration problem?
thanks for your help.
Mikaël