Error in user-defined function

Please login with a confirmed email address before reporting spam

Time: 1833412.0064212149 s. Error in user-defined function. Function: comp1.mat1.def.k Failed to evaluate variable. Variable: comp1.ht.k effxx, Defined as: (unit W cfcomp1.mat1.def.k(comp1.ht.bm1.minput relativehumidity))/(unit m cfunit K cf) Failed to evaluate variable. Variable: comp1.ht.dfluxx, Defined as: ((comp1.Tx(-comp1.ht.k effxx))-((d(unit Pa cfcomp1.ht.bm1.fpsat(comp1.T/unit K cf),comp1.T)((comp1.ht.Lvcomp1.ht.delta p)comp1.ht.phi))comp1.Tx))-(d(comp1.ht.phi,x)(unit Pa cf((comp1.ht.Lvcomp1.ht.delta p)comp1.ht.bm1.fpsat(comp1.T/unit K cf)))) Failed to evaluate expression. Expression: dvol spatial(comp1.ht.dcomp1.ht.dfluxx) Failed to evaluate Jacobian of expression. Expression: (comp1.ht.dfluxxtest(comp1.Tx)comp1.ht.d)(dvol spatial) Error in user-defined function. Function: comp1.mat1.def.k Failed to evaluate variable. Variable: comp1.ht.k effxx, Defined as: (unit W cfcomp1.mat1.def.k(comp1.ht.bm1.minput relativehumidity))/(unit m cfunit K cf) Failed to evaluate variable. Variable: comp1.ht.dfluxx, Defined as: ((comp1.Tx(-comp1.ht.k effxx))-((d(unit Pa cfcomp1.ht.bm1.fpsat(comp1.T/unit K cf),comp1.T)((comp1.ht.Lvcomp1.ht.delta p)comp1.ht.phi))comp1.Tx))-(d(comp1.ht.phi,x)(unit Pa cf((comp1.ht.Lvcomp1.ht.delta p)*comp1.ht.bm1.fpsat(comp1.T/unit K cf)))) Failed to evaluate expression.


1 Reply Last Post 27 nov 2023, 14:24 GMT-5
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 5 months ago 27 nov 2023, 14:24 GMT-5
Updated: 5 months ago 27 nov 2023, 14:15 GMT-5

Hello,

Without context, you are unlikely to receive feedback beyond what you've probably already understood, namely that at the time indicated the software is unable to evaluate the function comp1.mat1.def.k for some reason. Consider attaching your mph file and a description of what you are trying to model.

Best,

Jeff

-------------------
Jeff Hiller
Hello, Without context, you are unlikely to receive feedback beyond what you've probably already understood, namely that at the time indicated the software is unable to evaluate the function comp1.mat1.def.k for some reason. Consider attaching your mph file and a description of what you are trying to model. Best, Jeff

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.