https://mooseframework.inl.gov
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 {
22 public:
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 
42 protected:
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 };
virtual void computeJacobian() override
Compute this object&#39;s entire element interior Jacobian, both on- and off-diagonal.
const unsigned int & _current_side
The current side when doing face evaluations.
const Moose::Functor< Real > & _body_force_x
virtual void computeOffDiagJacobian(unsigned int jvar) override
Forwards to computeJacobian() the first time this is called for a given element.
const MooseArray< Point > & _q_point_face
The physical locations of the quadrature points on the face.
const Moose::Functor< Real > & _pressure_mms_forcing_function
virtual void computeResidualOnSide() override
std::vector< const Moose::Functor< Real > * > _body_forces
const MooseArray< Real > & _JxW_face
transformed Jacobian weights on the current element face
const MooseArray< Point > & _normals
face normals
virtual void initialSetup() override
Implements the steady incompressible Navier-Stokes equations for a hybridized discretization.
static InputParameters validParams()
NavierStokesLHDGKernel(const InputParameters &parameters)
const Moose::Functor< Real > & _body_force_z
virtual void jacobianSetup() override
const InputParameters & parameters() const
const QBase *const & _qrule_face
The face quadrature rule.
virtual std::set< std::string > additionalROVariables() override
Implements all the methods for assembling a hybridized local discontinuous Galerkin (LDG-H)...
virtual void computeJacobianOnSide() override
virtual void computeResidual() override
const Moose::Functor< Real > & _body_force_y