The TELEMAC-MASCARET system
trunk
sources
tomawac
anaven.f
Go to the documentation of this file.
1
! *****************
2
SUBROUTINE
anaven
3
! *****************
4
!
5
!***********************************************************************
6
! TOMAWAC V6P3 08/06/2011
7
!***********************************************************************
8
!
9
!brief SPECIFIES AN ANALYTICAL WIND
10
!+ (CAN BE VARIABLE IN TIME).
11
!
12
!history M. BENOIT (LNH)
13
!+ 07/06/95
14
!+ V1P0
15
!+
16
!
17
!history N.DURAND (HRW), S.E.BOURBAN (HRW)
18
!+ 13/07/2010
19
!+ V6P0
20
!+ Translation of French comments within the FORTRAN sources into
21
!+ English comments
22
!
23
!history N.DURAND (HRW), S.E.BOURBAN (HRW)
24
!+ 21/08/2010
25
!+ V6P0
26
!+ Creation of DOXYGEN tags for automated documentation and
27
!+ cross-referencing of the FORTRAN sources
28
!
29
!history G.MATTAROLO (EDF - LNHE)
30
!+ 08/06/2011
31
!+ V6P1
32
!+ Translation of French names of the variables in argument
33
!
34
!history J-M HERVOUET (EDF R&D, LNHE)
35
!+ 26/11/2013
36
!+ V6P3
37
!+ Example added to copy the wind in Telemac-2D memory.
38
!
39
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40
!| AT |-->| COMPUTATION TIME
41
!| NPOIN2 |-->| NUMBER OF POINTS IN 2D
42
!| UV |<--| WIND VELOCITY ALONG X AT THE MESH POINTS
43
!| VV |<--| WIND VELOCITY ALONG Y AT THE MESH POINTS
44
!| VX_CTE |-->| WIND ALONG X (CONSTANT VALUE IN STEERING FILE)
45
!| VY_CTE |-->| WIND ALONG Y (CONSTANT VALUE IN STEERING FILE)
46
!| X |-->| ABSCISSAE OF POINTS IN THE MESH
47
!| Y |-->| ORDINATES OF POINTS IN THE MESH
48
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49
!
50
USE
declarations_special
51
USE
declarations_tomawac
, ONLY
:
npoin2
,
52
& vx_cte, vy_cte, uv,vv
53
USE
interface_tomawac
, ex_anaven =>
anaven
54
IMPLICIT NONE
55
!
56
! WHEN COUPLING WITH TELEMAC-2D, THIS WILL ALLOW A COPY OF WIND
57
! IN TELEMAC-2D
58
!
59
! USE METEO_TELEMAC, ONLY : WINDX,WINDY
60
!
61
!+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
62
!
63
INTEGER
IP
64
!
65
! STANDARD CASE (CONSTANT VALUES IN THE STEERING FILE)
66
!
67
DO
ip=1,
npoin2
68
uv(ip)=vx_cte
69
vv(ip)=vy_cte
70
ENDDO
71
! USER FORTRAN
72
CALL
user_anaven
73
!
74
!-----------------------------------------------------------------------
75
!
76
RETURN
77
END
declarations_special
Definition:
declarations_special.F:3
anaven
subroutine anaven
Definition:
anaven.f:4
declarations_tomawac
Definition:
declarations_tomawac.f:3
declarations_tomawac::npoin2
integer, pointer npoin2
Definition:
declarations_tomawac.f:980
user_anaven
subroutine user_anaven
Definition:
user_anaven.f:4
interface_tomawac
Definition:
interface_tomawac.f:5