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.
"Unexpected unit of input" error for material property defined by piecewise function
Posted 20 févr. 2018, 16:16 UTC−5 Electromagnetic Heating Version 4.2a 1 Reply
Please login with a confirmed email address before reporting spam
Hello,
I am using Comsol 4.2. defined a temperature-dependent heat capacity using a piecwise function. The argument is T and I defined the units of the argument and function as K and J/(kg*K), respectively. I named the function Cp_eff. When I enter Cp_eff(T) under the Value column for the Heat capactiy property, the entered value turns orange with the warning "Unexpected unit of input". The function unit is correct, so I don't know what the problem could be.
Thanks.