Use the Wall node to determine what happens to the rays when contact with a boundary is made.
The Accumulator (Boundary) subnode is available from the context menu (right-click the parent node) or from the
Physics toolbar,
Attributes menu. If the
Intensity computation is set to
Compute intensity,
Compute intensity and power,
Compute intensity in graded media, or
Compute intensity and power in graded media under the physics interface
Intensity Computation section, the
Thin Dielectric Film subnode is also available. If the
Intensity computation is set to
Compute intensity and power or
Compute intensity and power in graded media, the
Deposited Ray Power (Boundary) subnode is also available.
Enter values for the Reflected ray direction vector Lp (dimensionless) either in Cartesian coordinates (
x, y,
z) (the default) or select the
Specify tangential and normal direction vector components check box to enter coordinates in the tangent-normal coordinate system (
t1,
t2,
n). In this case the normal direction is selected so that an incident ray is reflected back into the domain it previously occupied if the specified normal direction vector component is positive. The tangential directions are oriented so that they form a right-handed coordinate system, together with the normal direction.
Select a Primary ray condition —
None (the default),
Probability, or
Expression. When the default,
None, is kept, it means that the
Wall condition is always respected by the incident rays.
If Probability is selected, the
Wall condition is applied with a certain probability. Enter a value for the
Probability,
γ (dimensionless). If the
Wall condition is not used, the ray instead behaves according to the
Otherwise setting.
If Expression is selected, the
Evaluation expression e (dimensionless) is evaluated whenever a ray strikes the wall. The default expression is
1. If the Evaluation expression is nonzero, the ray behaves according to the
Wall condition, otherwise the ray behaves according to the
Otherwise setting.
The options available for the Otherwise setting are the same as for the
Wall Condition, except that
General reflection and
Mixed diffuse and specular reflection are not available. The
Otherwise setting can be used to make rays interact with a wall differently with a certain probability or when a certain condition is satisfied. For example, to model reflection at a partially specular surface in which 50% of the ray intensity is absorbed and 30% is reflected specularly:
For Absorption coefficients enter the
Absorption coefficient α (dimensionless). The default is 0. The intensity of the reflected ray will be proportional to
1-α.
For Reflection coefficients enter the
Reflection coefficient r (dimensionless). The default value is 1. The intensity of the reflected ray will be proportional to r
2.
If the Wall condition is set to
Mixed diffuse and specular reflection, this section is instead called
Absorption Coefficients and the absorption coefficients for the diffusely and specularly reflected rays are specified separately. All of the text fields are given subscripts
s and
d for specularly and diffusely reflected rays, respectively.
Select the Assign new value to auxiliary variable check box or boxes based on the number of auxiliary variables in the model. Then enter the new value or expression in the field. For example, if there is an auxiliary variable,
psi, then enter a value for
psinew in the field. So, to increment the value of
psi by 1 when a ray touches or crosses a boundary, enter
psi+1 in the text field for
psinew.
If the Primary ray condition is set to
Probability, or if the
Diffuse scattering or
Mixed diffuse and specular reflection wall condition is used, then the
Wall feature generates random numbers.
Enter the Additional input argument to random number generator i (dimensionless). The default value is
1.
The Advanced Settings section is also shown if the
Compute optical path length check box is selected under the physics interface
Additional Variables section. Select the
Reset optical path length check box to set the optical path length to 0 when a ray touches the wall.