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 2021年6月16日 GMT-4 05:34
Magnus Ringh COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 years ago 2021年6月14日 GMT-4 07:22
Updated: 3 years ago 2021年6月14日 GMT-4 07:23

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 2021年6月16日 GMT-4 05:34
Updated: 3 years ago 2021年6月16日 GMT-4 05:38

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.