https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MassContinuityAssemblyHelper.h
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#pragma once
11
13#include "ADFunctorInterface.h"
14
15class MooseMesh;
16
25{
26public:
28
29 MassContinuityAssemblyHelper(const MooseObject * const moose_obj,
31 const TransientInterface * const ti,
32 const MooseMesh & mesh,
33 SystemBase & sys,
34 const Assembly & assembly,
35 const THREAD_ID tid,
36 const std::set<SubdomainID> & block_ids,
37 const std::set<BoundaryID> & boundary_ids);
38
39 virtual void scalarVolume() override;
40 virtual void scalarFace() override;
41 virtual void lmFace() override;
42 virtual void scalarDirichlet(const Moose::Functor<Real> &) override
43 {
45 "This kernel is applied for the pressure variable, but the pressure does not itself appear "
46 "in the weak form this kernel implements, so the scalarDirichlet method does not fit");
47 }
48
51
53 const unsigned int _rz_radial_coord;
54
56 std::vector<const ADVariableValue *> _interior_vels;
57
59 std::vector<const ADVariableGradient *> _interior_vel_grads;
60
62 std::vector<const Moose::Functor<ADReal> *> _face_vels;
63};
void mooseError(Args &&... args)
unsigned int THREAD_ID
Implements all the methods for assembling a hybridized interior penalty discontinuous Galerkin (IPDG-...
virtual void scalarDirichlet(const Moose::Functor< Real > &) override
const unsigned int _rz_radial_coord
The radial coordinate index for RZ coordinate systems.
std::vector< const ADVariableValue * > _interior_vels
The velocities at interior element quadrature points.
std::vector< const ADVariableGradient * > _interior_vel_grads
The velocity gradients at interior element quadrature points.
std::vector< const Moose::Functor< ADReal > * > _face_vels
The velocity functors used to evalute the velocity on element face quadrature points.
const Moose::CoordinateSystemType _coord_sys
The coordinate system.
MeshBase & mesh
CoordinateSystemType