www.mooseframework.org
RichardsMassChange.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "TimeDerivative.h"
13 #include "RichardsVarNames.h"
14 
15 // Forward Declarations
16 
24 {
25 public:
27 
29 
30 protected:
31  virtual Real computeQpResidual();
32 
33  virtual Real computeQpJacobian();
34 
35  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
36 
39 
45  unsigned int _pvar;
46 
48  bool _use_supg;
49 
52 
55 
58 
61 
64 
67 
73  Real computeQpJac(unsigned int wrt_num);
74 };
virtual Real computeQpResidual()
const MaterialProperty< std::vector< std::vector< Real > > > & _dmass
d(fluid mass_i)/d(var_j)
const MaterialProperty< std::vector< Real > > & _mass
fluid mass (or fluid masses in multiphase) at quadpoints
bool _use_supg
whether to use SUPG for this kernel (not recommended)
const MaterialProperty< std::vector< std::vector< RealVectorValue > > > & _dtauvel_SUPG_dv
deriv of tau_SUPG wrt variable
This holds maps between pressure_var or pressure_var, sat_var used in RichardsMaterial and kernels...
const MaterialProperty< std::vector< RealVectorValue > > & _tauvel_SUPG
tau_SUPG
const MaterialProperty< std::vector< std::vector< RealTensorValue > > > & _dtauvel_SUPG_dgradv
derivative of tau_SUPG wrt grad(variable)
Kernel = (mass - mass_old)/dt where mass = porosity*density*saturation This is used for the time deri...
const MaterialProperty< std::vector< Real > > & _mass_old
old value of fluid mass (or fluid masses in multiphase) at quadpoints
unsigned int _pvar
the Richards variable number eg, if richards name = &#39;pwater pgas poil&#39;, and this kernel is for pgas...
const RichardsVarNames & _richards_name_UO
holds info on the Richards variables
virtual Real computeQpJacobian()
Real computeQpJac(unsigned int wrt_num)
Derivative of residual with respect to wrt_num Richards variable This is used by both computeQpJacobi...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
static InputParameters validParams()
const InputParameters & parameters() const
RichardsMassChange(const InputParameters &parameters)