https://mooseframework.inl.gov
navier_stokes
src
bcs
MassContinuityIPHDGBC.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
10
#include "
MassContinuityIPHDGBC.h
"
11
#include "
MassContinuityAssemblyHelper.h
"
12
13
registerMooseObject
(
"NavierStokesApp"
,
MassContinuityIPHDGBC
);
14
15
InputParameters
16
MassContinuityIPHDGBC::validParams
()
17
{
18
auto
params =
ElementAndTraceScalarHDGBC::validParams
();
19
params.addClassDescription(
"Adds to mass conservation terms on boundary faces"
);
20
params +=
MassContinuityAssemblyHelper::validParams
();
21
return
params;
22
}
23
24
MassContinuityIPHDGBC::MassContinuityIPHDGBC
(
const
InputParameters
& parameters)
25
:
ElementAndTraceScalarHDGBC
(parameters),
26
_iphdg_helper(
std
::make_unique<
MassContinuityAssemblyHelper
>(
27
this, this, this, _mesh, _sys, _assembly, _tid,
std
::set<
SubdomainID
>{}, boundaryIDs()))
28
{
29
}
30
31
void
32
MassContinuityIPHDGBC::compute
(
ElementAndTraceScalarHDGAssemblyHelper
& helper)
33
{
34
helper.
resizeResiduals
();
35
helper.
scalarFace
();
36
helper.
lmFace
();
37
}
MassContinuityAssemblyHelper.h
MassContinuityIPHDGBC::validParams
static InputParameters validParams()
Definition:
MassContinuityIPHDGBC.C:16
MassContinuityIPHDGBC::compute
virtual void compute(ElementAndTraceScalarHDGAssemblyHelper &helper) override
Definition:
MassContinuityIPHDGBC.C:32
libMesh::TestClass
MassContinuityAssemblyHelper
Implements all the methods for assembling a hybridized interior penalty discontinuous Galerkin (IPDG-...
Definition:
MassContinuityAssemblyHelper.h:23
ElementAndTraceScalarHDGBC
std
ElementAndTraceScalarHDGAssemblyHelper::resizeResiduals
void resizeResiduals()
MassContinuityIPHDGBC.h
InputParameters
MassContinuityIPHDGBC
Applies a Dirichlet value for velocity to mass conservation terms on boundary faces.
Definition:
MassContinuityIPHDGBC.h:18
ElementAndTraceScalarHDGAssemblyHelper::scalarFace
virtual void scalarFace()=0
ElementAndTraceScalarHDGAssemblyHelper
MassContinuityIPHDGBC::MassContinuityIPHDGBC
MassContinuityIPHDGBC(const InputParameters ¶meters)
Definition:
MassContinuityIPHDGBC.C:24
ElementAndTraceScalarHDGAssemblyHelper::lmFace
virtual void lmFace()=0
registerMooseObject
registerMooseObject("NavierStokesApp", MassContinuityIPHDGBC)
ElementAndTraceScalarHDGBC::validParams
static InputParameters validParams()
MassContinuityAssemblyHelper::validParams
static InputParameters validParams()
Definition:
MassContinuityAssemblyHelper.C:22
Generated on Mon Aug 3 2026 21:29:41 for https://mooseframework.inl.gov by
1.8.14