Please could you help me with this restarting problem?
I am running version 7.2 alpha, compiled from GitHub source code, on a cluster. When I restart, I always found an error, "Invalid (not-a-number) values detected for a field." The listing, xml and subroutine I used are attached.
I use the ideal gas law rho=P/(R*T). I can see the error came from infinite density, which is because the minimum temperature went to 0. But the minimum temperature should be 293.15K, as I set it as boundary condition.
I also found one warning when reading the auxiliary restart file, so I tried not to read the auxiliary restart file, but the error was still there.
Many thanks,
Ruonan
Code: Select all
READING THE AUXILIARY RESTART FILE
Start reading
Finished reading options
restart/auxiliary.csc: section "ref_presstot01" not present.
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
@ @@ WARNING: WHEN READING THE AUXILIARY RESTART FILE
@ =======
@ Lecture des proprietes physiques
@
@ It was not possible to read some values from the
@ auxiliary restart file.
@ They will be initialized by the default values.
@
@ This situation can occur when the restart file
@ originates from a run realised with different
@ options or when the file is damaged.
@
@ The run will continue...
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
Fin de la lecture des proprietes physiques
Fin de la lecture du pas de temps
Fin de la lecture des flux de masse
Fin de la lecture des conditions aux limites
restart/auxiliary.csc: section "time_moments:sizes" not present.
End reading
-----------------------------------------------------------
** VARIABLES INITIALIZATION
------------------------
-----------------------------------------
Property Min. value Max. value
-----------------------------------------
density 0.1021E+01 Infinity
molecular_viscos 0.1810E-04 0.1810E-04
turbulent_viscos 0.1793E-09 Infinity
-----------------------------------------
--- Diffusivity:
-----------------------------------------------
Scalar Number Min. value Max. value
-----------------------------------------------
TempK 1 0.2590E-01 0.2590E-01
-----------------------------------------------
** INFORMATION ON BOUNDARY FACES TYPE
----------------------------------
-------------------------------------------------------------------------
Boundary type Code Nb faces
-------------------------------------------------------------------------
Inlet 2 0
Smooth wall 5 2384
Rough wall 6 0
Symmetry 4 357600
Free outlet 3 0
Free inlet 14 0
Convective inlet 16 0
Free surface 15 0
Undefined 1 0
-------------------------------------------------------------------------
** Clippings for computed fields
-----------------------------
field initial min initial max clips to min clips to max
- ----- -------------- -------------- ------------ ------------
a TempK
** Field values on cells
---------------------
field minimum maximum set mean spatial mean
- ---------------- -------------- -------------- -------------- --------------
v Velocity[X] -1.3814e-11 1.7239e-11 -5.1037e-16 -3.9398e-16
v Velocity[Y] -0.34354 0.31963 0.00012551 -0.00085584
v Velocity[Z] -0.33995 0.27782 -0.010218 -0.011866
v ǁVelocityǁ 0 0.35436 0.091759 0.095616
v Pressure -0.16049 0.17511 0.0076409 0.0011287
v TempK 0 345.84 163.23 164.36
v Density 1.0208 inf inf inf
v TurbVisc 1.7931e-10 inf -nan -nan
v CourantNb 0 0 0 0
v FourierNb 0 0 0 0
v total_pressure 1.0132e+05 1.0133e+05 1.0133e+05 1.0132e+05
v Wall distance 0 0.057692 0.013109 0.014458
v Wall Y+ 0 207.28 23.596 25.743
v volume_forces[X] 0 0 0 0
v volume_forces[Y] -7.2807 7.7347 -0.0014006 0.0054735
v volume_forces[Z] -7.8166 7.2972 0.005871 -0.0017102
v ǁvolume_forcesǁ 0.00034577 8.0707 3.0387 3.1546
** Field values on boundary_faces
------------------------------
field minimum maximum set mean spatial mean
- -------------------- -------------- -------------- -------------- --------------
v Boundary temperature 0 345.84 163.21 164.36
v Boundary Density 1.0208 inf inf inf
v Yplus 0 0 0 0
/users/rw00793/code_saturne_72alpha/code_saturne-master/src/base/cs_log_iteration.c:842: Fatal error.
Invalid (not-a-number) values detected for a field.
Call stack:
1: 0x2af234c3006a <+0x16006a> (libsaturne-7.2.so)
2: 0x2af234c32228 <cs_log_iteration+0x18> (libsaturne-7.2.so)
3: 0x2af234b8ec5d <caltri_+0x188d> (libsaturne-7.2.so)
4: 0x2af2348d3fe9 <main+0x6d9> (libcs_solver-7.2.so)
5: 0x2af237cc7c05 <__libc_start_main+0xf5> (libc.so.6)
6: 0x401209 <> (cs_solver)
End of stack
Ruonan