Welcome, Guest
Username: Password: Remember me

TOPIC: Adding a third formatted file

Adding a third formatted file 9 years 3 months ago #18040

  • Gaeta
  • Gaeta's Avatar
Hello!
I'm wondering if there's the possibility in Tel2d to add a third formatted file (FO3) as input file in order to read from it the imposed wind conditions.
I use FO1 for initial conditions and FO2 for boundary conditions of fs and currents, respectively.
I need to impose wind in my simulation.

I'll be really grateful for any advices.
Regards,

gabriella
The administrator has disabled public write access.

Adding a third formatted file 9 years 3 months ago #18041

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

Everything is possible but need some developements to be available...
You could try by yourself to extend what is done for the formated file 1 and 2 in telemac to another thrid file... It's not really complex to do but a certain experience in the telemac system programming is hardly advise.

Nevertheless, I don't understand why you use FO1 for initial condition as this could be done directly in a dedicated formated file. Did you add something specific? If so, maybe you should look at the possibility to adapt your code...

Hope this helps

PS: Think to update your profile!
Christophe
The administrator has disabled public write access.

Adding a third formatted file 9 years 3 months ago #18042

  • Gaeta
  • Gaeta's Avatar
Hello and thanks for your quick reply.
I used currents coming from the results of another larger model (we're doing a sort of model nesting). BTW I read that the initial conditions as "particular" in tel2d only regard water depths, if that is what you meant.

I hope to be successful in the code changes :blink:

Regards

G
The administrator has disabled public write access.

Adding a third formatted file 9 years 3 months ago #18043

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Before going into code changes, try to move your initial condition of water depth from particulier to a previous computational file...
Then your formated file 1 will become the previous computational file and you could use it for the wind ...

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Gaeta

Adding a third formatted file 9 years 3 months ago #18044

  • Gaeta
  • Gaeta's Avatar
Thanks. I'll try to follow your advice, but for the currents.
My sim will take tpxo i.c. for the water elevation, and currents and wind ic and bc from 2 larger models (after a spatial interpolation).

G

P.S. I've just updated my profile.
The administrator has disabled public write access.

Adding a third formatted file 9 years 3 months ago #18045

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Think also that you can open any file by yourself in Fortran, provided that you take care of two things:

* choose a logical unit that is not used, e.g. choose 99.

* remember that your file is not copied into the temporary file as are other data files, so use "../myfile" in the path when opening it, to go backwards in the previous directory.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Adding a third formatted file 9 years 3 months ago #18046

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
I agree with jean-michel but in such case, the parallel computation could be problematic!
Christophe
The administrator has disabled public write access.
Moderators: pham

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