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.
Referencing of variables and material properties in Version 5.2
Posted 24 nov. 2016, 10:58 UTC−5 Materials, Parameters, Variables, & Functions Version 5.2 3 Replies
Please login with a confirmed email address before reporting spam
Hello fellow Comsol-ians and Comsol-masters,
I am working with Comsol 5.2 for my Bachelor’s thesis and I am trying to model hydrogen flow through porous materials. I like it but I have a little problem:
so far, I have been unable to use dependent variables or defined material properties in my analytic functions, because Comsol says it cannot evaluate the variable. I have tried introducing the variable with some random value in the global Parameters, I have tried different syntax (along the lines of <name>.<variable_name> and the usual comp1.mat4.def.rho etc), but it refuses to work. Also, Comsol says it can’t evaluate comp1.T, which is really strange because it should know T! I mean, that’s the temperature! :-/
I wanted to attach my model, but I am getting a file extension error (it is only a small 192 kB .mph file) when I try to upload it here. But maybe you know the answer anyway? I would be very grateful for your help :-)
Greetings,
Sophie
I am working with Comsol 5.2 for my Bachelor’s thesis and I am trying to model hydrogen flow through porous materials. I like it but I have a little problem:
so far, I have been unable to use dependent variables or defined material properties in my analytic functions, because Comsol says it cannot evaluate the variable. I have tried introducing the variable with some random value in the global Parameters, I have tried different syntax (along the lines of <name>.<variable_name> and the usual comp1.mat4.def.rho etc), but it refuses to work. Also, Comsol says it can’t evaluate comp1.T, which is really strange because it should know T! I mean, that’s the temperature! :-/
I wanted to attach my model, but I am getting a file extension error (it is only a small 192 kB .mph file) when I try to upload it here. But maybe you know the answer anyway? I would be very grateful for your help :-)
Greetings,
Sophie
3 Replies Last Post 1 déc. 2016, 08:10 UTC−5