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?

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!

1 Reply Last Post 30.04.2012, 16:42 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 30.04.2012, 16:42 GMT-4
In addition, if I define this variable as "zeta" under both materials, would COMSOL recognize that they are the same parameter? Or is it truly local?

In addition, if I define this variable as "zeta" under both materials, would COMSOL recognize that they are the same parameter? Or is it truly local?

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.