Dear All,
I am learning to use TelApy module using the estimation from examples. I encounter a problem while trying to change the friction coefficient using "set()" method. As mentioned in the user manual, the coordinates are not necessary while changing the scalar variable as far as I understand. So I exectued the code "my_problem.set('MODEL.CHESTR',15)" and it gives me follwing error in terminal:
At line 172 of file /home/sone/telemac-mascaret/v8p0r2/sources/api/api_handle_var_t2d.f
Fortran runtime error: Index '1' of dimension 1 of array 'inst%chestr%r' above upper bound of 0
and for "my_problem.get('MODEL.CHESTR')" this error:
At line 93 of file /home/sone/telemac-mascaret/v8p0r2/sources/api/api_handle_var_t2d.f
Fortran runtime error: Index '1' of dimension 1 of array 'inst%chestr%r' above upper bound of 0
However, both commands doesn't give any error if I executed the "my_problem.init_state_default()" first. Anyway, this doesn't help me as I have to change before initialization.
Please kindly suggest me what could be the error and how should I fix it. It is working with setting other variable like Number of time steps. Thank you so much for your help and time.
Best Regards,
Htun