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

TOPIC: Question about the use of limwac.f and bnd_spectra.f

Question about the use of limwac.f and bnd_spectra.f 6 years 11 months ago #28345

  • jescobar
  • jescobar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 2
Hello,

I am upgrading a model that takes its wave boundary data from a larger (and coarser model).

The setup is like this:
  • There is a large model which stores wave data in a punctual results 'SLF' file.
  • Later, this punctual results file is imposed at the boundary of a smaller, and more detailed model


Screenshotfrom2017-12-0515-25-53.png



To be able to read the punctual results file, the smaller model uses a modified version of subrutine limwac.f.But I think lot of time has passed since its code was last touched, and now that I am upgrading the model (to v7p2) I see that limwac itself has undergone many changes.

I want to use the new limwac, and new features like bnd_spectra.f and impose_bnd_spectra.f, to replace altogether my old subroutine. But, do these features work even when boundary nodes are not perfectly aligned?

Regards,

Sebastian
The administrator has disabled public write access.

Question about the use of limwac.f and bnd_spectra.f 6 years 11 months ago #28346

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
Hello Sebastian

Impose spectra write and read a list of points so they don't have to be aligned. They just have to be present in both models. Their coordinates are recorded in a file you specify by
FILE WITH COORDINATES OF SPECTRA TO WRITE for big model
FILE WITH COORDINATES OF SPECTRA TO IMPOSE for small model

Regards

Thierry
The administrator has disabled public write access.
The following user(s) said Thank You: jescobar

Question about the use of limwac.f and bnd_spectra.f 6 years 11 months ago #28351

  • jescobar
  • jescobar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 2
Thank you Thierry,

I will try your recommendations and then tell you how it goes.

Regards,


Sebastian
The administrator has disabled public write access.

Question about the use of limwac.f and bnd_spectra.f 6 years 11 months ago #28398

  • jescobar
  • jescobar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 2
Hello Thierry,

I used the new way to write/impose a spectra files. It works fine -besides is very handy- when I run tomawac only. But when coupled with telemac2d the computation crashes. Here is the console output:

File Attachment:

File Name: output_2017-12-14.txt
File Size: 42 KB


It is as though the coordinates file could not be read when coupled.

Here are my steering files:

File Attachment:

File Name: Tomawac_steeringFile.txt
File Size: 3 KB

File Attachment:

File Name: Telemac_steeringFile.txt
File Size: 4 KB


Regards,

Sebastian
The administrator has disabled public write access.

Question about the use of limwac.f and bnd_spectra.f 6 years 11 months ago #28405

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
Hello Sebastian

Well apparently it is a problem to read your coordinate file, but I would need all your files to see more of the problem by running the simulation.
So coordinates geometry and spectrum all the files mentioned in the steering file.

Regards
The administrator has disabled public write access.

Question about the use of limwac.f and bnd_spectra.f 6 years 11 months ago #28406

  • jescobar
  • jescobar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 2
Hello Thierry,

You can download the files here.

https://expirebox.com/download/b13602d2d6387d5e66014f47c543690e.html

Sorry to use such a spammlike page, but it is not to make my university files public, and delete them once you download them.
The administrator has disabled public write access.

Question about the use of limwac.f and bnd_spectra.f 6 years 11 months ago #28408

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
you forgot to add the 2 TPXO tidal files
The administrator has disabled public write access.

Question about the use of limwac.f and bnd_spectra.f 6 years 11 months ago #28409

  • jescobar
  • jescobar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 2
Here They are.
Attachments:
The administrator has disabled public write access.

Question about the use of limwac.f and bnd_spectra.f 6 years 11 months ago #28411

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
Hello

There was a bug when using impose spectra while coupling in Telemac. I fixed it and will push it soon in the trunk meanwhile i attach wac.F which correct the bug.
In your case, in your steering file you also mustn't use limwac.f, that is the old fashion to impose spectrum. and you mustn't mention any binary file it is already in the IMPOSED SPECTRA FILE

I attached the corrected steering files
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: jescobar

Question about the use of limwac.f and bnd_spectra.f 6 years 11 months ago #28410

  • jescobar
  • jescobar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 2
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: tfouquet

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