Define a new variable and calculate its time-averaged value
Posted: Sat Apr 10, 2021 7:46 pm
Dear Code_Saturne developers,
Hello and could you please give me some suggestions about this question:
I am using Code_Saturne 6.0.5 via GUI to calculate the time-averaged values of some variables, as shown in the figure below. But now, I want to define a new variable, "Velocity[1]*Velocity[2]", and get its time-averaged value in the calculation.
I suppose this is not able to achieve in GUI? If so, what user subroutine should I revise to add this new variable? And what subroutine to calculate the time-averaged value of this variable?
Many thanks and best regards,
Ruonan
Hello and could you please give me some suggestions about this question:
I am using Code_Saturne 6.0.5 via GUI to calculate the time-averaged values of some variables, as shown in the figure below. But now, I want to define a new variable, "Velocity[1]*Velocity[2]", and get its time-averaged value in the calculation.
I suppose this is not able to achieve in GUI? If so, what user subroutine should I revise to add this new variable? And what subroutine to calculate the time-averaged value of this variable?
Many thanks and best regards,
Ruonan