Page 1 of 1

About setting the Volumetric Source Term

Posted: Thu Jan 26, 2017 1:32 pm
by Jundi He
Hi,

I've run the solid case independently in Syrthes without any volumetric source term, and it just goes fine. But after I set a volumetric source term which is a heat generation term varies along axial (z) direction, and when I run the simulation, it failed. Is there some mistakes during my setting? It's just a simple function. Thank you!

Best Regards!
Jundi He

Re: About setting the Volumetric Source Term

Posted: Tue Jan 31, 2017 4:38 pm
by Luciano Garelli
Hello Jundi He,

Did you solve the problem? If not check the stderr.txt file for more information. Also, you can check the in the user_fct.c file (void user_cfluvs_fct() ) if the data that you input throught the GUI were setted.

Regards,

Luciano

Re: About setting the Volumetric Source Term

Posted: Thu Feb 02, 2017 12:21 pm
by Jundi He
Hello, Luciano:

I did "solve" the problem, by replacing (z/8.32)^2 with (z/8.32)*(z/8.32), as I realized that the function complier doesn't recognise the "^". Thanks.

Best Regards!
Jundi He