About setting the Volumetric Source Term

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


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

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