https://mooseframework.inl.gov
INSFEFluidKernelBase.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"
14 #include "MooseVariable.h"
15 
21 {
22 public:
24 
26  virtual ~INSFEFluidKernelBase() {}
27 
28 protected:
29  Real velocityDiv() { return _grad_u_vel[_qp](0) + _grad_v_vel[_qp](1) + _grad_w_vel[_qp](2); }
31 
33  // Coupled variables
37 
43 
47 
52 
53  // Gradients
59 
60  // Variable numberings
66 
67  // Material properties
73 
78  unsigned int mapVarNumber(unsigned int var) const;
79 
81 
83 };
84 
85 inline RealVectorValue
87 {
89  return vec_vel_dot;
90 }
OutputTools< Real >::VariableGradient VariableGradient
const SinglePhaseFluidProperties & _eos
const VariableSecond & _second_u
const VariableValue & _w_vel_dot
INSFEFluidKernelBase(const InputParameters &parameters)
const VariableValue & _v_vel_dot
const VariableValue & _w_vel
const VariableGradient & _grad_temperature
const VariableGradient & _grad_w_vel
This class couples together all the variables for the 3D fluid equations to allow them to be used in ...
RealVectorValue velocityDot() const
const VariableGradient & _grad_pressure
const MaterialProperty< Real > & _dynamic_viscosity
const VariableValue & _pressure
const MaterialProperty< RealTensorValue > & _inertia_resistance_coeff
Common class for single phase fluid properties.
const VariableValue & _porosity
const MaterialProperty< Real > & _turbulence_viscosity
const VariableValue & _u_vel
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< RealTensorValue > & _viscous_resistance_coeff
const VariableValue & _temperature
const InputParameters & parameters() const
const MaterialProperty< Real > & _rho
OutputTools< Real >::VariableSecond VariableSecond
unsigned int mapVarNumber(unsigned int var) const
Helper function for mapping Moose variable numberings into the "canonical" numbering for the porous m...
const VariableValue & _v_vel
const VariableValue & _u_vel_dot
const VariableGradient & _grad_u_vel
const VariableGradient & _grad_v_vel
const MaterialProperty< RealTensorValue > & _viscous_stress_tensor
static InputParameters validParams()
unsigned int _qp