www.mooseframework.org
RichardsSUPGnone.C
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 // User object to implement no SUPG
11 //
12 #include "RichardsSUPGnone.h"
13 
15 
18 {
20  params.addClassDescription("User object for no SUPG");
21  return params;
22 }
23 
25 
27  RealVectorValue /*gradp*/,
28  Real /*density*/,
29  RealVectorValue /*gravity*/) const
30 {
31  return RealVectorValue();
32 }
33 
35 {
36  return RealTensorValue();
37 }
38 
40  Real /*density_prime*/,
41  RealVectorValue /*gravity*/) const
42 {
43  return RealVectorValue();
44 }
45 
48  int /*dimen*/,
49  RealVectorValue /*xi_prime*/,
50  RealVectorValue /*eta_prime*/,
51  RealVectorValue /*zeta_prime*/) const
52 {
53  return RealVectorValue();
54 }
55 
56 // following is d(bb*bb)/d(gradp)
58  RealTensorValue /*dvel_dgradp*/,
59  RealVectorValue /*xi_prime*/,
60  RealVectorValue /*eta_prime*/,
61  RealVectorValue /*zeta_prime*/) const
62 {
63  return RealVectorValue();
64 }
65 
66 // following is d(bb*bb)/d(p)
68  RealVectorValue /*dvel_dp*/,
69  RealVectorValue /*xi_prime*/,
70  RealVectorValue /*eta_prime*/,
71  RealVectorValue /*zeta_prime*/) const
72 {
73  return 0;
74 }
75 
77  Real /*traceperm*/,
78  RealVectorValue /*b*/) const
79 {
80  return 0;
81 }
82 
84  RealTensorValue /*dvel_dgradp*/,
85  Real /*traceperm*/,
86  RealVectorValue /*b*/,
87  RealVectorValue /*db2_dgradp*/) const
88 {
89  return RealVectorValue();
90 }
91 
93  RealVectorValue /*dvel_dp*/,
94  Real /*traceperm*/,
95  RealVectorValue /*b*/,
96  Real /*db2_dp*/) const
97 {
98  return 0;
99 }
100 
101 bool
103 {
104  return true;
105 }
static InputParameters validParams()
Definition: RichardsSUPG.C:15
static InputParameters validParams()
RealVectorValue dbb2_dgradp(RealVectorValue, RealTensorValue, RealVectorValue, RealVectorValue, RealVectorValue) const
derivative of bb*bb wrt gradient of porepressure = zero
registerMooseObject("RichardsApp", RichardsSUPGnone)
Real dtauSUPG_dp(RealVectorValue, RealVectorValue, Real, RealVectorValue, Real) const
derivative of tau SUPG parameter wrt porepressure = zero
Real dbb2_dp(RealVectorValue, RealVectorValue, RealVectorValue, RealVectorValue, RealVectorValue) const
derivative of bb*bb wrt porepressure = zero
Real tauSUPG(RealVectorValue, Real, RealVectorValue) const
tau SUPG parameter = zero
TensorValue< Real > RealTensorValue
RichardsSUPGnone(const InputParameters &parameters)
RealVectorValue dvelSUPG_dp(RealTensorValue, Real, RealVectorValue) const
derivative of SUPG velocity wrt poreporessure = zero
RealVectorValue dtauSUPG_dgradp(RealVectorValue, RealTensorValue, Real, RealVectorValue, RealVectorValue) const
derivative of tau SUPG parameter wrt gradient of porepressure = zero
base class for SUPG of the Richards equation You must override all the functions below with your spec...
Definition: RichardsSUPG.h:20
no Richards SUPG.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
bool SUPG_trivial() const
Returns true if SUPG is trivial.
void addClassDescription(const std::string &doc_string)
RealVectorValue bb(RealVectorValue, int, RealVectorValue, RealVectorValue, RealVectorValue) const
bb parameter = zero
RealTensorValue dvelSUPG_dgradp(RealTensorValue) const
derivative of SUPG velocity wrt gradient of porepressure = zero
RealVectorValue velSUPG(RealTensorValue, RealVectorValue, Real, RealVectorValue) const
SUPG velocity = zero.