Welcome, Guest
Username: Password: Remember me

TOPIC: Temporally Varying Boundary conditions

Temporally Varying Boundary conditions 10 years 4 months ago #13490

  • dnayak
  • dnayak's Avatar
Hello,

I am a new user of tomawac and struggling a bit with forcing my model with temporally varying boundary conditions (HM0, DMOY, TM0Y). I have looked at the similar topics discussed on the forum :
www.opentelemac.org/index.php/kunena/19-...ging-at-the-boundary

So, I just tried to change the subroutine LIMWAC according to the file loaded on that topic. However, I get odd errors. Thanks in advance!

Regards,
Divya

error_2014-06-26.jpg


File Attachment:

File Name: Limwac_2014-06-26.f
File Size: 11 KB
The administrator has disabled public write access.

Temporally Varying Boundary conditions 10 years 4 months ago #13493

  • jmhervouet
  • jmhervouet's Avatar
Hello,

HM0, DMOY and TMOY are local variables which are not arguments and not in the original version of Tomawac, so you should declare them first as :

DOUBLE PRECISION, ALLOCATABLE :: HM0(:),DMOY(:),TMOY(:)

before allocating them, see the example of other allocatable variables in LIMWAC.

Regards,

JMH
The administrator has disabled public write access.

Temporally Varying Boundary conditions 10 years 4 months ago #13501

  • dnayak
  • dnayak's Avatar
Hello,

Thanks for the reply. I implemented the changes you mentioned earlier. I have come across a new error. Cant figure it out!

Divya

File Attachment:

File Name: error1.txt
File Size: 2 KB


File Attachment:

File Name: Limwac_PP.f
File Size: 11 KB
The administrator has disabled public write access.

Temporally Varying Boundary conditions 10 years 4 months ago #13502

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

Error message seems clear
An IF without ENDIF exist in your fortran file

I didn't check your code but look carefully all the IF statement in the part you modified...

Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: dnayak

Temporally Varying Boundary conditions 10 years 4 months ago #13510

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Yes, it seems that one of these 3 IF is not closed :

IF (LT.LT.1 .OR. (.NOT.VENSTA.AND.FLAG) .OR. SPEULI) THEN

IF (SPEULI .AND. (LT.LT.1))

IF (SPEULI) THEN


Regards,

JMH
The administrator has disabled public write access.

Temporally Varying Boundary conditions 10 years 4 months ago #13513

  • pprodano
  • pprodano's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 96
  • Thank you received: 55
Hello,

To test sensitivity in one of my models, I wish to assign a temporally varying boundary conditions in TOMAWAC that also varies in space. At each node along a boundary, I wish to specify a different wave height, freq and direction. I can't figure out which variables in limwac.f (or perhaps another subroutine) I need to populate.

I was able to assign temporally varying boundary conditions in limwac.f, and update boundary variables HM0L, FPICL and TETA1L with time. Does anyone know what are the equivalent variables (and what subroutine I can find them) that will allow me to loop over the boundary nodes and assign a different HM0, freq, and direction for each node along the boundary?

Thanks in advance,

Pat
The administrator has disabled public write access.

Temporally Varying Boundary conditions 10 years 4 months ago #13523

  • pprodano
  • pprodano's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 96
  • Thank you received: 55
Hi,

Please ignore my previous post. After giving a more careful read through the limwac.f, I think the variable to populate is either FBOR or F (I will find out which trough trial and error).

Pat
The administrator has disabled public write access.

Temporally Varying Boundary conditions 9 years 8 months ago #16233

  • kirbyyao
  • kirbyyao's Avatar
Hey,

Have you arrived to do the TOMAWAC simulation with the wave at the boundary varing with time?
If it is possible, can you show me your modification of LIMWAC.f, because currently I am working at this stuff?

Sincerely
Tian
The administrator has disabled public write access.
Moderators: tfouquet

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