Welcome, Guest
Username: Password: Remember me

TOPIC: Spatially and temporally varying Wave height at boundary

Spatially and temporally varying Wave height at boundary 6 years 1 month ago #31644

  • Papadimitriou
  • Papadimitriou's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 80
  • Thank you received: 3
Dear all,

I am once again returning to this topic. I managed to apply spatially and temporally varying wave height at my boundary and the results seem to be quite nice except some minor problems. As you can see in the attached picture, at two nodes of the boudaries, which consequently are the corner nodes where west-north and north-east boundaries meet (nodes 1 and 2) the wae height is not prescribed despite being defined in the formatted file. Is there something that creates this problem inside the limwac subroutine I cannot locate?

Kind regards,
Andreas
The administrator has disabled public write access.

Spatially and temporally varying Wave height at boundary 6 years 1 month ago #31645

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

Your limwac is not made for version V7P3 it is for an older version so the arguments are not correct. When you are using a fortran user subroutine you'd better always start with the subroutine of the version you are using.
I join the limwac i corrected to fit with V7P3 interface and the result i obtain with it.

Best regards

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

Spatially and temporally varying Wave height at boundary 6 years 1 month ago #31646

  • Papadimitriou
  • Papadimitriou's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 80
  • Thank you received: 3
Thank you very much Thierry, it works like I charm, I will always be cautious with arguements and trunk versions from now on.

Kind regards,
Andreas
The administrator has disabled public write access.

Spatially and temporally varying Wave height at boundary 5 years 7 months ago #33421

  • sunnav
  • sunnav's Avatar
Hello.

I'm trying to create a boundary varying in space but not time and this thread has been a great help. My case is still not working but at least I'm getting somewhere with it. The bottom friction example seems to be a useful example, but my bottom friction folder doesn't contain any limwac file and the wave height on the whole boundary is set to 1.0 in the steering file.

Where might I find this relevant example? I'm getting errors or simulations whith no waves at all and would like to look at this example to try to figure it out.

I'm using version v7p3r1.
The administrator has disabled public write access.

Spatially and temporally varying Wave height at boundary 5 years 7 months ago #33422

  • sunnav
  • sunnav's Avatar
I think I almost understand this now and was optimistic it would run but I'm getting Syntax errors in END DO statements and don't understand why.

Can someone please take a look?
Attachments:
The administrator has disabled public write access.

Spatially and temporally varying Wave height at boundary 5 years 7 months ago #33424

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
This is just a typo error
You should have ENDDO instead of END DO
Christophe
The administrator has disabled public write access.

Spatially and temporally varying Wave height at boundary 5 years 7 months ago #33425

  • sunnav
  • sunnav's Avatar
I wish it had been that simple.

I found this typo in the file, but not in the line where the error is. Fixed it, and am still getting the same error message.

ENDDO
1
Error: Syntax error in END DO statement at (1)
limwac.f:367.6:

END
1
Error: END DO statement expected at (1)


PS: I doubt it matters for this problem, but I realized I also uploaded the wrong geoemetry file. The right one is attached here.
Attachments:
The administrator has disabled public write access.

Spatially and temporally varying Wave height at boundary 5 years 7 months ago #33426

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
I think there is a problem on line 255...
As the if as no THEN, endif should not appear...
but the message seems to means there is a do without enddo in your code
You could check all the loop to be sure all it's OK
regards
Christophe
The administrator has disabled public write access.

Spatially and temporally varying Wave height at boundary 5 years 7 months ago #33427

  • sunnav
  • sunnav's Avatar
That's also how I understood it so I've counted the do's and the enddo's many times and they all add up. In the process I changed the spacing (which I was sure didn't matter at all) and now I'm getting a few different errors in the very last lines (return;end).

I am totally new to fortran so it could be something very stupid on my part. Your help in figuring it out is very much appreciated.
Attachments:
The administrator has disabled public write access.

Spatially and temporally varying Wave height at boundary 5 years 7 months ago #33428

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Take care about the "tab" in your fortran file...
it's better to remove them and use space...
Christophe
The administrator has disabled public write access.
Moderators: tfouquet

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