Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #include "SolidWallGasMix.h" 11 : 12 : registerMooseObject("ThermalHydraulicsApp", SolidWallGasMix); 13 : 14 : InputParameters 15 76 : SolidWallGasMix::validParams() 16 : { 17 76 : InputParameters params = FlowBoundaryGasMix::validParams(); 18 76 : params.addClassDescription("Wall boundary condition component for FlowChannelGasMix."); 19 76 : return params; 20 0 : } 21 : 22 38 : SolidWallGasMix::SolidWallGasMix(const InputParameters & params) : FlowBoundaryGasMix(params) {} 23 : 24 : void 25 38 : SolidWallGasMix::addMooseObjects() 26 : { 27 : // boundary flux user object 28 : { 29 38 : const std::string class_name = "BoundaryFluxGasMixGhostWall"; 30 38 : InputParameters params = _factory.getValidParams(class_name); 31 38 : params.set<UserObjectName>("numerical_flux") = _numerical_flux_name; 32 38 : params.set<Real>("normal") = _normal; 33 190 : params.set<ExecFlagEnum>("execute_on") = {EXEC_INITIAL, EXEC_LINEAR, EXEC_NONLINEAR}; 34 38 : getTHMProblem().addUserObject(class_name, _boundary_uo_name, params); 35 38 : } 36 : 37 : // BCs 38 38 : addWeakBCs(); 39 76 : }