Page 1 of 1

Temperature dependence thermal conductivity in Syrthes

Posted: Thu Jun 29, 2017 6:54 pm
by Jundi He

I have a question about Syrthes, but since there is no Syrthes forum, I can only ask here. In the user condition subroutine, I need to define the thermal conductivity of the solid by temperature of the element:

for (i=0;i<physol.kiso.nelem;i++)
ng=physol.kiso.ele /* Global number of the element */
nr=maillnodes.nrefe[ng] /* Reference number of the element */
/* data_element_moy(ng,maillnodes,t,&nrefe,&x,&y,&z,&tmoy);*/ /* Average values ​​on element */


In the subroutine which defines the physical properties, ng is the global ID number of the element, and how should I get the temperature of the element? Which function should I use? In the comment of the subroutine, it says that the average value of the element can be obtained. Thanks.

Best Regards!
Jundi He

Re: Temperature dependence thermal conductivity in Syrthes

Posted: Tue Apr 24, 2018 11:12 am
by JonasA
In this loop, the average temperature in the cell would be in the variable tmoy if you uncomment the line

Code: Select all

that get the the reference of the groups to which the cell belongs, its position and the temperature of the given cell at the given time and store them in the variable given (here &nrefe,&x,&y,&z,&tmoy)