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.
Some Derivative Error
Posted 24.01.2011, 04:16 GMT-5 1 Reply
Please login with a confirmed email address before reporting spam
Hello everyone,
I've been working on a certain model in COMSOL 4.0, and when I try to solve the whole model, I receive this error:
Failed to evaluate expression.
- Expression: d((mod1.cn.crosswind)*(dvol),{test@3})
Failed to evaluate temporary symbolic derivative variable.
- Variable: mod1.cn.crosswind@VDN${test@3}
- Defined as: ((((((mod1.cnz-((1/nojac(max(((mod1.cn.w^2)+(mod1.cn.u^2)),sqrt(eps))))*((mod1.cnz*nojac((mod1.cn.w^2)))+(mod1.cnr*nojac((mod1.cn.u*mod1.cn.w))))))*abs(mod1.cn.Res cn)))*((2*mod1.cn.cwdhv1 cn)*mod1.cn.cwdhv2 cn))*pi)*r)
Failed to evaluate variable.
- Variable: mod1.cn.cwdhv1 cn
- Defined as: (-0.5*nojac(max(0,(if((gmg level==0),0.40000000000000002,0.69999999999999996)-(((mod1.cn.Dav cn*2)*sqrt(emetric(mod1.cnr,mod1.cnz)))/max(abs(((mod1.cnz*mod1.cn.w)+(mod1.cnr*mod1.cn.u))),((emetric2^0.25)*(mod1.cn.Dav cn*mod1.cn.glim))))))))
Failed to evaluate expression.
- Expression: nojac(max(0,(if((gmg level==0),0.40000000000000002,0.69999999999999996)-(((mod1.cn.Dav cn*2)*sqrt(emetric(mod1.cnr,mod1.cnz)))/max(abs(((mod1.cnz*mod1.cn.w)+(mod1.cnr*mod1.cn.u))),((emetric2^0.25)*(mod1.cn.Dav cn*mod1.cn.glim)))))))
Failed to evaluate variable.
- Variable: mod1.cn.glim
- Defined as: ((unit mol cf*0.10000000000000001)/((unit m cf^3)*chds.helem))
Failed to evaluate variable.
- Variable: chds.helem
- Geometry: 1
- Domain: 1 2 3 4 5
I think it has something to do with derivatives in my model, but I'm not sure... Can you please help me out? :)
I've been working on a certain model in COMSOL 4.0, and when I try to solve the whole model, I receive this error:
Failed to evaluate expression.
- Expression: d((mod1.cn.crosswind)*(dvol),{test@3})
Failed to evaluate temporary symbolic derivative variable.
- Variable: mod1.cn.crosswind@VDN${test@3}
- Defined as: ((((((mod1.cnz-((1/nojac(max(((mod1.cn.w^2)+(mod1.cn.u^2)),sqrt(eps))))*((mod1.cnz*nojac((mod1.cn.w^2)))+(mod1.cnr*nojac((mod1.cn.u*mod1.cn.w))))))*abs(mod1.cn.Res cn)))*((2*mod1.cn.cwdhv1 cn)*mod1.cn.cwdhv2 cn))*pi)*r)
Failed to evaluate variable.
- Variable: mod1.cn.cwdhv1 cn
- Defined as: (-0.5*nojac(max(0,(if((gmg level==0),0.40000000000000002,0.69999999999999996)-(((mod1.cn.Dav cn*2)*sqrt(emetric(mod1.cnr,mod1.cnz)))/max(abs(((mod1.cnz*mod1.cn.w)+(mod1.cnr*mod1.cn.u))),((emetric2^0.25)*(mod1.cn.Dav cn*mod1.cn.glim))))))))
Failed to evaluate expression.
- Expression: nojac(max(0,(if((gmg level==0),0.40000000000000002,0.69999999999999996)-(((mod1.cn.Dav cn*2)*sqrt(emetric(mod1.cnr,mod1.cnz)))/max(abs(((mod1.cnz*mod1.cn.w)+(mod1.cnr*mod1.cn.u))),((emetric2^0.25)*(mod1.cn.Dav cn*mod1.cn.glim)))))))
Failed to evaluate variable.
- Variable: mod1.cn.glim
- Defined as: ((unit mol cf*0.10000000000000001)/((unit m cf^3)*chds.helem))
Failed to evaluate variable.
- Variable: chds.helem
- Geometry: 1
- Domain: 1 2 3 4 5
I think it has something to do with derivatives in my model, but I'm not sure... Can you please help me out? :)
1 Reply Last Post 24.01.2011, 05:22 GMT-5