https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NavierStokesLHDGKernel.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
12#include "HDGKernel.h"
14
15#include <vector>
16
21{
22public:
25
26 virtual void computeResidual() override;
30 virtual void computeJacobian() override;
34 virtual void computeOffDiagJacobian(unsigned int jvar) override;
35 virtual void computeResidualOnSide() override;
36 virtual void computeJacobianOnSide() override;
37 virtual void initialSetup() override;
38 virtual void jacobianSetup() override;
39
40 virtual std::set<std::string> additionalROVariables() override;
41
42protected:
43 // body forces
47 std::vector<const Moose::Functor<Real> *> _body_forces;
49
51 const QBase * const & _qrule_face;
52
55
58
61
63 const unsigned int & _current_side;
64};
const InputParameters & parameters() const
Implements all the methods for assembling a hybridized local discontinuous Galerkin (LDG-H),...
Implements the steady incompressible Navier-Stokes equations for a hybridized discretization.
const QBase *const & _qrule_face
The face quadrature rule.
static InputParameters validParams()
std::vector< const Moose::Functor< Real > * > _body_forces
const MooseArray< Point > & _normals
face normals
const MooseArray< Point > & _q_point_face
The physical locations of the quadrature points on the face.
virtual void computeResidualOnSide() override
virtual void computeResidual() override
virtual std::set< std::string > additionalROVariables() override
virtual void computeJacobian() override
Compute this object's entire element interior Jacobian, both on- and off-diagonal.
const Moose::Functor< Real > & _pressure_mms_forcing_function
const unsigned int & _current_side
The current side when doing face evaluations.
const MooseArray< Real > & _JxW_face
transformed Jacobian weights on the current element face
virtual void jacobianSetup() override
virtual void computeOffDiagJacobian(unsigned int jvar) override
Forwards to computeJacobian() the first time this is called for a given element.
const Moose::Functor< Real > & _body_force_y
virtual void initialSetup() override
const Moose::Functor< Real > & _body_force_x
virtual void computeJacobianOnSide() override
const Moose::Functor< Real > & _body_force_z