https://mooseframework.inl.gov
AdvectionIPHDGOutflowBC.C
Go to the documentation of this file.
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 
12 
14 
17 {
18  auto params = IPHDGBC::validParams();
20  params.addClassDescription("Implements an outflow boundary condition for use with a hybridized "
21  "discretization of the advection equation");
22  return params;
23 }
24 
26  : IPHDGBC(parameters),
27  _iphdg_helper(std::make_unique<AdvectionIPHDGAssemblyHelper>(
28  this, this, this, _sys, _assembly, _tid, std::set<SubdomainID>{}, boundaryIDs()))
29 {
30 }
31 
32 void
34 {
35  auto & iphdg_helper = iphdgHelper();
36  iphdg_helper.resizeResiduals();
37 
38  // u, lm_u
39  iphdg_helper.scalarFace();
40  iphdg_helper.lmOutflow();
41 }
Implements a prescribed flux for an IP-HDG discretization.
Definition: IPHDGBC.h:19
virtual void compute() override
compute the AD residuals
Implements an outflow boundary condition for use with a hybridized discretization of the Advection eq...
static InputParameters validParams()
Definition: IPHDGBC.C:14
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Implements all the methods for assembling a hybridized interior penalty discontinuous Galerkin (IPDG-...
AdvectionIPHDGOutflowBC(const InputParameters &parameters)
virtual AdvectionIPHDGAssemblyHelper & iphdgHelper() override
registerMooseObject("MooseApp", AdvectionIPHDGOutflowBC)
static InputParameters validParams()