Welcome, Guest
Username: Password: Remember me

TOPIC: Wind Interpolation

Wind Interpolation 13 years 4 months ago #1737

  • kroptia
  • kroptia's Avatar
Hello,
I want to import wind date on my simulation.
I have the "wind data" for 4 corners, juste like :

X----X
|OOO|
|OOO|
|OOO|
X----X
where X are data that I have.

I wondering if I should do an interpolation or not (the mesh isn't small)?
By the way, I readed informations about interpolation, and I saw a function FASP. Is it possible to do an interpolation with that function to get all wind data inside my mesh?
The administrator has disabled public write access.

Re:Wind Interpolation 13 years 4 months ago #1738

  • giovanni.mattarolo
  • giovanni.mattarolo's Avatar
Hello,

if you know the coordinates and the wind speed values of your wind data, you can use the FASP subroutine to interpolate your wind data over the mesh: for example you can adapt and use the subroutine VENUTI.f.
If your wind data are unsteady, please refer to the subroutines LECDOI.f and NOUDON.f, for the temporal interpolation of the wind data. If the wind data are stationary, refer to the subroutine LECDON.f.

Another method is to convert the wind data you have in one of the formats that are automtically read by TOMAWAC (see Appendix 8 of the TOMAWAC manual). In this case you don't have to write or modify any TOMAWAC subroutine.

Hope it helps.
Kind regards,

Giovanni
The administrator has disabled public write access.

Re:Wind Interpolation 13 years 4 months ago #1740

  • kroptia
  • kroptia's Avatar
Thank you for your answer.
About the last solution, I selected SINUSX format (aka. X,Y,UX,UY). But is it possible to use it for an unsteady (non stationary) case?

My wind data are unsteady, and the format is SINUSX.So if I understand, I have to use LECDOI.f & NOUDON.f.
But is it normal that there is nothing (in those routines) which treat SINUSX format?
The administrator has disabled public write access.

Re:Wind Interpolation 13 years 4 months ago #1748

  • giovanni.mattarolo
  • giovanni.mattarolo's Avatar
You are right. The subroutines LECDOI and NOUDON do not treat SINUSX format.
I am not an expert of SINUSX format, but I think that you cannot use it for unsteady data (i.e. for more than one time step).

One thing you can do is to modify the SINUSX format by specifying the time at each time step and then modify the VENUTI.f subroutines and code there the wind data reading and interpolation.
To do so you can refer to the subroutines
- LECDON, which treats and interpolates spatially SINUSX data
- LECDOI and NOUDON, which look for the correct time step of the wind data

Another possibility is to convert your wind data into a finite differences WAM format file.

I am afraid there are not other shortcuts to solve your problem.

Kind regards,

Giovanni

I am afraid there are not shortcut
The administrator has disabled public write access.
Moderators: tfouquet

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