Code: Select all
! Courant number
ipp = ipppro(ipproc(icour(iphas)))
nomvar(ipp) = 'CFL'
ichrvr(ipp) = 1
ilisvr(ipp) = 0
ihisvr(ipp,1) = -1
Code: Select all
! Courant number
ipp = ipppro(ipproc(icour(iphas)))
nomvar(ipp) = 'CFL'
ichrvr(ipp) = 1
ilisvr(ipp) = 0
ihisvr(ipp,1) = -1
Code: Select all
GRADRC ISWEEP = 100 RESIDU NORME: 0.5294E+00 NORME: 0.9251E-11
PARAMETRE IVAR = 0
@
@ @@ ATTENTION : NON CONVERGENCE DE GRADRC
@ =========
@
Jacobi [Turb Dis] : divergence après 2 itérations :
résidu initial : 3.1290e+19 ; résidu courant : 5.8071e+23
Bilan des écritures de "chr" (MED_fichier) :
Temps CPU pour les maillages : 0.008
Temps CPU pour les champs : 0.000
Temps écoulé pour les maillages : 0.007
Temps écoulé pour les champs : 0.000
Bilan des écritures de "error" (MED_fichier) :
Temps CPU pour les maillages : 0.008
Temps CPU pour les champs : 0.008
Temps écoulé pour les maillages : 0.007
Temps écoulé pour les champs : 0.006
/home/itouche/Téléchargements/tmp/installer/ncs-2.0.4/src/base/cs_sles.c:1746: Erreur fatale.
Jacobi: error (divergence) solving for Turb Dis
Pile d'appels :
1: 0x7fa215b02a17 <reslin_+0x237> (libsaturne.so.0)
2: 0x7fa215c738d0 <invers_+0x250> (libsaturne.so.0)
3: 0x7fa215b29783 <codits_+0x14e3> (libsaturne.so.0)
4: 0x7fa215cf2334 <turbke_+0x7188> (libsaturne.so.0)
5: 0x7fa215ce7a24 <tridim_+0xb594> (libsaturne.so.0)
6: 0x7fa215b1ac25 <caltri_+0x5085> (libsaturne.so.0)
7: 0x7fa215af5ac3 <cs_run+0x843> (libsaturne.so.0)
8: 0x7fa215af5da5 <main+0x1f5> (libsaturne.so.0)
9: 0x7fa213763c4d <__libc_start_main+0xfd> (libc.so.6)
10: 0x40be69 <> (cs_solver)
Fin de la pile
Code: Select all
subroutine usipsu &
!================
( nmodpp , iverif , [b]imrgra[/b] )
!===============================================================================
! Purpose:
! -------
! User subroutine for the input of additional user parameters.
!-------------------------------------------------------------------------------
! Arguments
!__________________.____._____.________________________________________________.
! name !type!mode ! role !
!__________________!____!_____!________________________________________________!
! nmodpp ! i ! <-- ! number of active specific physics models !
! iverif ! i ! <-- ! flag for elementary tests !
!__________________!____!_____!________________________________________________!
! Type: i (integer), r (real), s (string), a (array), l (logical),
! and composite types (ex: ra real array)
! mode: <-- input, --> output, <-> modifies data, --- work array
!===============================================================================
implicit none
!===============================================================================
! Arguments
integer nmodpp
integer iverif
[b]integer imrgra[/b]
! Local variables
integer iphas, iutile, ii, jj, imom
!===============================================================================
! This subroutine allows setting parameters
! which do not already appear in the other subroutines of this file.
! It is possible to add or remove parameters.
! The number of physical properties and variables is known here.
! If we are using the Code_Saturne GUI:
! we will find in the user subroutines commented examples
! on the model of the present section.
! If necessary, the user may uncomment them and adapt them to
! his needs.
===============================================================================
! Calculation options (optcal.h)
! ==============================
! --- Calculation restart: isuite (= 1) or not (0)
! In case of restart, read auxiliary restart file ileaux (= 1) or not (0).
isuite = 0
ileaux = 1
! --- Duration
! ntmabs = absolute number of the last time step required
! if we have already run 10 time steps and want to
! run 10 more, ntmabs must be set to 10 + 10 = 20
ntmabs = 10
! --- Reference time step
! The example given below is probably not adapted to your case.
dtref = 1.d-2
[b]
imrgra = 4.d0[/b]
! --- Maximum time step: dtmax
! Set a value base on characteristic values of your case.
! otherwise, the code will use a multiple of dtref by default.
! Example with
! Ld: "dynamic" length (for example, the domain length)
! Ud: characteristic flow velocity
! Lt: thermal length (for example, the domain height gravity-wise)
! Delta_rho/rho: relative density difference
! g: gravity acceleration
! dtmax = min(Ld/Ud, sqrt(Lt/(g.Delta_rho/rho)))