https://mooseframework.inl.gov
INSFEFluidMomentumKernel.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 
18 {
19 public:
21 
24 
25 protected:
26  virtual Real computeQpResidual() override;
27  virtual Real computeQpJacobian() override;
28  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
29 
33  const bool _conservative_form;
35  const bool _p_int_by_parts;
37  const unsigned _component;
38 };
OutputTools< Real >::VariableGradient VariableGradient
static InputParameters validParams()
virtual Real computeQpResidual() override
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const unsigned _component
The component (x=0, y=1, z=2) of the momentum equation this kernel is applied.
const bool _conservative_form
Whether conservative form to be used for the convection term.
Base class for stabilization kernels.
const VariableGradient & _grad_eps
Gradient of porosity.
virtual Real computeQpJacobian() override
The spatial part of the 3D momentum conservation for fluid flow.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
const bool _p_int_by_parts
Whether integration by parts to be used for the pressure gradient term.
INSFEFluidMomentumKernel(const InputParameters &parameters)