Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
How to make two different time ranges periodic in time dependent study
Posted 05.03.2013, 14:07 GMT-5 Heat Transfer & Phase Change, Studies & Solvers Version 4.2 2 Replies
Please login with a confirmed email address before reporting spam
Dear all,
I'm trying to simulate a multi-physics model and one of them is heat transfer. I'm giving a pulse heat source where I use periodic rectangle function. I define the pulse duration as "tt" and the period as "TT". TT is much larger than tt.
Then I use time dependent study and I would like to take 5 values of time in pulse duration and 5 more after that in ONE PERIOD to save computing time. In other words, I'd like to take different densities of values of time in different ranges in one period. And I can make it in only one period like "range(0, tt/4, tt)" and "range(1.01*tt, (TT-1.01*tt)/4, TT)".
My question is how to make this difference repeating in MANY periods.
Is there any expression using mod() to do this or another way?
Thanks in advance.
Best regards,
Chenxi
I'm trying to simulate a multi-physics model and one of them is heat transfer. I'm giving a pulse heat source where I use periodic rectangle function. I define the pulse duration as "tt" and the period as "TT". TT is much larger than tt.
Then I use time dependent study and I would like to take 5 values of time in pulse duration and 5 more after that in ONE PERIOD to save computing time. In other words, I'd like to take different densities of values of time in different ranges in one period. And I can make it in only one period like "range(0, tt/4, tt)" and "range(1.01*tt, (TT-1.01*tt)/4, TT)".
My question is how to make this difference repeating in MANY periods.
Is there any expression using mod() to do this or another way?
Thanks in advance.
Best regards,
Chenxi
2 Replies Last Post 06.03.2013, 11:35 GMT-5