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.

CTE Syntax error

Nicholas Goldring Certified Consultant

Please login with a confirmed email address before reporting spam

Hello everyone, I'm currently trying to define a function under the basic properties of the built-in silicon so that I can include a temperature-dependent coefficient of thermal expansion in my model. My expression for this CTE, which I gleaned from an old NIST paper is as follows:

-(0.687*10^(-6))+(5*10^(-6))*[(685/T)^2]*e^(685/T)/[exp^(685/T)-1]^2+(0.22*10^(-6))*[(T/395)-1]^2/[1+0.316*(T/395)]

I understand it's a little hairy with all of the coefficients but if anyone familiar with entering functions in to COMSOL might be able to point out something wrong with it, it would be greatly appreciated. I'm currently getting a syntax error. It is eqn (1) of this paper: www.nist.gov/data/PDFfiles/jpcrd220.pdf

Thanks as always.

3 Replies Last Post Jun 15, 2016, 1:31 p.m. EDT
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago Jun 15, 2016, 1:15 p.m. EDT
The problem is likely the square brackets: try replacing them with regular parentheses.
Square brackets are used in COMSOL to indicate units. That's just my .02[USD].
Best,
Jeff
The problem is likely the square brackets: try replacing them with regular parentheses. Square brackets are used in COMSOL to indicate units. That's just my .02[USD]. Best, Jeff

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago Jun 15, 2016, 1:16 p.m. EDT
...and exponential of x is exp(x).
Jeff
...and exponential of x is exp(x). Jeff

Nicholas Goldring Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 8 years ago Jun 15, 2016, 1:31 p.m. EDT
Awesome, thanks Jeff!
Awesome, thanks Jeff!

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.