Skip to content

Commit

Permalink
Rename TriWettedPerimIC to SCMTriWettedPerimIC
Browse files Browse the repository at this point in the history
  • Loading branch information
kyriv1980 committed Nov 26, 2024
1 parent edc1c44 commit 99eaa54
Show file tree
Hide file tree
Showing 37 changed files with 58 additions and 55 deletions.
15 changes: 15 additions & 0 deletions modules/subchannel/doc/content/source/ics/SCMTriWettedPerimIC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# SCMTriWettedPerimIC

!syntax description /ICs/SCMTriWettedPerimIC

## Overview

<!-- -->

This kernel creates an initial field for the subchannel wetted perimeter ([!param](/ICs/SCMTriWettedPerimIC/variable) = `w_perim`), for a sub-assembly with a triangular subchannel/pin arrangement.

!syntax parameters /ICs/SCMTriWettedPerimIC

!syntax inputs /ICs/SCMTriWettedPerimIC

!syntax children /ICs/SCMTriWettedPerimIC
15 changes: 0 additions & 15 deletions modules/subchannel/doc/content/source/ics/TriWettedPerimIC.md

This file was deleted.

2 changes: 1 addition & 1 deletion modules/subchannel/examples/ABR/fuel_assembly.i
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ duct_inside = '${fparse duct_outside - 2 * duct_thickness}'
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/ABTR/ABTR_core/fuel_assembly.i
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ duct_inside = '${fparse duct_outside - 2 * duct_thickness}'
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ duct_inside = '${fparse duct_outside - 2 * duct_thickness}'
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ duct_inside = '${fparse duct_outside - 2 * duct_thickness}'
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/Blockage/FFM-2B.i
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/Blockage/FFM-3A.i
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/Blockage/FFM-5B.i
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/EBR-II/XX09_SC_SS.i
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ unheated_length_exit = '${fparse 26.9*scale_factor}'
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/EBR-II/XX09_SC_SS45.i
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ unheated_length_exit = '${fparse 26.9*scale_factor}'
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/EBR-II/XX09_SC_tr.i
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ unheated_length_exit = '${fparse 26.9*scale_factor}'
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/MultiAppTests/fuel_assembly.i
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ duct_inside = '${fparse duct_outside - 2 * duct_thickness}'
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/ORNL_19/ORNL_19.i
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/ORNL_19/test.i
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/ORNL_19/test_ORNL_19.i
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/ORNL_19/test_Westin.i
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/TAMU/TAMU_61.i
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/areva_FCTF/FCTF_deformed.i
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ unheated_length_exit = 0.855 #m
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/areva_FCTF/FCTF_non_deformed.i
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ unheated_length_exit = 0.855 #m
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ pitch = 7.26e-3
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ duct_inside = '${fparse duct_outside - 2 * duct_thickness}'
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/coupling/THM_SCM/subchannel.i
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ heated_length = 1.0
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/duct/test.i
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/examples/full-sodium-assembly/test.i
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
* Sets the wetted perimeter of the triangular, edge, and corner subchannels for hexagonal fuel
* assemblies
*/
class TriWettedPerimIC : public TriSubChannelBaseIC
class SCMTriWettedPerimIC : public TriSubChannelBaseIC
{
public:
TriWettedPerimIC(const InputParameters & params);
SCMTriWettedPerimIC(const InputParameters & params);
Real value(const Point & p) override;

public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
/* See COPYRIGHT for full restrictions */
/********************************************************************/

#include "TriWettedPerimIC.h"
#include "SCMTriWettedPerimIC.h"
#include "TriSubChannelMesh.h"

registerMooseObject("SubChannelApp", TriWettedPerimIC);
registerMooseObject("SubChannelApp", SCMTriWettedPerimIC);

InputParameters
TriWettedPerimIC::validParams()
SCMTriWettedPerimIC::validParams()

{
InputParameters params = TriSubChannelBaseIC::validParams();
Expand All @@ -27,10 +27,13 @@ TriWettedPerimIC::validParams()
return params;
}

TriWettedPerimIC::TriWettedPerimIC(const InputParameters & params) : TriSubChannelBaseIC(params) {}
SCMTriWettedPerimIC::SCMTriWettedPerimIC(const InputParameters & params)
: TriSubChannelBaseIC(params)
{
}

Real
TriWettedPerimIC::value(const Point & p)
SCMTriWettedPerimIC::value(const Point & p)
{
// Define geometry parameters.
auto pitch = _mesh.getPitch();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ unheated_length_exit = 0.855 #m
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

[ICs]
[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]
[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ P_out = 1.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ P_out = 1.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ unheated_length_exit = '${fparse 26.9*scale_factor}'
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
2 changes: 1 addition & 1 deletion modules/subchannel/test/tests/problems/SFR/THORS/FFM-5B.i
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ P_out = 2.0e5 # Pa
[]

[w_perim_IC]
type = TriWettedPerimIC
type = SCMTriWettedPerimIC
variable = w_perim
[]

Expand Down

0 comments on commit 99eaa54

Please sign in to comment.