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

TOPIC: TPXO Results Not Doing Much

TPXO Results Not Doing Much 7 years 3 months ago #27402

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
The boundary conditions are managed in bord.f subroutine which call tidal_model_t2d.f for tide.
In this subroutine, you could add some print to check the computed values...

Regards
Christophe
The administrator has disabled public write access.

TPXO Results Not Doing Much 7 years 3 months ago #27425

  • MainEngineer
  • MainEngineer's Avatar
Thanks!

To confirm: the bord.f subroutine is in the TELEMAC-MASCARET folder ...sources\telemac2d

I modify this subroutine and call it in the steering file?
The administrator has disabled public write access.

TPXO Results Not Doing Much 7 years 3 months ago #27470

  • MainEngineer
  • MainEngineer's Avatar
So, in modifying the bord.f

I should modify this section
!
!
! AUTOMATIC TIDAL BOUNDARY CONDITIONS
!
IF(TIDALTYPE.GE.1) CALL TIDAL_MODEL_T2D()
!
!

By changing it to something like:
!
!
! AUTOMATIC TIDAL BOUNDARY CONDITIONS
!
IF(TIDALTYPE.GE.1) CALL TIDAL_MODEL_T2D()
PRINT *, 'V is',V
PRINT *, 'h is',h
!
!

I just don't know how to do this for the every node in the boundary layer.
The administrator has disabled public write access.

TPXO Results Not Doing Much 7 years 3 months ago #27471

  • MainEngineer
  • MainEngineer's Avatar
I'm guessing I would use a do loop:

DO XY=1, NUMBEROFNODES
PRINT *, 'V is',XY(V)
PRINT *, 'h is',XY(h)
ENDDO


Where it counts through the nodes and then prints out the values for each. I just don't know how to do that with FORTRAN in a TELEMAC file.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: pham

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