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
!-------------------------------------------------------------------------------
58
53
! --- tableau de travail
59
54
!===============================================================================
56
!===============================================================================
58
!===============================================================================
71
!===============================================================================
63
!===============================================================================
65
!===============================================================================
78
!===============================================================================
82
77
integer ipropp, ipppst
86
integer iprop, ipp, iphas
88
83
!===============================================================================
89
84
!===============================================================================
101
96
! Proprietes des phases : CV s'il est variable
103
if(icv(iphas).ne.0) then
109
102
! Proprietes des phases : Viscosite en volume
111
if(iviscv(iphas).ne.0) then
113
iviscv(iphas) = iprop
117
108
! Flux de masse specifique pour la vitesse (si on en veut un)
119
if(iflmau(iphas).gt.0) then
121
ifluma(iu (iphas)) = iprop
122
ifluma(iv (iphas)) = iprop
123
ifluma(iw (iphas)) = iprop
127
116
! Flux de Rusanov au bord pour Qdm et E
130
ifbrhu(iphas) = iprop
132
ifbrhv(iphas) = iprop
134
ifbrhw(iphas) = iprop
136
ifbene(iphas) = iprop
140
127
! ---- Nb de variables algebriques (ou d'etat)
226
205
! NB : Seuls les 8 premiers caracteres du nom seront repris dans le
227
206
! listing le plus detaille
229
!--> chaleur specifique a volume constant
230
if(icv (iphas).gt.0) then
231
ipp = ipppro(ipproc(icv (iphas)))
232
NOMVAR(IPP) = 'Specific Heat Cst Vol'
208
!--> chaleur specifique a volume constant
210
ipp = ipppro(ipproc(icv ))
211
nomvar(ipp) = 'Specific Heat Cst Vol'
235
214
ihisvr(ipp,1) = 0
238
!--> viscosite laminaire
239
if(iviscv(iphas).gt.0) then
240
ipp = ipppro(ipproc(iviscv(iphas)))
241
NOMVAR(IPP) = 'Volume Viscosity'
217
!--> viscosite laminaire
219
ipp = ipppro(ipproc(iviscv))
220
nomvar(ipp) = 'Volume Viscosity'
244
223
ihisvr(ipp,1) = 0