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.
Calling local parameters?
Posted 30 apr 2012, 16:41 GMT-4 Materials Version 4.2a 1 Reply
Please login with a confirmed email address before reporting spam
Hi:
I have two domains with different zeta potentials, a physical property that is not predefined in the materials node. So, I defined it myself under Local Parameters and called it "zeta." Is it possible to call this variable elsewhere in the model? For example, I want to use this variable to calculate the effective charge density, which I want to define in Variables.
Is there a calling sequence I can use (e.g. root.material.zeta)? I tried this and the software said "unknown variable."
Thanks!
I have two domains with different zeta potentials, a physical property that is not predefined in the materials node. So, I defined it myself under Local Parameters and called it "zeta." Is it possible to call this variable elsewhere in the model? For example, I want to use this variable to calculate the effective charge density, which I want to define in Variables.
Is there a calling sequence I can use (e.g. root.material.zeta)? I tried this and the software said "unknown variable."
Thanks!
1 Reply Last Post 30 apr 2012, 16:42 GMT-4