input of a variable which is changing

Please login with a confirmed email address before reporting spam

Hello

I am dealing with heat transfer of a food product placed in a blast chiller. I have to input the external temperature of the chiller/ temperatuer of the cool air. but it is changing its not a single value like when i open a door to put the sample it increases say to -10 and then later it goes -20, -30 until it stabilizes say to -35. how do i input thi sin comsol? please help. thanks


1 Reply Last Post 2024年3月20日 GMT+1 13:49
Magnus Ringh COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 5 months ago 2024年3月20日 GMT+1 13:49

Hi Anjelina,

I suggest that you use anInterpolationfunction 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 theSettingswindow for theInterpolationfunction. UsedegC(degrees C) as the unit for the function ands(seconds) as the unit for the argument, for example.

With theInterpolationfunction's default name,int1, then add aTemperatureboundary condition to the boundary or boundaries that represent the opened door. There you enterint1(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

Reply

Please read thediscussion forum rulesbefore posting.

Pleaselog into post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL®software users who are on-subscription should submit their questions via theSupport Centerfor a more comprehensive response from the Technical Support team.

Baidu
map