CMSX4:Simulation Error
Posted: Fri Feb 03, 2017 11:57 am
Hi,
I was trying to run the CMSX4 example with a newly generated GES file wherein I used the updated thermodynamic database TTNI8 and mobility database MOBNI4 and the same components for generating the file. However, on inputting the GES file name and changing the code to
Code Change:
# How shall diffusion of component 1 in phase 0 be solved?
1 0 diagonal g
# How shall diffusion of component 2 in phase 0 be solved?
2 0 diagonal g
# How shall diffusion of component 3 in phase 0 be solved?
3 0 diagonal g
# How shall diffusion of component 4 in phase 0 be solved?
4 0 diagonal g
# How shall diffusion of component 5 in phase 0 be solved?
5 0 diagonal g
# How shall diffusion of component 6 in phase 0 be solved?
6 0 diagonal g
# How shall diffusion of component 7 in phase 0 be solved?
7 0 diagonal g
# How shall diffusion of component 8 in phase 0 be solved?
8 0 diagonal g
# How shall diffusion of component 9 in phase 0 be solved?
9 0 diagonal g
# How shall diffusion of component 1 in phase 1 be solved?
1 1 multi ggggggggg
# How shall diffusion of component 2 in phase 1 be solved?
2 1 multi ggggggggg
# How shall diffusion of component 3 in phase 1 be solved?
3 1 multi ggggggggg
# How shall diffusion of component 4 in phase 1 be solved?
4 1 multi ggggggggg
# How shall diffusion of component 5 in phase 1 be solved?
5 1 multi ggggggggg
# How shall diffusion of component 6 in phase 1 be solved?
6 1 multi ggggggggg
# How shall diffusion of component 7 in phase 1 be solved?
7 1 multi ggggggggg
# How shall diffusion of component 8 in phase 1 be solved?
8 1 multi ggggggggg
# How shall diffusion of component 9 in phase 1 be solved?
9 1 multi ggggggggg
end_diffusion_data
Running the MICRESS code shows a simulation error as
Error:
==================================================
Time t = 0.0000000 s
CPU-time: 18 s
Current phase-field solver time step = 3.21E-05 s
Temperature at the bottom = 1652.0 K
Temperature gradient = 0.00000 K/cm
Fraction of phase 0: 1.00000
Fraction of phase 1: 0.00000
Fraction of phase 2: 0.00000
Updating of diffusion data from database...
Grain 5 reaches full size at t = 1.3973E-02 s
Grain 1 reaches full size at t = 1.5341E-02 s
Grain 2 reaches full size at t = 1.5341E-02 s
Grain 3 reaches full size at t = 1.5341E-02 s
Grain 4 reaches full size at t = 1.5341E-02 s
Grain 6 reaches full size at t = 1.5341E-02 s
Grain 7 reaches full size at t = 1.5341E-02 s
Grain 8 reaches full size at t = 1.5341E-02 s
Grain 9 reaches full size at t = 1.5341E-02 s
Grain 10 reaches full size at t = 1.5341E-02 s
Grain 11 reaches full size at t = 1.5341E-02 s
Grain 12 reaches full size at t = 1.5341E-02 s
Grain 13 reaches full size at t = 1.5341E-02 s
Grain 14 reaches full size at t = 1.5341E-02 s
Intermediate output for t = 2.0000 s
CPU-time: 7644 s
Current phase-field solver time step = 1.00E-01 s
Average conc. of comp. 1 = NaN, Variation = NaN wt%
Average conc. of comp. 2 = NaN, Variation = NaN wt%
Average conc. of comp. 3 = NaN, Variation = NaN wt%
Average conc. of comp. 4 = NaN, Variation = NaN wt%
Average conc. of comp. 5 = NaN, Variation = NaN wt%
Average conc. of comp. 6 = NaN, Variation = NaN wt%
Average conc. of comp. 7 = NaN, Variation = NaN wt%
Average conc. of comp. 8 = NaN, Variation = NaN wt%
Average conc. of comp. 9 = NaN, Variation = NaN wt%
Temperature at the bottom = 1650.7 K
Temperature gradient = 0.00000 K/cm
complete relinearisation!
trying hard phases 0 1 level: 4 zp= 1010 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 169439 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 443914 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 343887 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 516331 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 70414 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 243860 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 417306 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 161221 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 334467 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 507713 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 434840 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 60848 error= 3
and the same goes on for other phases. Can someone please explain what this error is about and what can I do to avoid it?
I was trying to run the CMSX4 example with a newly generated GES file wherein I used the updated thermodynamic database TTNI8 and mobility database MOBNI4 and the same components for generating the file. However, on inputting the GES file name and changing the code to
Code Change:
# How shall diffusion of component 1 in phase 0 be solved?
1 0 diagonal g
# How shall diffusion of component 2 in phase 0 be solved?
2 0 diagonal g
# How shall diffusion of component 3 in phase 0 be solved?
3 0 diagonal g
# How shall diffusion of component 4 in phase 0 be solved?
4 0 diagonal g
# How shall diffusion of component 5 in phase 0 be solved?
5 0 diagonal g
# How shall diffusion of component 6 in phase 0 be solved?
6 0 diagonal g
# How shall diffusion of component 7 in phase 0 be solved?
7 0 diagonal g
# How shall diffusion of component 8 in phase 0 be solved?
8 0 diagonal g
# How shall diffusion of component 9 in phase 0 be solved?
9 0 diagonal g
# How shall diffusion of component 1 in phase 1 be solved?
1 1 multi ggggggggg
# How shall diffusion of component 2 in phase 1 be solved?
2 1 multi ggggggggg
# How shall diffusion of component 3 in phase 1 be solved?
3 1 multi ggggggggg
# How shall diffusion of component 4 in phase 1 be solved?
4 1 multi ggggggggg
# How shall diffusion of component 5 in phase 1 be solved?
5 1 multi ggggggggg
# How shall diffusion of component 6 in phase 1 be solved?
6 1 multi ggggggggg
# How shall diffusion of component 7 in phase 1 be solved?
7 1 multi ggggggggg
# How shall diffusion of component 8 in phase 1 be solved?
8 1 multi ggggggggg
# How shall diffusion of component 9 in phase 1 be solved?
9 1 multi ggggggggg
end_diffusion_data
Running the MICRESS code shows a simulation error as
Error:
==================================================
Time t = 0.0000000 s
CPU-time: 18 s
Current phase-field solver time step = 3.21E-05 s
Temperature at the bottom = 1652.0 K
Temperature gradient = 0.00000 K/cm
Fraction of phase 0: 1.00000
Fraction of phase 1: 0.00000
Fraction of phase 2: 0.00000
Updating of diffusion data from database...
Grain 5 reaches full size at t = 1.3973E-02 s
Grain 1 reaches full size at t = 1.5341E-02 s
Grain 2 reaches full size at t = 1.5341E-02 s
Grain 3 reaches full size at t = 1.5341E-02 s
Grain 4 reaches full size at t = 1.5341E-02 s
Grain 6 reaches full size at t = 1.5341E-02 s
Grain 7 reaches full size at t = 1.5341E-02 s
Grain 8 reaches full size at t = 1.5341E-02 s
Grain 9 reaches full size at t = 1.5341E-02 s
Grain 10 reaches full size at t = 1.5341E-02 s
Grain 11 reaches full size at t = 1.5341E-02 s
Grain 12 reaches full size at t = 1.5341E-02 s
Grain 13 reaches full size at t = 1.5341E-02 s
Grain 14 reaches full size at t = 1.5341E-02 s
Intermediate output for t = 2.0000 s
CPU-time: 7644 s
Current phase-field solver time step = 1.00E-01 s
Average conc. of comp. 1 = NaN, Variation = NaN wt%
Average conc. of comp. 2 = NaN, Variation = NaN wt%
Average conc. of comp. 3 = NaN, Variation = NaN wt%
Average conc. of comp. 4 = NaN, Variation = NaN wt%
Average conc. of comp. 5 = NaN, Variation = NaN wt%
Average conc. of comp. 6 = NaN, Variation = NaN wt%
Average conc. of comp. 7 = NaN, Variation = NaN wt%
Average conc. of comp. 8 = NaN, Variation = NaN wt%
Average conc. of comp. 9 = NaN, Variation = NaN wt%
Temperature at the bottom = 1650.7 K
Temperature gradient = 0.00000 K/cm
complete relinearisation!
trying hard phases 0 1 level: 4 zp= 1010 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 169439 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 443914 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 343887 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 516331 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 70414 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 243860 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 417306 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 161221 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 334467 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 507713 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 434840 error= 3
trying harder! Error = 3
trying hard phases 0 1 level: 4 zp= 60848 error= 3
and the same goes on for other phases. Can someone please explain what this error is about and what can I do to avoid it?