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.
How to access materials property variable using material switch node
Posted 12 févr. 2015, 06:44 UTC−5 Version 4.4 2 Replies
Please login with a confirmed email address before reporting spam
Hello all.
I want to access materials property variable(Cp,rho etc) in physics node.
When I use (nomal) material node, I can access this syntax : "comp1.mat1.def.Cp" .
Then, how should I access these variables when I use "switch for materials" node?
Ofcourse I can access each materials property in "switch for materials" node lile "comp1.sw1.mat1.def.Cp" ,
but I want to access mat1.Cp and mat2.Cp uniformly even if materials was switched.
node structure is lile this.
Materials
L sw1
...L mat1
......L def
.........L Cp
...L mat2
......L def
.........L Cp
Best regards
Hiroshi Yamashita
I want to access materials property variable(Cp,rho etc) in physics node.
When I use (nomal) material node, I can access this syntax : "comp1.mat1.def.Cp" .
Then, how should I access these variables when I use "switch for materials" node?
Ofcourse I can access each materials property in "switch for materials" node lile "comp1.sw1.mat1.def.Cp" ,
but I want to access mat1.Cp and mat2.Cp uniformly even if materials was switched.
node structure is lile this.
Materials
L sw1
...L mat1
......L def
.........L Cp
...L mat2
......L def
.........L Cp
Best regards
Hiroshi Yamashita
2 Replies Last Post 16 févr. 2015, 00:00 UTC−5