From be0bf71e15e972931a69ef0c22e3c1d509bec629 Mon Sep 17 00:00:00 2001 From: Kyriv Date: Tue, 12 Nov 2024 14:35:57 -0700 Subject: [PATCH] Rename PPs Ref #29513 --- .../source/postprocessors/PlanarMean.md | 20 ------------------- .../source/postprocessors/SCMPlanarMean.md | 20 +++++++++++++++++++ modules/subchannel/examples/ORNL_19/ORNL_19.i | 4 ++-- modules/subchannel/examples/TAMU/TAMU_61.i | 6 +++--- .../examples/areva_FCTF/deformed_duct_pp.i | 4 ++-- .../areva_FCTF/non_deformed_duct_pp.i | 4 ++-- .../examples/psbt/psbt_ss/psbt_with_pin.i | 4 ++-- .../{PlanarMean.h => SCMPlanarMean.h} | 4 ++-- .../{PlanarMean.C => SCMPlanarMean.C} | 12 +++++------ .../SFR/sodium-19pin/test19_monolithic.i | 2 +- .../test/tests/problems/psbt/psbt.i | 2 +- 11 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 modules/subchannel/doc/content/source/postprocessors/PlanarMean.md create mode 100644 modules/subchannel/doc/content/source/postprocessors/SCMPlanarMean.md rename modules/subchannel/include/postprocessors/{PlanarMean.h => SCMPlanarMean.h} (93%) rename modules/subchannel/src/postprocessors/{PlanarMean.C => SCMPlanarMean.C} (94%) diff --git a/modules/subchannel/doc/content/source/postprocessors/PlanarMean.md b/modules/subchannel/doc/content/source/postprocessors/PlanarMean.md deleted file mode 100644 index 395400d83913..000000000000 --- a/modules/subchannel/doc/content/source/postprocessors/PlanarMean.md +++ /dev/null @@ -1,20 +0,0 @@ -# PlanarMean - -!syntax description /Postprocessors/PlanarMean - -## Overview - - - -This is a postprocessor that calculates a mass-flow-rate-averaged mean value of a user specified [!param](/Postprocessors/PlanarMean/variable) over all subchannels -at a user specified [!param](/Postprocessors/PlanarMean/height). - -## Example Input File Syntax - -!listing /test/tests/problems/psbt/psbt.i block=Postprocessors language=cpp - -!syntax parameters /Postprocessors/PlanarMean - -!syntax inputs /Postprocessors/PlanarMean - -!syntax children /Postprocessors/PlanarMean diff --git a/modules/subchannel/doc/content/source/postprocessors/SCMPlanarMean.md b/modules/subchannel/doc/content/source/postprocessors/SCMPlanarMean.md new file mode 100644 index 000000000000..43d10b7a99ee --- /dev/null +++ b/modules/subchannel/doc/content/source/postprocessors/SCMPlanarMean.md @@ -0,0 +1,20 @@ +# SCMPlanarMean + +!syntax description /Postprocessors/SCMPlanarMean + +## Overview + + + +This is a postprocessor that calculates a mass-flow-rate-averaged mean value of a user specified [!param](/Postprocessors/SCMPlanarMean/variable) over all subchannels +at a user specified [!param](/Postprocessors/SCMPlanarMean/height). + +## Example Input File Syntax + +!listing /test/tests/problems/psbt/psbt.i block=Postprocessors language=cpp + +!syntax parameters /Postprocessors/SCMPlanarMean + +!syntax inputs /Postprocessors/SCMPlanarMean + +!syntax children /Postprocessors/SCMPlanarMean diff --git a/modules/subchannel/examples/ORNL_19/ORNL_19.i b/modules/subchannel/examples/ORNL_19/ORNL_19.i index 84dba48d916f..cf68537e1dce 100644 --- a/modules/subchannel/examples/ORNL_19/ORNL_19.i +++ b/modules/subchannel/examples/ORNL_19/ORNL_19.i @@ -180,14 +180,14 @@ P_out = 2.0e5 # Pa [] [Pin_Planar_Mean] - type = PlanarMean + type = SCMPlanarMean variable = P execute_on = 'TIMESTEP_END' height = 0.0 [] [Pout_Planar_Mean] - type = PlanarMean + type = SCMPlanarMean variable = P execute_on = 'TIMESTEP_END' height = 1.2 diff --git a/modules/subchannel/examples/TAMU/TAMU_61.i b/modules/subchannel/examples/TAMU/TAMU_61.i index f0050acab932..74207e7cae6d 100644 --- a/modules/subchannel/examples/TAMU/TAMU_61.i +++ b/modules/subchannel/examples/TAMU/TAMU_61.i @@ -178,14 +178,14 @@ P_out = 2.0e5 # Pa [] [Pin_Planar_Mean] - type = PlanarMean + type = SCMPlanarMean variable = P execute_on = 'TIMESTEP_END' height = 0.0 [] [Pout_Planar_Mean] - type = PlanarMean + type = SCMPlanarMean variable = P execute_on = 'TIMESTEP_END' height = 2.0 @@ -199,7 +199,7 @@ P_out = 2.0e5 # Pa ### Assembly inlet density [rho_in] - type = PlanarMean + type = SCMPlanarMean variable = rho execute_on = 'TIMESTEP_END' height = 0.0 diff --git a/modules/subchannel/examples/areva_FCTF/deformed_duct_pp.i b/modules/subchannel/examples/areva_FCTF/deformed_duct_pp.i index c5a412cd7b82..5e278feeea5d 100644 --- a/modules/subchannel/examples/areva_FCTF/deformed_duct_pp.i +++ b/modules/subchannel/examples/areva_FCTF/deformed_duct_pp.i @@ -231,7 +231,7 @@ [] ########### Planar mean of temperature at plane B [Temp_B] - type = PlanarMean + type = SCMPlanarMean variable = T execute_on = 'TIMESTEP_END' height = 2.3987595 @@ -424,7 +424,7 @@ # [] # ########### Planar mean of temperature at plane C # [Temp_C] - # type = PlanarMean + # type = SCMPlanarMean # variable = T # execute_on = 'TIMESTEP_END' # height = 3.06375 diff --git a/modules/subchannel/examples/areva_FCTF/non_deformed_duct_pp.i b/modules/subchannel/examples/areva_FCTF/non_deformed_duct_pp.i index 6f64036fd3cf..32ef38711b27 100644 --- a/modules/subchannel/examples/areva_FCTF/non_deformed_duct_pp.i +++ b/modules/subchannel/examples/areva_FCTF/non_deformed_duct_pp.i @@ -239,7 +239,7 @@ [] ########### Planar mean of temperature at plane B [Temp_B] - type = PlanarMean + type = SCMPlanarMean variable = T execute_on = 'TIMESTEP_END' height = 2.3987595 @@ -432,7 +432,7 @@ # [] # ########### Planar mean of temperature at plane C # [Temp_C] - # type = PlanarMean + # type = SCMPlanarMean # variable = T # execute_on = 'TIMESTEP_END' # height = 3.06375 diff --git a/modules/subchannel/examples/psbt/psbt_ss/psbt_with_pin.i b/modules/subchannel/examples/psbt/psbt_ss/psbt_with_pin.i index 381206d5a48e..3bf473d39576 100644 --- a/modules/subchannel/examples/psbt/psbt_ss/psbt_with_pin.i +++ b/modules/subchannel/examples/psbt/psbt_ss/psbt_with_pin.i @@ -211,14 +211,14 @@ P_out = 4.923e6 # Pa [Postprocessors] [Pin_Planar_Mean] - type = PlanarMean + type = SCMPlanarMean variable = P execute_on = 'TIMESTEP_END' height = 0.0 [] [Pout_Planar_Mean] - type = PlanarMean + type = SCMPlanarMean variable = P execute_on = 'TIMESTEP_END' height = 1.2 diff --git a/modules/subchannel/include/postprocessors/PlanarMean.h b/modules/subchannel/include/postprocessors/SCMPlanarMean.h similarity index 93% rename from modules/subchannel/include/postprocessors/PlanarMean.h rename to modules/subchannel/include/postprocessors/SCMPlanarMean.h index 09258e39f09a..5e8f68c386ad 100644 --- a/modules/subchannel/include/postprocessors/PlanarMean.h +++ b/modules/subchannel/include/postprocessors/SCMPlanarMean.h @@ -20,11 +20,11 @@ /** * Calculates an overall Delta of a chosen variable for the subchannel assembly */ -class PlanarMean : public GeneralPostprocessor +class SCMPlanarMean : public GeneralPostprocessor { public: static InputParameters validParams(); - PlanarMean(const InputParameters & params); + SCMPlanarMean(const InputParameters & params); virtual void initialize() override {} virtual void execute() override; virtual void finalize() override {} diff --git a/modules/subchannel/src/postprocessors/PlanarMean.C b/modules/subchannel/src/postprocessors/SCMPlanarMean.C similarity index 94% rename from modules/subchannel/src/postprocessors/PlanarMean.C rename to modules/subchannel/src/postprocessors/SCMPlanarMean.C index 0a8faaa7da50..366cf96c3570 100644 --- a/modules/subchannel/src/postprocessors/PlanarMean.C +++ b/modules/subchannel/src/postprocessors/SCMPlanarMean.C @@ -12,7 +12,7 @@ /* See COPYRIGHT for full restrictions */ /********************************************************************/ -#include "PlanarMean.h" +#include "SCMPlanarMean.h" #include "SolutionHandle.h" #include "FEProblemBase.h" #include "Function.h" @@ -21,10 +21,10 @@ #include "SubProblem.h" #include "libmesh/system.h" -registerMooseObject("SubChannelApp", PlanarMean); +registerMooseObject("SubChannelApp", SCMPlanarMean); InputParameters -PlanarMean::validParams() +SCMPlanarMean::validParams() { InputParameters params = GeneralPostprocessor::validParams(); params.addClassDescription("Calculates an overall mass-flow-rate averaged mean of the chosen " @@ -34,7 +34,7 @@ PlanarMean::validParams() return params; } -PlanarMean::PlanarMean(const InputParameters & parameters) +SCMPlanarMean::SCMPlanarMean(const InputParameters & parameters) : GeneralPostprocessor(parameters), _mesh(libMesh::cast_ref(_fe_problem.mesh())), _variable(getParam("variable")), @@ -44,7 +44,7 @@ PlanarMean::PlanarMean(const InputParameters & parameters) } void -PlanarMean::execute() +SCMPlanarMean::execute() { auto nz = _mesh.getNumOfAxialCells(); auto n_channels = _mesh.getNumOfChannels(); @@ -94,7 +94,7 @@ PlanarMean::execute() } Real -PlanarMean::getValue() const +SCMPlanarMean::getValue() const { return _mean_value; } diff --git a/modules/subchannel/test/tests/problems/SFR/sodium-19pin/test19_monolithic.i b/modules/subchannel/test/tests/problems/SFR/sodium-19pin/test19_monolithic.i index d31b0e6ee8eb..267e7770a74c 100644 --- a/modules/subchannel/test/tests/problems/SFR/sodium-19pin/test19_monolithic.i +++ b/modules/subchannel/test/tests/problems/SFR/sodium-19pin/test19_monolithic.i @@ -198,7 +198,7 @@ P_out = 2.0e5 # Pa [Postprocessors] [Temp_B] - type = PlanarMean + type = SCMPlanarMean variable = T execute_on = 'TIMESTEP_END' height = 0.5 diff --git a/modules/subchannel/test/tests/problems/psbt/psbt.i b/modules/subchannel/test/tests/problems/psbt/psbt.i index 0d7b0e830d3b..808195df44e3 100644 --- a/modules/subchannel/test/tests/problems/psbt/psbt.i +++ b/modules/subchannel/test/tests/problems/psbt/psbt.i @@ -154,7 +154,7 @@ pin_diameter = 0.00950 [] [Mean_Temp_Out] - type = PlanarMean + type = SCMPlanarMean variable = T height = 1.2 []