Welcome, Guest
Username: Password: Remember me

TOPIC: Solitary wave example issue

Solitary wave example issue 1 year 4 months ago #42880

  • tleonc
  • tleonc's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
Hello,

I am currently working on adapting the T3D Solitary Wave example to simulate a wave propagation from the ocean to the coast in my study area. I have made some modifications to the original example, specifically changing the geometry, boundary files, and the fortran file to suit my case. In the fortarn file, I have specified a depth of 2800 m, a wave height of 1 m, and the latitude for the crest of the wave.

However, when I run the simulation, I get NaN values in the output. I am unsure about the cause of this issue, and I would greatly appreciate any guidance or assistance to help me resolve this problem.

Thank you in advance for your support.

Best regards,
Attachments:
The administrator has disabled public write access.

Solitary wave example issue 1 year 3 months ago #42954

  • jtravert
  • jtravert's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 36
  • Thank you received: 23
Good morning,

Rapid tests with your files suggest that you initialize the water depth with negative values for some points in the 2D mesh.
You may explore this problem that could lead to strange results.

I just added the line below in your user_condi3d_h.f file:
WRITE(LU,*) H%R(IPOIN2)

Best regards,
Jean-Paul
The administrator has disabled public write access.

Solitary wave example issue 1 year 3 months ago #42975

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

The main issue is that you still use TIDAL FLATS = NO whereas there are dry areas in the domain. This choice is only possible if nodes are always wet (and be quicker avoiding some tests when using TIDAL FLATS = YES, but only possible with wet areas).

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
Moderators: pham

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