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.

Applying a temperature varying with time

Please login with a confirmed email address before reporting spam

Hi I have modeled a bottle with water inside and I want to apply a temperature at the bottom of the bottle which varies with time. I have made a table with temperature vs time.

How do I apply this as a temperature load?


2 Replies Last Post 16.06.2021, 05:34 GMT-4
Magnus Ringh COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 years ago 14.06.2021, 07:22 GMT-4
Updated: 3 years ago 14.06.2021, 07:23 GMT-4

Hi,

This is straightforward. Define the table as a Interpolation function with seconds as the input argument and kelvin as the output (function) argument. If the function is called temp_vs_time, for example, enter it as the temperature in the Temperature node that is active at the bottom of the bottle as temp_vs_time(t).

Best regards,

Magnus Ringh

Hi, This is straightforward. Define the table as a Interpolation function with seconds as the input argument and kelvin as the output (function) argument. If the function is called `temp_vs_time`, for example, enter it as the temperature in the **Temperature** node that is active at the bottom of the bottle as `temp_vs_time(t)`. Best regards, Magnus Ringh

Please login with a confirmed email address before reporting spam

Posted: 3 years ago 16.06.2021, 05:34 GMT-4
Updated: 3 years ago 16.06.2021, 05:38 GMT-4

Do I define a function under Defintions? If so, when I enter my function name as you stated (e.g. temp_vs_time(t)) I get a yellow highligh stating that its an unexpected unit of input.

EDIT: Never mind I forgot the units...

Do I define a function under Defintions? If so, when I enter my function name as you stated (e.g. temp_vs_time(t)) I get a yellow highligh stating that its an unexpected unit of input. EDIT: Never mind I forgot the units...

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