Page 1 of 1

Modak emissivity model

Posted: Wed Dec 07, 2016 6:34 pm
by Pierre O.
Hello,

I am discovering the gas combustion module of Saturne and am concerned about the absorption coefficient used in the radiation model. 4 choices for this absoption coefficient are suggested in the manual :
- Constant
- User subroutine usray3
- User law
- H2O and CO2 mixing (Modak)

It seem to me that the Modak model is the more accurate one and that is the one I am interrested in. However, the GUI does allow me only "Constant" and "User subroutine usray3".

I use :
- Version 4.2 of Code Saturne
- Inflinitly fast chemistry model
- Non-adiabatic combustion
- Chemistry data file dp_C3P

Does anyone know how to use this model?

Thanks a lot,

Re: Modak emissivity model

Posted: Thu Dec 08, 2016 8:19 pm
by Yvan Fournier
Hello,

This seems to be a bug in the GUI, which only allows that model for coal combustion. It is actually used for gas in some test cases, but to activate it, you need to use user subroutines (search for modak in examples).

Regards,

Yvan

Re: Modak emissivity model

Posted: Fri Dec 09, 2016 11:09 am
by Pierre O.
Hello,

Thank you for answering quickly. I will try this way.

Best regards,

Pierre

Re: Modak emissivity model

Posted: Wed Dec 28, 2016 7:03 pm
by Pierre O.
Hello Yvan,

I tried to activate this emissivity model through the dedicated user subroutine, but it seem that on my machine the GUI has priority over the user subroutines (although the user manual says that the subroutines have the priority) :
- In cs_parameter.f90, I forced:

Code: Select all

imodak = 1

- The file listing indicates that Modak model was not activated :

Code: Select all

imodak = 0
You can see attached my RESU file. Can you see anything obviousely wrong in the way I used the subroutine?

Regards,

Re: Modak emissivity model

Posted: Wed Dec 28, 2016 11:29 pm
by Yvan Fournier
Hello,

Checking the code, it seems the GUI settings overwrite the user settings in this case.

This is a bug, which I'll fix in the next 4.2.3 release. I'll also check if it is present in other maintained branches and fix it there if required.

Best regards,

Yvan

Re: Modak emissivity model

Posted: Thu Dec 29, 2016 9:20 am
by Pierre O.
Hello,

Thank you for your reactivity. When will this version be available (or where can I check the new releases on the website?).

Best regard,

Re: Modak emissivity model

Posted: Fri Dec 30, 2016 1:05 am
by Yvan Fournier
Hello,

There is no fixed date, but I expect to release it by Jan 15.

In the meantime, you may try searching for "imodak" in the xml file using a text editor and change it manually.

Best regards,

Yvan