Hello,
I am a beginner of telemac.
Now I am trying to make waves at liquid boundary by means of incide.f.
waves I want to make are 1.43s for period, 0.14 for wave height. And bottom elevation is -0.40m.
I edited the source code and set incide.f as fortran file in steering file of Telemac2D according to Telemac manual.
But when I ran this case, no waves were made in the result file.
I do not understand which arguments are necessary.
Please tell me how I set arguments properly?
I add my incide.f as follows:
SUBROUTINE INCIDE
*(COTOND,H,C0,PATMOS,ATMOS,ZF,MESH,LT,AT,GRAV,ROEAU,PRIVE)
USE BIEF
IMPLICIT NONE
INTEGER LNG,LU
COMMON/INFO/LNG,LU
c
INTEGER, INTENT(IN) :: LT
LOGICAL, INTENT(IN) :: ATMOS
DOUBLE PRECISION, INTENT(IN) :: AT,GRAV,ROEAU
TYPE(BIEF_OBJ), INTENT(IN) :: PATMOS,H,C0,ZF,PRIVE
TYPE(BIEF_OBJ), INTENT(INOUT) :: COTOND
TYPE(BIEF_MESH), INTENT(INOUT) :: MESH
c
DOUBLE PRECISION PI
DOUBLE PRECISION PERIOD,WPLG,A,ZMOY
DOUBLE PRECISION HENDO
INTEGER K
c
c
CALL OS( 'X=C ' , X=COTOND , C=0.D0 )
PI = 3.141592653589D0
PERIOD = 1.43D0
WPLG = 2.*PI/PERIOD
A=0.07D0
ZMOY = 0.0D0
HENDO = A * SIN(WPLG*AT)[/color]
COTOND%R(1) = ZMOY + HENDO
DO K=1058,1064
COTOND%R(K) = ZMOY + HENDO
ENDDO
c
RETURN
END
Thank you for your help.
With best regards