Temperature dependence thermal conductivity in Syrthes

This forum is dedicated to Syrthes related issues, as the Syrthes tool does not have its own forum.
Post Reply
Jundi He
Posts: 106
Joined: Fri Jan 13, 2017 3:23 pm

Temperature dependence thermal conductivity in Syrthes

Post by Jundi He »

Hi,

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 */

physol.kiso.k=
}


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
JonasA
Posts: 18
Joined: Tue Feb 06, 2018 11:49 am

Re: Temperature dependence thermal conductivity in Syrthes

Post by JonasA »

Hi,
In this loop, the average temperature in the cell would be in the variable tmoy if you uncomment the line

Code: Select all

data_element_moy(ng,maillnodes,t,&nrefe,&x,&y,&z,&tmoy);
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)

Regards,
Jonas
Post Reply