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.
Material Function error.
Posted 18 févr. 2022, 07:00 UTC−5 Heat Transfer & Phase Change, Heat Transfer, Materials Version 5.4 2 Replies
Please login with a confirmed email address before reporting spam
HI,
I am using COMSOL Multiphysics 5.4.0.388. Working with Heat trasfer and phase change with Laminar flow. I tried to defined a temperature-dependent heat capacity using a piecwise function for a phase cahneg material (solid and liquid phase). The argument is T and defined the units of the argument and function as K and J/(kgK), respectively. For solid and liquidn material I named the Cp as Cp_solid and Cp_liquid respectively. However when I enter Cp_solid(T) in the material content section it turns orange and while computing it shows error.
Unefined variable eoor.
Any suggestions will be quiet helpful.