https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSChorinPredictor.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 "Kernel.h"
13
14// Forward Declarations
15
21{
22public:
24
26
28
29protected:
30 virtual Real computeQpResidual();
31 virtual Real computeQpJacobian();
32 virtual Real computeQpOffDiagJacobian(unsigned jvar);
33
34 // Velocity
38
39 // Old Velocity
43
44 // Star Velocity
48
49 // Velocity Gradients
53
54 // Old Velocity Gradients
58
59 // Star Velocity Gradients
63
64 // Variable numberings
68
69 // Star velocity numbers
73
74 // Parameters
75 unsigned _component;
76
77 // An enumeration defining which velocity vector is used on the rhs
78 // of the Chorin predictor.
79 // OLD - Use velocity from the previous timestep, leads to explicit method
80 // NEW - Use velocity from current timestep, this may not be an actual method
81 // STAR - Use the "star" velocity. According to Donea's book, this is the
82 // right way to get an implicit method...
84
85 // A C++ enumeration corresponding to the predictor enumeration.
87 {
88 OLD = 0,
89 NEW = 1,
90 STAR = 2
91 };
92
93 // Material properties
96};
This class computes the "Chorin" Predictor equation in fully-discrete (both time and space) form.
const VariableGradient & _grad_u_vel_star
const VariableGradient & _grad_w_vel_star
const VariableValue & _v_vel_star
const VariableValue & _v_vel_old
const VariableGradient & _grad_v_vel_star
const VariableValue & _u_vel_old
static InputParameters validParams()
const VariableGradient & _grad_w_vel
const VariableGradient & _grad_v_vel_old
const VariableGradient & _grad_v_vel
const VariableValue & _w_vel_star
const VariableValue & _w_vel
const VariableGradient & _grad_u_vel_old
const MaterialProperty< Real > & _rho
const VariableValue & _u_vel_star
const VariableGradient & _grad_u_vel
const VariableValue & _v_vel
const VariableValue & _u_vel
virtual Real computeQpResidual()
const VariableGradient & _grad_w_vel_old
virtual Real computeQpOffDiagJacobian(unsigned jvar)
virtual Real computeQpJacobian()
const VariableValue & _w_vel_old
const MaterialProperty< Real > & _mu
const InputParameters & parameters() const
VariableValueTempl< false > VariableValue
VariableGradientTempl< false > VariableGradient