Error in initialisation of a scalar

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Cbarnaud
Posts: 36
Joined: Tue Oct 22, 2019 10:28 am

Error in initialisation of a scalar

Post by Cbarnaud »

Hello all,

I'm using version 6.0.0 of CS and I have an error with the initialisation of a scalar in my field. I would like to transport Yi (mass fractions) and I have 11 species . My 11th scalar, yN2 should be initialised to 0 in the all domain, like others Yi scalars, but I found that the finial value reach -4.258 in all the domain. And adding a clipping immediately stop the program at initialisation.
I tried to force the initialisation to 0 with cs_user_f_initialization but it don't work (I tried for others Yi to test it and it worked fine for them).
Is the 11th scalar used in CS for something ?
I attached the setup.log file for help support.

Thank you for your time,
Best regards,
Camille B
Attachments
setup.log
(59.7 KiB) Downloaded 111 times
Yvan Fournier
Posts: 4069
Joined: Mon Feb 20, 2012 3:25 pm

Re: Error in initialisation of a scalar

Post by Yvan Fournier »

Hello,

Without more info on your setup, and at least the setup files other than the mesh, it is hard to guess.

Best regards,

Yvan
Post Reply