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 "NavierStokesStressIPHDGAssemblyHelper.h" 11 : #include "NavierStokesStressIPHDGKernel.h" 12 : 13 : registerMooseObject("NavierStokesApp", NavierStokesStressIPHDGKernel); 14 : 15 : InputParameters 16 1414 : NavierStokesStressIPHDGKernel::validParams() 17 : { 18 1414 : auto params = IPHDGKernel::validParams(); 19 1414 : params += NavierStokesStressIPHDGAssemblyHelper::validParams(); 20 1414 : params.addClassDescription( 21 : "Adds viscous and pressure stress terms for element interiors and interior faces"); 22 1414 : return params; 23 0 : } 24 : 25 720 : NavierStokesStressIPHDGKernel::NavierStokesStressIPHDGKernel(const InputParameters & params) 26 : : IPHDGKernel(params), 27 720 : _iphdg_helper(std::make_unique<NavierStokesStressIPHDGAssemblyHelper>( 28 720 : this, this, this, _mesh, _sys, _assembly, _tid, blockIDs(), std::set<BoundaryID>{})) 29 : { 30 720 : }