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.
Time dependant temperature at the boundary
Posted Jan 27, 2015, 7:37 p.m. EST MEMS & Nanotechnology, Heat Transfer & Phase Change, MEMS & Piezoelectric Devices, Materials, Modeling Tools & Definitions, Parameters, Variables, & Functions, Studies & Solvers Version 4.4, Version 5.0 10 Replies
Please login with a confirmed email address before reporting spam
I am new in COMSOL, so probably this question will be really naive for you, but I need to ask. I want to apply in one of the faces of my model a temperature that is changing with the time , what I have is a table of 20 set of datas
Temperature Time
20 0
32 300
50 500
55 642
And so on. However, I don't know how to introduce my data to change the boundary condition of the model according to my data, I am trying to use a Time dependent study but I don't know how.
I used a parametric sweep to change the temperature, but this option doesn't let me change the temperature according to the time.
I hope you can help me. I am sure is a really easy issue.
Rogelio
Please login with a confirmed email address before reporting spam
It is possible by defining a piecewise function under Global --> Definitions --> Functions. Remember to add the unit for the argument and the function. Comsol gives the default name "pw1" for your function. Then, at the boundary condition box write pw1(t). I tried this and it works.
Good luck
Lasse
Please login with a confirmed email address before reporting spam
Works!. Now I am trying to do something different. Over my time dependent solution I want to use parameter sweep to change the value of one part of the geometry and try to know which is the best dimension of this parameter. However, I am getting this mistake when I click compute, after a while this message appears.
Error in sweep. Incompatible numerical evaluation for table.
do you know why is that? The parameter that I am changing is from 4 um to 8 um. pretty easy!
Regards
Rogelio
Please login with a confirmed email address before reporting spam
Lasse
Please login with a confirmed email address before reporting spam
Attached you will find my model, some explanations about what I am doing:
1.- The parameter sweep of the thickness of my parylene layer is being done on the Auxiliary sweep option under Study Extensions tab. I am pretty sure that the error is related to some meshing issue.
2.- I am also including in my model temperature dependence properties, this was done with a interpolation function that is being called in the Materials property section for the corresponding property. However, I am getting a strange warning message : "Unexpected unit of input", although this message is not stopping the simulation I am worry about if this can lead to a wrong result. I am attaching a screenshot
I hope you can help me Lasse
Thanks in advance.
Attachments:
Please login with a confirmed email address before reporting spam
Your interpolation table int1 gives temperatures in degC, try K if it resolves the input unit problem, I am not sure.
Good luck
Lasse
Please login with a confirmed email address before reporting spam
I will try with the meshing, thanks for your recommendation. Regarding the interpolation table, I already try changing the units and the warning message still there, looks like is not a error because I can run the model without the parametric sweep and get results.
Thanks a lot!
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
br
Lasse
Please login with a confirmed email address before reporting spam
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.