Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Example of wind

Example of wind 6 years 7 months ago #29693

  • mcRove
  • mcRove's Avatar
good morning dear ones,
I tried to interpret the examples on variable wind present (wind and wind_txy) and I can't understand how to read all the various variable wind steps.
The examples only show the last speed value and take the results of the previous speed values as previous processing files.
is there a way to make the whole analysis run in one go??
cordial greetings
The administrator has disabled public write access.

Example of wind 6 years 7 months ago #29721

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

If you want to see the wind spin-up of the whole simulation, you can just comment the lines "COMPUTATION CONTINUED" and "PREVIOUS COMPUTATION FILE", increase the "NUMBER OF TIME STEPS" and do not consider condin.f subroutine.

Anyway, if you have wind variable in time, constant in space, you just have to follow the format of the fo1_wind file (time,FU,FV with 2 lines of header) and put in your steering file WIND=YES, OPTION FOR WIND=2, and associated COEFFICIENT OF INFLUENCE.

If in addition, your wind is variable in space (OPTION FOR WIND=3), look at the wind_txy test case for the format of the wind file (fo1_wind_txy), and the associated reading in meteo.f subroutine (from ELSEIF(OPTWIND.EQ.3) THEN).

If your wind file is in another format, you have either to convert it to the right format or to adapt the reading of your file in the fortran subroutine meteo.f.

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

Example of wind 6 years 7 months ago #29744

  • mcRove
  • mcRove's Avatar
hi,
how can I overlook the file condin.f?
in the steering file is not mentioned.
best regards
The administrator has disabled public write access.

Example of wind 6 years 7 months ago #29746

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
remove it from the user_fortran directory
The administrator has disabled public write access.

Example of wind 6 years 7 months ago #29747

  • mcRove
  • mcRove's Avatar
hi,
do I need to delete condin.f from the folder where I installed the program??


however each simulation made with your indications gives as result the following string:
"meteo"
"the wind file is too short"

even increasing the file with wind data.
best regards
The administrator has disabled public write access.

Example of wind 6 years 7 months ago #29748

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
No, not from the installation directory, but from the user_fortran directory of the test case called "wind", if you want to see the initialisation of wind from 1m/s at t=0s to 5m/s at t=40s.
If you're not in v7p3r0, you can delete the subroutine condin inside the t2d_wind.f

Are you talking about your own simulation or about the test case ?

Laurent
The administrator has disabled public write access.

Example of wind 6 years 7 months ago #29749

  • mcRove
  • mcRove's Avatar
the test case... Always 'wind file too short'
The administrator has disabled public write access.

Example of wind 6 years 7 months ago #29753

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
with the default wind file, it works fine. Here is the modified test case for v7p3r0:

File Attachment:

File Name: wind.zip
File Size: 10 KB


If you're trying with your own wind data, there is something wrong with the format of the file, look carefully at the example file (fo1_wind) or upload your wind file.

Regards,
Laurent
The administrator has disabled public write access.

Example of wind 6 years 7 months ago #29754

  • mcRove
  • mcRove's Avatar
i'm work with the version v7p2r1.. it's a problem?
The administrator has disabled public write access.

Example of wind 6 years 7 months ago #29756

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Normally no.
But I just checked it and I found that the logical unit UL to read the file was assigned only at the first time step and not declared with a save attribute. So, as for v7p3r0, I move it out of the condition IF(LT.EQ.0)THEN and it now works fine!

File Attachment:

File Name: wind_2018-04-20.zip
File Size: 11 KB


Regards,
Laurent
The administrator has disabled public write access.
The following user(s) said Thank You: mcRove
  • Page:
  • 1
  • 2
Moderators: pham

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