Welcome, Guest
Username: Password: Remember me

TOPIC: Wave boundary condition varying in space only

Wave boundary condition varying in space only 2 years 5 months ago #40486

  • krobert
  • krobert's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Hi,

I have a liquid boundary segmented in 5 parts where I want to apply different waves height, direction and frequency which will be constant in time. Is there a simple way to do so as I would normally do for water level in CAS file?

I consulted many topics on the forum and did many attempts modifying limwac.f, but it's not working and I can't even read my file. I get the error:
Fortran runtime error: Cannot read from file opened for WRITE

Thank you for your help,

Karine
Attachments:
The administrator has disabled public write access.

Wave boundary condition varying in space only 2 years 5 months ago #40487

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

Can you also add your file GEO.slf ?

thanks
The administrator has disabled public write access.

Wave boundary condition varying in space only 2 years 5 months ago #40488

  • krobert
  • krobert's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Hi!

Here is my GEO file. I also forgot to mention that I'm coupling telemac2d with tomawac to inialized the hydrodynamics and then I will couple it with GAIA. It's why I have a NOER in my geo file. I'm also using version 8p3.

Thanks,

Karine
Attachments:
The administrator has disabled public write access.

Wave boundary condition varying in space only 2 years 5 months ago #40493

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
The identifier of your file is LUFO1.
NFO1 is just an unknown local variable.
Here is your new limwac.f
Attachments:
The administrator has disabled public write access.

Wave boundary condition varying in space only 2 years 5 months ago #40494

  • krobert
  • krobert's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Thank you very much, it is running.

However, it is not applying the values I wanted. Maybe I don't understand correctly how to write my text file. I wrote it based on my CLI file and wrote the desired value for my 5 segments and put zeros for all other nodes. It means that I have a value for every nodes of my mesh.

When I print the variable NPTFR (NUMBER OF BOUNDARY POINTS) it gives me 142. However, if I only count the points where I want to apply a wave, I have 115 and not 142.

I saw many examples for waves conditions varying in time, but only few for varying in space. What is the correct way to write my text file?

Thanks a lot,

Karine
The administrator has disabled public write access.
Moderators: tfouquet

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