RayDistanceAux

Accumulates the distance traversed by each Ray segment into an aux variable for the element that the segments are in.

The accumulation is achieved by overriding onSegment and appending into the AuxVariable via addValue(), as:

void
RayDistanceAux::onSegment()
{
  addValue(_current_segment_length);
}
(modules/ray_tracing/src/raykernels/RayDistanceAux.C)

Input Parameters

  • variableThe name of the aux variable that this AuxRayKernel applies to

    C++ Type:AuxVariableName

    Options:

    Description:The name of the aux variable that this AuxRayKernel applies to

Required Parameters

  • blockThe list of block ids (SubdomainID) that this object will be applied

    C++ Type:std::vector<SubdomainName>

    Options:

    Description:The list of block ids (SubdomainID) that this object will be applied

  • depends_onOther RayKernels that this RayKernel depends on

    C++ Type:std::vector<std::string>

    Options:

    Description:Other RayKernels that this RayKernel depends on

  • raysThe name of the Rays associated with this object; only used if Ray registration is enabled within the study. If no Rays are supplied, this object will be applied to all Rays.

    C++ Type:std::vector<std::string>

    Options:

    Description:The name of the Rays associated with this object; only used if Ray registration is enabled within the study. If no Rays are supplied, this object will be applied to all Rays.

  • studyThe RayTracingStudy associated with this object. If none provided, this will default to the one study that exists.

    C++ Type:UserObjectName

    Options:

    Description:The RayTracingStudy associated with this object. If none provided, this will default to the one study that exists.

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    Options:

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Options:

    Description:Set the enabled status of the MooseObject.

  • implicitTrueDetermines whether this object is calculated using an implicit or explicit form

    Default:True

    C++ Type:bool

    Options:

    Description:Determines whether this object is calculated using an implicit or explicit form

  • seed0The seed for the master random number generator

    Default:0

    C++ Type:unsigned int

    Options:

    Description:The seed for the master random number generator

Advanced Parameters

Input Files