Welcome, Guest
Username: Password: Remember me

TOPIC: Wave direction vector fields in TOMAWAC

Wave direction vector fields in TOMAWAC 11 years 5 months ago #8845

Hello everybody.

I'm a relatively new TELEMAC user, mostly working with TOMAWAC and TELEMAC-2d.

I would really appreciate some advice on how to create a vector field of wave direction from the results of TOMAWAC.

My idea was to manipulate the data in the TOMAWAC resu2d selafin file in order to create the vector field components from the wave direction value and afterwards create the vectors, but I had trouble generating an appropriate file (e.g. ASCII that I could work with in MATLAB).

Thank you for you help.

Best regards
Achilleas
The administrator has disabled public write access.

Wave direction vector fields in TOMAWAC 11 years 5 months ago #9098

  • Elodie
  • Elodie's Avatar
Hello,

I personally do that when post-processing my results (with fudaa prepro but you can of course use matlab). As you can print the mean wave direction DMOY (in your 2D results file), you only have to plot then the vectors : (sin(TETA_MOY*3.1416/180) ; cos(TETA_MOY*3.1416/180))

Of course, this will correspond to you mean waves vector field (as Tomawac gives you a wave spectrum at each point of your mesh).

Regards,

Elodie
The administrator has disabled public write access.

Wave direction vector fields in TOMAWAC 11 years 5 months ago #9106

Thank you Elodie for the response and help.

Regarding the vectors: where should I use these commands in post-processing?

I would also want to impose the vector field on the image of the wave height field, but in FUDAA I cannot do that for wave direction; moreover all values are represented (so it ends up in a mess).

Any way I could extract the wave height & direction data in a *txt or *dat format to create the graphs as I want them?

Best regards
Achilleas
The administrator has disabled public write access.

Wave direction vector fields in TOMAWAC 11 years 5 months ago #9137

  • Elodie
  • Elodie's Avatar
Hello,

In fudaa :

For creating the vectors, you have first to create the two variables sin(TETA_MOY*3.1416/180) and cos(TETA_MOY*3.1416/180) (Post > Result files > Edit variables > Add a formule). Then you create the vector composed by these 2 components (Add a vector).
You can then plot them on your wave height field (Select the layer Vectors). You can also choose to plot only some of the vectors (click on Configuration and choose the density, norm, ... of your vectors).

You can also export the values of the significant wave height and mean direction at each point of your mesh (for one time step) with fudaa : select all your points (Polygon selection) and then click on the values table; then you can export the data.

I don't think I can give you more advices on this, I am not an expert in post-processing.

Best regards,

Elodie
The administrator has disabled public write access.

Wave direction vector fields in TOMAWAC 11 years 5 months ago #9141

Good morning.

Thank you once again for your response and help.

You guidelines are more than useful as they are.

Best regards
Achilleas
The administrator has disabled public write access.

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.