https://mooseframework.inl.gov
ConvectedMesh.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 "INSBase.h"
13 
17 class ConvectedMesh : public INSBase
18 {
19 public:
21 
23 
24 protected:
25  virtual Real computeQpResidual() override;
26  virtual Real computeQpJacobian() override;
27  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
28 
34 
39 
42  const unsigned int _disp_x_id;
45  const unsigned int _disp_y_id;
48  const unsigned int _disp_z_id;
49 
51 
53  const bool _supg;
54 
56  unsigned short _component;
57 };
const VariableValue & _disp_z_dot
Definition: ConvectedMesh.h:46
const unsigned int _disp_y_id
Definition: ConvectedMesh.h:45
virtual Real computeQpResidual() override
Definition: ConvectedMesh.C:61
This class computes strong and weak components of the INS governing equations.
Definition: INSBase.h:18
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
Definition: ConvectedMesh.C:95
static const std::string component
Definition: NS.h:153
virtual Real computeQpJacobian() override
Definition: ConvectedMesh.C:79
ConvectedMesh(const InputParameters &parameters)
Definition: ConvectedMesh.C:29
Real strongResidual()
Compute the strong residual, e.g.
Definition: ConvectedMesh.C:54
const unsigned int _disp_x_id
Definition: ConvectedMesh.h:42
const bool _supg
Whether this kernel should include Streamline-Upwind Petrov-Galerkin stabilization.
Definition: ConvectedMesh.h:53
Real computePGVelocityJacobian(unsigned short component)
Compute the Jacobian of the Petrov-Galerkin stabilization addition with respect to the provided veloc...
Definition: ConvectedMesh.C:71
const unsigned int _disp_z_id
Definition: ConvectedMesh.h:48
const VariableValue & _disp_x_dot
Definition: ConvectedMesh.h:40
static InputParameters validParams()
Definition: ConvectedMesh.C:15
const VariableValue & _d_disp_y_dot
Definition: ConvectedMesh.h:44
const VariableValue & _d_disp_z_dot
Definition: ConvectedMesh.h:47
const VariableValue & _d_disp_x_dot
Definition: ConvectedMesh.h:41
unsigned short _component
The velocity component this kernel is acting on.
Definition: ConvectedMesh.h:56
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _rho
Definition: ConvectedMesh.h:50
const InputParameters & parameters() const
const VariableValue & _disp_y_dot
Definition: ConvectedMesh.h:43
This calculates the time derivative for a coupled variable.
Definition: ConvectedMesh.h:17