- boundaryThe list of boundary IDs from the mesh where this boundary condition applies
C++ Type:std::vector
Description:The list of boundary IDs from the mesh where this boundary condition applies
UnobstructedPlanarViewFactor
Description
UnobstructedPlanarViewFactor.md
computes the view factors between n
planar sides in radiative heat exchange. These sides need to be such that they do not obstruct each other. This is in particular true if the sides fully enclose a convex volume. This is the intended purpose of this UserObject.
View factors from side to side are computed via a double loop over side elements and the quadrature points defined on them. View factors are computed by numerically evaluating:
where is the distance between two points on the surfaces and and and are the angles that the line connecting these two points make with the normals at surface one and two, respectively.
In two-dimensional geometries, a different formula is evaluated. It is derived from the original formula by considering a geometry that is extruded from to along the -axis. We denote by the distance between two points on surface one and two projected onto the plane orthogonal to the -axis. The line projected on this plane makes angles and with the normals at surfaces one and two, respectively. Note that the normals have no component into the -direction. The following relationships hold:
The view factor is then given by:
The integral in brackets evaluates to:
The view factors in two-dimensional geometry are consequently given by:
View factors should satisfy:
This can be checked by setting the parameter view_factor_tol
and it can be enforced via normalization by setting the parameter normalize_view_factor
.
It is stressed that this UserObject may give wrong results if obstruction is present
Example Input syntax
[Mesh]
type = GeneratedMesh
dim = 3
xmin = 0
xmax = 1
ymin = 0
ymax = 1
zmin = 0
zmax = 1
nx = 2
ny = 2
nz = 2
[]
[Problem]
kernel_coverage_check = false
[]
[Variables]
[./u]
[../]
[]
[UserObjects]
[./view_factor]
type = UnobstructedPlanarViewFactor
boundary = 'left right front back bottom top'
execute_on = 'INITIAL'
[../]
[]
[Postprocessors]
[./left_right]
type = ViewFactorPP
from_boundary = left
to_boundary = right
view_factor_object_name = view_factor
[../]
[./left_top]
type = ViewFactorPP
from_boundary = left
to_boundary = top
view_factor_object_name = view_factor
[../]
[./left_back]
type = ViewFactorPP
from_boundary = left
to_boundary = back
view_factor_object_name = view_factor
[../]
[]
[Executioner]
type = Steady
[]
[Outputs]
csv = true
[]
(modules/heat_conduction/test/tests/view_factors/view_factor_cube.i)Input Parameters
- execute_onTIMESTEP_ENDThe list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.
Default:TIMESTEP_END
C++ Type:ExecFlagEnum
Description:The list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.
- normalize_view_factorTrueDetermines if view factors are normalized to sum to one (consistent with their definition).
Default:True
C++ Type:bool
Description:Determines if view factors are normalized to sum to one (consistent with their definition).
- view_factor_tol1.79769e+308Tolerance for checking view factors. Default is to allow everything.
Default:1.79769e+308
C++ Type:double
Description:Tolerance for checking view factors. Default is to allow everything.
Optional Parameters
- allow_duplicate_execution_on_initialFalseIn the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).
Default:False
C++ Type:bool
Description:In the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Description:Set the enabled status of the MooseObject.
- use_displaced_meshFalseWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.
Default:False
C++ Type:bool
Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.
Advanced Parameters
Input Files
- modules/heat_conduction/test/tests/radiation_transfer_action/radiative_transfer_no_action.i
- modules/heat_conduction/test/tests/view_factors/view_factor_cube.i
- modules/heat_conduction/test/tests/gray_lambert_radiator/gray_lambert_cavity_automatic_vf.i
- modules/heat_conduction/test/tests/gray_lambert_radiator/gray_lambert_cavity_automatic_vf_3D.i