Skip to content

Commit

Permalink
Improve documentation on postprocessors idaholab#29484
Browse files Browse the repository at this point in the history
  • Loading branch information
kyriv1980 committed Oct 24, 2024
1 parent 4bdeaf2 commit c8a2cea
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 53 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
# PinSurfaceTemperature

!alert construction title=Undocumented Class
The PinSurfaceTemperature has not been documented. The content listed below should be used as a starting point for
documenting the class, which includes the typical automatic documentation associated with a
MooseObject; however, what is contained is ultimately determined by what is necessary to make the
documentation clear for users.

!syntax description /UserObjects/PinSurfaceTemperature
!syntax description /Postprocessors/PinSurfaceTemperature

## Overview

!! Replace these lines with information regarding the PinSurfaceTemperature object.
<!-- -->

This is a postprocessor that calculates and prints the pin surface temperature `Tpin`.
To be more exact, `Tpin` is calcualted inside the `SCM` solver:

The assumption is that each neighboring subchannel to a specific pin sees the same heat flux.
Using a `Dittus-Boelter` approach we calculate surface temperatures for each neighbor. The numerical
average is `Tpin`.

Then, the postprocessor interpolates the value of the variable `Tpin` at a certain pin and height.

## Example Input File Syntax

!! Describe and include an example of how to use the PinSurfaceTemperature object.
!listing /test/tests/problems/SFR/sodium-19pin/test19_monolithic.i block=Postprocessors language=cpp

!syntax parameters /UserObjects/PinSurfaceTemperature
!syntax parameters /Postprocessors/PinSurfaceTemperature

!syntax inputs /UserObjects/PinSurfaceTemperature
!syntax inputs /Postprocessors/PinSurfaceTemperature

!syntax children /UserObjects/PinSurfaceTemperature
!syntax children /Postprocessors/PinSurfaceTemperature
20 changes: 6 additions & 14 deletions modules/subchannel/doc/content/source/postprocessors/PlanarMean.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
# PlanarMean

!alert construction title=Undocumented Class
The PlanarMean has not been documented. The content listed below should be used as a starting point for
documenting the class, which includes the typical automatic documentation associated with a
MooseObject; however, what is contained is ultimately determined by what is necessary to make the
documentation clear for users.

!syntax description /UserObjects/PlanarMean

## Overview

!! Replace these lines with information regarding the PlanarMean object.
!syntax description /Postprocessors/PlanarMean

## Example Input File Syntax

!! Describe and include an example of how to use the PlanarMean object.

!syntax parameters /UserObjects/PlanarMean
!listing /test/tests/problems/psbt/psbt.i block=Postprocessors language=cpp

!syntax parameters /Postprocessors/PlanarMean

!syntax inputs /UserObjects/PlanarMean
!syntax inputs /Postprocessors/PlanarMean

!syntax children /UserObjects/PlanarMean
!syntax children /Postprocessors/PlanarMean
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
# SubChannelDelta

!alert construction title=Undocumented Class
The SubChannelDelta has not been documented. The content listed below should be used as a starting point for
documenting the class, which includes the typical automatic documentation associated with a
MooseObject; however, what is contained is ultimately determined by what is necessary to make the
documentation clear for users.

!syntax description /UserObjects/SubChannelDelta
!syntax description /Postprocessors/SubChannelDelta

## Overview

!! Replace these lines with information regarding the SubChannelDelta object.
<!-- -->

The user defines the variable which change they want to see along the whole assembly. The postprocessor calculates a
massflow rate weighted average at the inlet and outlet and then prints the absolute difference.

## Example Input File Syntax

!! Describe and include an example of how to use the SubChannelDelta object.
!listing /examples/coupling/THM/subchannel.i block=Postprocessors language=cpp

!syntax parameters /UserObjects/SubChannelDelta
!syntax parameters /Postprocessors/SubChannelDelta

!syntax inputs /UserObjects/SubChannelDelta
!syntax inputs /Postprocessors/SubChannelDelta

!syntax children /UserObjects/SubChannelDelta
!syntax children /Postprocessors/SubChannelDelta
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
# SubChannelPointValue

!alert construction title=Undocumented Class
The SubChannelPointValue has not been documented. The content listed below should be used as a starting point for
documenting the class, which includes the typical automatic documentation associated with a
MooseObject; however, what is contained is ultimately determined by what is necessary to make the
documentation clear for users.

!syntax description /UserObjects/SubChannelPointValue
!syntax description /Postprocessors/SubChannelPointValue

## Overview

!! Replace these lines with information regarding the SubChannelPointValue object.
The user needs to specify the variable whose value they want to see, the index of the subchannel and the height.
The postprocessor will interpolate the value of that variable at that location.

## Example Input File Syntax

!! Describe and include an example of how to use the SubChannelPointValue object.
!listing /test/tests/problems/SFR/THORS/FFM-5B.i block=Postprocessors language=cpp

!syntax parameters /UserObjects/SubChannelPointValue
!syntax parameters /Postprocessors/SubChannelPointValue

!syntax inputs /UserObjects/SubChannelPointValue
!syntax inputs /Postprocessors/SubChannelPointValue

!syntax children /UserObjects/SubChannelPointValue
!syntax children /Postprocessors/SubChannelPointValue
2 changes: 1 addition & 1 deletion modules/subchannel/src/postprocessors/PlanarMean.C
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ InputParameters
PlanarMean::validParams()
{
InputParameters params = GeneralPostprocessor::validParams();
params.addClassDescription("Calculates an overall mass-flow-averaged mean of the chosen "
params.addClassDescription("Calculates an overall mass-flow-rate averaged mean of the chosen "
"variable on a z-plane at a user defined height");
params.addRequiredParam<AuxVariableName>("variable", "Variable you want the mean of");
params.addRequiredParam<Real>("height", "Axial location of plane [m]");
Expand Down
5 changes: 3 additions & 2 deletions modules/subchannel/src/postprocessors/SubChannelDelta.C
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ InputParameters
SubChannelDelta::validParams()
{
InputParameters params = GeneralPostprocessor::validParams();
params.addClassDescription("Calculates an overall mass-flow-averaged Delta of the chosen "
"variable for the subchannel assembly");
params.addClassDescription(
"Calculates an absolute overall mass-flow-rate averaged difference, of a chosen "
"variable, for the whole subchannel assembly, from inlet to outlet");
params.addRequiredParam<AuxVariableName>("variable", "Variable you want the delta of");
return params;
}
Expand Down

0 comments on commit c8a2cea

Please sign in to comment.