https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
17class ConvectedMesh : public INSBase
18{
19public:
21
23
24protected:
25 virtual Real computeQpResidual() override;
26 virtual Real computeQpJacobian() override;
27 virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
28
33 Real computePGVelocityJacobian(unsigned short component);
34
38 Real strongResidual();
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};
This calculates the time derivative for a coupled variable.
const VariableValue & _disp_y_dot
const bool _supg
Whether this kernel should include Streamline-Upwind Petrov-Galerkin stabilization.
unsigned short _component
The velocity component this kernel is acting on.
const unsigned int _disp_y_id
virtual Real computeQpJacobian() override
const VariableValue & _disp_x_dot
const unsigned int _disp_z_id
const unsigned int _disp_x_id
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const VariableValue & _disp_z_dot
Real strongResidual()
Compute the strong residual, e.g.
const VariableValue & _d_disp_y_dot
const MaterialProperty< Real > & _rho
virtual Real computeQpResidual() override
const VariableValue & _d_disp_x_dot
static InputParameters validParams()
Real computePGVelocityJacobian(unsigned short component)
Compute the Jacobian of the Petrov-Galerkin stabilization addition with respect to the provided veloc...
const VariableValue & _d_disp_z_dot
This class computes strong and weak components of the INS governing equations.
Definition INSBase.h:19
const InputParameters & parameters() const
VariableValueTempl< false > VariableValue