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.
Adding temperature varying with time
Posted Feb 5, 2013, 11:30 p.m. EST Fluid & Heat, Interfacing, Heat Transfer & Phase Change, Computational Fluid Dynamics (CFD), Geometry, Mesh, Modeling Tools & Definitions, Parameters, Variables, & Functions, Studies & Solvers Version 4.3a 9 Replies
Please login with a confirmed email address before reporting spam
How can I use functions like interpolation, Rectangular etc,,,
Attachments:
Please login with a confirmed email address before reporting spam
you can replace your XXX with something like T0[K]+DT[K/s]*t where T0 is a constant scalar representing the initial temperature in Kelvin, and DT is the temperature increase with time (the numbers and units are typically defined in the Parameter section with the Parameters T0 and DT)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Hi
you can replace your XXX with something like T0[K]+DT[K/s]*t where T0 is a constant scalar representing the initial temperature in Kelvin, and DT is the temperature increase with time (the numbers and units are typically defined in the Parameter section with the Parameters T0 and DT)
--
Good luck
Ivar
But sir, I have created an interpolation as in the image for ambient temperature. where t is time and f(t) is temperature at that time. I wish to use this interpolation in inputting the T(ext) at heat flux as the outer walls of my model will be affected by ambient temperature. Can you let me know how to solve the above problem??
Please help sir...
Attachments:
Please login with a confirmed email address before reporting spam
have you tried with Text(t[1/s]) the [1/s] is to transform the variable t with units into a "pure" number expressed in seconds
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Hi
have you tried with Text(t[1/s]) the [1/s] is to transform the variable t with units into a "pure" number expressed in seconds
--
Good luck
Ivar
But sir, what value will it take if I give like that?? Will it take the same value of Text given beside that particular time or will any algebraic process take place??
And, Is it okay if I give the external temperature values like the given interpolation or do I need any special heat flux definition to incorporate variations in temperature as the heat transfer takes place??
Please login with a confirmed email address before reporting spam
while the solver steps through the transient study, going from your first to the last value, it will, for each new time step, calculate the value of Text(t) you have given, it will interpolate between the values
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Hi
while the solver steps through the transient study, going from your first to the last value, it will, for each new time step, calculate the value of Text(t) you have given, it will interpolate between the values
--
Good luck
Ivar
Thank you sir... that's a great guidance. Can I take it that I have given the input in a correct way and the results aimed in terms of temperature variation through the elements of my model can be obtained with these inputs?
Please login with a confirmed email address before reporting spam
A good rule is always to check, so use the Results, Derived variables and plot options to follow also your input over time.
Often the Definition Probes are nice to follow a long simulation over time
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Hi
A good rule is always to check, so use the Results, Derived variables and plot options to follow also your input over time.
Often the Definition Probes are nice to follow a long simulation over time
--
Good luck
Ivar
And sir, Can you let me know what would be the RAM requirement for my model? It has 1,35,45,900 DoF.
Please login with a confirmed email address before reporting spam
check the KB, there should be somewhere a document about Elements, discretization DOF and RAM,
But basically you need 4 bytes per DoF per matrix, minus what the sparsity treatment can gain, its not straightforward, but >1MDoF needs a biiig workstation
--
Good luck
Ivar
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.
Suggested Content
- BLOG 4 Methods to Account for Radiation in Participating Media
- KNOWLEDGE BASE Solving electromagnetic heating models with high-frequency loads
- BLOG Modeling Laser-Material Interactions with the Beer-Lambert Law
- FORUM Applying a temperature varying with time
- BLOG Using the General Extrusion Coupling Operator in COMSOL: Dynamic Probe