I want to create a sel file and write into it wind information every 300 seconds( let’s say).
I use my mesh file and I am adding wind variables from Blue Kenue.Although I can modify the results and the number of time steps, the file cannnot take the time step. As a result, the new file can be animated in Blue Kenue but time is 00:00:00 even though step and frame are working.
I think that the telstepw.m script uses the current time AT and not the time step DT. You should try to use it by incrementing it at each time step: m.AT = m.AT + m.DT.
m.AT is the time in seconds since your time origin stored in m.IDATE.
I want to know that does tomawac reads the wind file created by matlab for the required duration of simulation?? As per the tomawac manual (v7p2r3) it only reads the selafin files created as a result of telemac run!! In that situation can somebody suggest about how tomawac can read the wind files generated through matlab (although the format is in selafin and it is having a particular time steps as well as a particular duration.)
Tomawac can read both of them: wind file generated by a previous telemac2D simulation, or an home-made wind data file following the right selafin standards.