1
1
!-------------------------------------------------------------------------------
3
! This file is part of the Code_Saturne Kernel, element of the
4
! Code_Saturne CFD tool.
6
! Copyright (C) 1998-2009 EDF S.A., France
8
! contact: saturne-support@edf.fr
10
! The Code_Saturne Kernel is free software; you can redistribute it
11
! and/or modify it under the terms of the GNU General Public License
12
! as published by the Free Software Foundation; either version 2 of
13
! the License, or (at your option) any later version.
15
! The Code_Saturne Kernel is distributed in the hope that it will be
16
! useful, but WITHOUT ANY WARRANTY; without even the implied warranty
17
! of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
! GNU General Public License for more details.
20
! You should have received a copy of the GNU General Public License
21
! along with the Code_Saturne Kernel; if not, write to the
22
! Free Software Foundation, Inc.,
23
! 51 Franklin St, Fifth Floor,
24
! Boston, MA 02110-1301 USA
3
! This file is part of Code_Saturne, a general-purpose CFD tool.
5
! Copyright (C) 1998-2011 EDF S.A.
7
! This program is free software; you can redistribute it and/or modify it under
8
! the terms of the GNU General Public License as published by the Free Software
9
! Foundation; either version 2 of the License, or (at your option) any later
12
! This program is distributed in the hope that it will be useful, but WITHOUT
13
! ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14
! FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
17
! You should have received a copy of the GNU General Public License along with
18
! this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
19
! Street, Fifth Floor, Boston, MA 02110-1301, USA.
26
21
!-------------------------------------------------------------------------------
28
23
subroutine cscini &
32
ndim , ncelet , ncel , nfac , nfabor , nfml , nprfml , &
33
nnod , lndfac , lndfbr , ncelbr , &
34
nvar , nscal , nphas , &
35
nideve , nrdeve , nituse , nrtuse , &
36
ifacel , ifabor , ifmfbr , ifmcel , iprfml , &
37
ipnfac , nodfac , ipnfbr , nodfbr , &
38
idevel , ituser , ia , &
39
xyzcen , surfac , surfbo , cdgfac , cdgfbo , xyznod , &
40
rdevel , rtuser , ra )
42
28
!===============================================================================
59
45
! --- tableau de travail
60
46
!===============================================================================
48
!===============================================================================
50
!===============================================================================
63
!===============================================================================
64
!===============================================================================
66
!===============================================================================
80
!===============================================================================
84
integer idbia0 , idbra0
85
integer ndim , ncelet , ncel , nfac , nfabor
87
integer nnod , lndfac , lndfbr , ncelbr
88
integer nvar , nscal , nphas
89
integer nideve , nrdeve , nituse , nrtuse
91
integer ifacel(2,nfac) , ifabor(nfabor)
92
integer ifmfbr(nfabor) , ifmcel(ncelet)
93
integer iprfml(nfml,nprfml)
94
integer ipnfac(nfac+1), nodfac(lndfac)
95
integer ipnfbr(nfabor+1), nodfbr(lndfbr)
96
integer idevel(nideve), ituser(nituse), ia(*)
98
double precision xyzcen(ndim,ncelet)
99
double precision surfac(ndim,nfac), surfbo(ndim,nfabor)
100
double precision cdgfac(ndim,nfac), cdgfbo(ndim,nfabor)
101
double precision xyznod(ndim,nnod)
102
double precision rdevel(nrdeve), rtuser(nrtuse), ra(*)
106
integer idebia , idebra , ifinia , ifinra
109
76
integer imobmx , ialemx , nvcpmx, ifcpmx
111
78
!===============================================================================
116
81
do numcpl = 1, nbrcpl
171
136
! modeles RANS et laminaires, sauf pour le modele v2f (dans ce cas
172
137
! il n'y a que du couplage mono-modele)
176
call tbicpl(numcpl, 1, 1, iturb(iphas), iturcp(numcpl,iphas))
179
if (iturb(iphas).eq.50.and.iturcp(numcpl,iphas).ne.50) then
180
write(nfecra,1000) numcpl
183
elseif (itytur(iphas).eq.4.and. &
184
iturcp(numcpl,iphas)/10.ne.4) then
185
write(nfecra,1001) numcpl
139
call tbicpl(numcpl, 1, 1, iturb, iturcp(numcpl))
142
if (iturb.eq.50.and.iturcp(numcpl).ne.50) then
143
write(nfecra,1000) numcpl
146
elseif (iturb.eq.51.and.iturcp(numcpl).ne.51) then
147
write(nfecra,1002) numcpl
150
elseif (itytur.eq.4.and. &
151
iturcp(numcpl)/10.ne.4) then
152
write(nfecra,1001) numcpl
203
168
'@ ========= ',/,&
204
169
'@ LES MODELES DE TURBULENCE POUR LE COUPLAGE ' ,I10 ,/,&
205
170
'@ SONT DIFFERENTS ALORS QUE L UN DES MODELES EST LE ',/,&
206
'@ V2F. CE CAS DE FIGURE N''EST PAS PRIS ',/,&
171
'@ V2F PHI_FBAR. CE CAS DE FIGURE N''EST PAS PRIS ',/,&
172
'@ EN COMPTE POUR LE MOMENT. ',/,&
174
'@ Le calcul ne peut etre execute. ',/,&
176
'@ Verifier usini1. ',/,&
178
'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@',/,&
182
'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@',/,&
184
'@ @@ ATTENTION : ARRET A L''ENTREE DES DONNEES ',/,&
186
'@ LES MODELES DE TURBULENCE POUR LE COUPLAGE ' ,I10 ,/,&
187
'@ SONT DIFFERENTS ALORS QUE L UN DES MODELES EST LE ',/,&
188
'@ V2F BL-V2/K. CE CAS DE FIGURE N''EST PAS PRIS ',/,&
207
189
'@ EN COMPTE POUR LE MOMENT. ',/,&
209
191
'@ Le calcul ne peut etre execute. ',/,&