CoupledDirectionalMeshHeightInterpolation

Scales a variable based on position relative to the model bounds in a specified direction

Description

This object scales a user-provided coupled variable (either a solution variable or an auxiliary variable) by its position relative to the maximum and minimum coordinate of the undeformed mesh in a user-specified direction. When the coordinate is equal to the minimum coordinate, the scaling factor is 0, while when it is at the maximum coordinate, the scaling factor is 1. For locations between these mesh bounds, the scaling factor is linearly interpolated between those values.

Example Input File Syntax

[AuxKernels<<<{"href": "../../syntax/AuxKernels/index.html"}>>>]
  [interpolation]
    type = CoupledDirectionalMeshHeightInterpolation<<<{"description": "Scales a variable based on position relative to the model bounds in a specified direction", "href": "CoupledDirectionalMeshHeightInterpolation.html"}>>>
    variable<<<{"description": "The name of the variable that this object applies to"}>>> = disp_x
    direction<<<{"description": "The direction to interpolate in."}>>> = x
    execute_on<<<{"description": "The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html."}>>> = timestep_begin
    coupled_var<<<{"description": "The variable whose values are scaled based on position relative to the model bounds."}>>> = stretch
  []
[]
(moose/modules/misc/test/tests/coupled_directional_mesh_height_interpolation/coupled_directional_mesh_height_interpolation.i)