Welcome, Guest
Username: Password: Remember me

TOPIC: wind variation in time

wind variation in time 5 years 3 months ago #34149

  • jonathan
  • jonathan's Avatar
Hello,

Thank you for your quick answer. First, I did not understand previously that I had to write a fortran file... I did not seem clear to me as i read the telemac user manual, I thought it was only for OPTION FOR WIND = 3. So, Thank you very much, now it makes more sense.

I have never written a fortran code before... I understand what you explain before and the if loop etc. Can I just copy/paste the example provide here?

svn.opentelemac.org/svn/opentelemac/tags...d_txy/t2d_wind_txy.f

So What I am trying to say, is that I start from ground zero... So I have no idea where and how to start...

Thank you very much for your time agian

Jonathan
The administrator has disabled public write access.

wind variation in time 5 years 3 months ago #34159

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello Jonathan,

As varying COEFFICIENT OF WIND INFLUENCE was not planned to standard T2D, you have to implement it by yourself, by changing the subroutine.

In your case, you have to create a directory where you can put the enclosed subroutine (as it is your first time, I changed it for you in v7p3r1, but it is the last time) and write the name of this directory in the keyword FORTRAN FILE.

You know, writing FORTRAN code is really easier than using the TELEMAC-MASCARET system correctly and you should learn.

Chi-Tuan
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: jonathan

wind variation in time 5 years 3 months ago #34168

  • jonathan
  • jonathan's Avatar
Hello Chi-Tuan,

Thank you very much for your help. The next step is definetely to learn fortran code as i will keep using telemac and is different options.

I will run now the model with this code.

Thank you very much agin

Jonathan
The administrator has disabled public write access.

wind variation in time 5 years 3 months ago #34241

  • jonathan
  • jonathan's Avatar
Hello all,

I ran my model with the sub routine Prosou that Chi-Tuan kindly sent to me. However, I keep receiving a message error "wind file is too short" even if i increase the wind file data. Do you have any idea where it could come from?

I attached the subroutine (forcing.f) and the steering file I used.

Regards

Jonathan
Attachments:
The administrator has disabled public write access.

wind variation in time 5 years 3 months ago #34242

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Hi Jonathan,

According to your steering file, your simulation lasts 2635200*2 seconds.
Did you check in your atmospheric data file that the time at the last line is equal or higher than your simulation duration?

Regards,
Laurent
The administrator has disabled public write access.

wind variation in time 5 years 3 months ago #34243

  • jonathan
  • jonathan's Avatar
Hi Laurent,

Yes indeed, I even added one more time step to make sure it could work, the atmospheric data file is attached.

Regards

Jonathan
Attachments:
The administrator has disabled public write access.

wind variation in time 5 years 3 months ago #34244

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Ok, nice!

I think it's because you're initialising your simulation with the results of a previous one. So the initial time is not 0 in this case, and your wind data are not read from the beginning of the file.

You should uncomment the line "INITIAL TIME SET TO ZERO = TRUE" and it should be better ;)
Do not forget to check the phasing of your output wind is right (output variables X and Y).

Regards,
Laurent
The administrator has disabled public write access.

wind variation in time 5 years 3 months ago #34246

  • jonathan
  • jonathan's Avatar
Hi laurent,

Thank you for your answer, but If you look at my steering file, the line INITIAL TIME SET TO ZERO = TRUE is uncommented already.

Should I add the wind data of february too in my meteorological file?

regards

Jonathan
The administrator has disabled public write access.

wind variation in time 5 years 3 months ago #34247

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
No, the line is commented in the file "menai_2019-08-07.cas" (your post #34241).
You just have to remove the "/" character at the beginning of the line.

Regards,
Laurent
The administrator has disabled public write access.
The following user(s) said Thank You: jonathan

wind variation in time 5 years 3 months ago #34248

  • jonathan
  • jonathan's Avatar
Hi,

Sorry i mix the definition... Yes I will do it now.

Regards

Jonathan
The administrator has disabled public write access.
Moderators: pham

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