Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
13.12.2012, 19:14 GMT-5
On looking at the error message upward, under dependent variables stored was mod1.T2 instead of T.
Replacing T with mod1.T2 in the interpolation function label and in the independent variable in the table, the program ran well, showing the temperature dependency of the various material properties upon completion.
I noticed other people were having problems with the interpolation function and temperature dependent material properties. Perhaps this will help.
--
Arthur Rupel
On looking at the error message upward, under dependent variables stored was mod1.T2 instead of T.
Replacing T with mod1.T2 in the interpolation function label and in the independent variable in the table, the program ran well, showing the temperature dependency of the various material properties upon completion.
I noticed other people were having problems with the interpolation function and temperature dependent material properties. Perhaps this will help.
--
Arthur Rupel
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
14.12.2012, 01:15 GMT-5
Hi
but your dependent variable in the physics was it T or T2 ?, if you include several physics each with a dependent variable T, COMSOL will rename the variable for the second and thereacter by T2, T3 ,... Then you must also change the names in your formaulys to T2, T3, ...
--
Good luck
Ivar
Hi
but your dependent variable in the physics was it T or T2 ?, if you include several physics each with a dependent variable T, COMSOL will rename the variable for the second and thereacter by T2, T3 ,... Then you must also change the names in your formaulys to T2, T3, ...
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
14.12.2012, 15:12 GMT-5
Thanks for advice. Ironically looking at the COMSOL manuals and examples everything said the the temperature variable would be T (for piecewise and analytical functions). Under this guidance I tried every conceivable variation for T and always got undefined jacobian variable.
It was only when I traced the error message upwards that I found undefined variable mod1.T2 which I then replaced for T in my interpolations functions and everything ran smoothly.
The thermal stress options was taken from the Structural Mechanics Module.
But I had to use the HT module for boundary conditions, heating and convection.
This may be something that I have to check since Cp and k are also temperature dependent and are inputed as temperature dependent properties.
If this is true, then it may be that I have to use either a mod1.T1 or are mod1.T3 as the independent variable in HT.
Not sure of this but will try it out.
Also I can plot the Cp and k properties at the elevated tempertures to see if they physically make sense.
Sorry for the longwinded response.
Again thanks,
Art
--
Arthur Rupel
Thanks for advice. Ironically looking at the COMSOL manuals and examples everything said the the temperature variable would be T (for piecewise and analytical functions). Under this guidance I tried every conceivable variation for T and always got undefined jacobian variable.
It was only when I traced the error message upwards that I found undefined variable mod1.T2 which I then replaced for T in my interpolations functions and everything ran smoothly.
The thermal stress options was taken from the Structural Mechanics Module.
But I had to use the HT module for boundary conditions, heating and convection.
This may be something that I have to check since Cp and k are also temperature dependent and are inputed as temperature dependent properties.
If this is true, then it may be that I have to use either a mod1.T1 or are mod1.T3 as the independent variable in HT.
Not sure of this but will try it out.
Also I can plot the Cp and k properties at the elevated tempertures to see if they physically make sense.
Sorry for the longwinded response.
Again thanks,
Art
--
Arthur Rupel
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
14.12.2012, 17:38 GMT-5
Just a final say from my previous rather wordy discussion.
I plotted Cp and k, and they are in agreement with the temperature distribution and the interpolation tables.
So mod1.T2 did the trick.
PS: Ms. Margareta Muchacha wishes you a Merry Christmas!
--
Arthur Rupel
Just a final say from my previous rather wordy discussion.
I plotted Cp and k, and they are in agreement with the temperature distribution and the interpolation tables.
So mod1.T2 did the trick.
PS: Ms. Margareta Muchacha wishes you a Merry Christmas!
--
Arthur Rupel
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
15.12.2012, 06:01 GMT-5
Hi
I believe you are getting confused with dependent variables for different physics, that must be unique (T, T1, T2, ...as default by COMSOL if you add several physics with the same dependent variable "temperature", and the dummy variable for functions in general, and finally the variable for the material properties.
Check your dependent variable names in the main physics node, then check that the material propaerties are called with the correet varaible name.
Sometimes COMSOL get confused, when you add and delete several physics and or solvers and your internal data base pointer system to the variables might get corrupt. So if you modify a lot your model, it's often worth, once you are happy (or give up because it seems to not get you anywhere) to rebuild from scratch your model, to be sure you get all default names in their simplest form
--
Good luck
Ivar
Hi
I believe you are getting confused with dependent variables for different physics, that must be unique (T, T1, T2, ...as default by COMSOL if you add several physics with the same dependent variable "temperature", and the dummy variable for functions in general, and finally the variable for the material properties.
Check your dependent variable names in the main physics node, then check that the material propaerties are called with the correet varaible name.
Sometimes COMSOL get confused, when you add and delete several physics and or solvers and your internal data base pointer system to the variables might get corrupt. So if you modify a lot your model, it's often worth, once you are happy (or give up because it seems to not get you anywhere) to rebuild from scratch your model, to be sure you get all default names in their simplest form
--
Good luck
Ivar