Wall
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.
Wall Condition
Select a Wall conditionFreeze (the default), Specular Reflection, Stick, Disappear, Pass through, Diffuse scattering, Mixed diffuse and specular reflection, or General reflection.
General Reflection Settings
This section is available when General reflection (see Table 3-2) is selected as the Wall condition.
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.
Primary Ray Condition
Select a Primary ray conditionNone (the default), Probability, or Expression. When the default, None, is kept, it means that the Wall condition is always respected by the incident rays.
Probability
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.
The value of γ should always be between 0 and 1.
For example, if the Wall condition is set to:
Freeze and γ is set to 0.1, then for every 10 rays that strike the wall, on average one freezes and the remaining 9 rays behave according to the Otherwise setting.
Stick and γ is set to 0.5 then on average half of the rays stick to the wall and the other half behave according to the Otherwise setting.
Expression
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.
Otherwise
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:
Select Mixed diffuse and specular reflection as the Wall condition,
set the Probability of specular reflection to 0.3/(1-0.5),
set the Primary ray condition to Probability,
set the Probability to 1-0.5, and
select Freeze as the Otherwise option.
Absorption Coefficient
This section is available when
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, and
the Wall condition is set to Specular Reflection, Diffuse scattering, General reflection, or Mixed diffuse and specular reflection.
Select one of the following from the Compute reflected intensity using list: Absorption coefficients or Reflection coefficients.
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 r2.
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.
New Value of Auxiliary Dependent Variables
This section is available if an Auxiliary Dependent Variable has been added to the model.
When a ray crosses or touches a boundary, the value of any user-defined auxiliary dependent variable can be changed. The value can be a function of any combinations of ray variables and variables defined on the boundary. A simple application is to use this to count the number of times a ray strikes the wall.
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.
Advanced Settings
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.
If, in addition, the Arguments for random number generation setting is set to User defined in the physics interface Advanced Settings section, the Advanced Settings section is available.
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.