Magnus Ringh
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
7 months ago
Mar 20, 2024, 8:49 a.m. EDT
Hi Anjelina,
I suggest that you use an Interpolation function for this purpose. You can use linear interpolation or some other interpolation function to get the values between the entered times and temperatures that you specify in the table in the Settings window for the Interpolation function. Use degC
(degrees C) as the unit for the function and s
(seconds) as the unit for the argument, for example.
With the Interpolation function's default name, int1
, then add a Temperature boundary condition to the boundary or boundaries that represent the opened door. There you enter int1(t)
as the temperature, which will then be interpolated according to your entered values during a time-dependent simulation.
Best regards,
Magnus
Hi Anjelina,
I suggest that you use an **Interpolation** function for this purpose. You can use linear interpolation or some other interpolation function to get the values between the entered times and temperatures that you specify in the table in the **Settings** window for the **Interpolation** function. Use `degC` (degrees C) as the unit for the function and `s` (seconds) as the unit for the argument, for example.
With the **Interpolation** function's default name, `int1`, then add a **Temperature** boundary condition to the boundary or boundaries that represent the opened door. There you enter `int1(t)` as the temperature, which will then be interpolated according to your entered values during a time-dependent simulation.
Best regards,
Magnus