www.mooseframework.org
RichardsSUPGnone.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 // User object to implement no SUPG
9 //
10 #include "RichardsSUPGnone.h"
11 
12 template <>
13 InputParameters
15 {
16  InputParameters params = validParams<RichardsSUPG>();
17  params.addClassDescription("User object for no SUPG");
18  return params;
19 }
20 
21 RichardsSUPGnone::RichardsSUPGnone(const InputParameters & parameters) : RichardsSUPG(parameters) {}
22 
23 RealVectorValue RichardsSUPGnone::velSUPG(RealTensorValue /*perm*/,
24  RealVectorValue /*gradp*/,
25  Real /*density*/,
26  RealVectorValue /*gravity*/) const
27 {
28  return RealVectorValue();
29 }
30 
31 RealTensorValue RichardsSUPGnone::dvelSUPG_dgradp(RealTensorValue /*perm*/) const
32 {
33  return RealTensorValue();
34 }
35 
36 RealVectorValue RichardsSUPGnone::dvelSUPG_dp(RealTensorValue /*perm*/,
37  Real /*density_prime*/,
38  RealVectorValue /*gravity*/) const
39 {
40  return RealVectorValue();
41 }
42 
43 RealVectorValue
44 RichardsSUPGnone::bb(RealVectorValue /*vel*/,
45  int /*dimen*/,
46  RealVectorValue /*xi_prime*/,
47  RealVectorValue /*eta_prime*/,
48  RealVectorValue /*zeta_prime*/) const
49 {
50  return RealVectorValue();
51 }
52 
53 // following is d(bb*bb)/d(gradp)
54 RealVectorValue RichardsSUPGnone::dbb2_dgradp(RealVectorValue /*vel*/,
55  RealTensorValue /*dvel_dgradp*/,
56  RealVectorValue /*xi_prime*/,
57  RealVectorValue /*eta_prime*/,
58  RealVectorValue /*zeta_prime*/) const
59 {
60  return RealVectorValue();
61 }
62 
63 // following is d(bb*bb)/d(p)
64 Real RichardsSUPGnone::dbb2_dp(RealVectorValue /*vel*/,
65  RealVectorValue /*dvel_dp*/,
66  RealVectorValue /*xi_prime*/,
67  RealVectorValue /*eta_prime*/,
68  RealVectorValue /*zeta_prime*/) const
69 {
70  return 0;
71 }
72 
73 Real RichardsSUPGnone::tauSUPG(RealVectorValue /*vel*/,
74  Real /*traceperm*/,
75  RealVectorValue /*b*/) const
76 {
77  return 0;
78 }
79 
80 RealVectorValue RichardsSUPGnone::dtauSUPG_dgradp(RealVectorValue /*vel*/,
81  RealTensorValue /*dvel_dgradp*/,
82  Real /*traceperm*/,
83  RealVectorValue /*b*/,
84  RealVectorValue /*db2_dgradp*/) const
85 {
86  return RealVectorValue();
87 }
88 
89 Real RichardsSUPGnone::dtauSUPG_dp(RealVectorValue /*vel*/,
90  RealVectorValue /*dvel_dp*/,
91  Real /*traceperm*/,
92  RealVectorValue /*b*/,
93  Real /*db2_dp*/) const
94 {
95  return 0;
96 }
97 
98 bool
100 {
101  return true;
102 }
RealVectorValue dtauSUPG_dgradp(RealVectorValue, RealTensorValue, Real, RealVectorValue, RealVectorValue) const
derivative of tau SUPG parameter wrt gradient of porepressure = zero
RealVectorValue bb(RealVectorValue, int, RealVectorValue, RealVectorValue, RealVectorValue) const
bb parameter = zero
RealVectorValue velSUPG(RealTensorValue, RealVectorValue, Real, RealVectorValue) const
SUPG velocity = zero.
Real tauSUPG(RealVectorValue, Real, RealVectorValue) const
tau SUPG parameter = zero
RealVectorValue dvelSUPG_dp(RealTensorValue, Real, RealVectorValue) const
derivative of SUPG velocity wrt poreporessure = zero
Real dtauSUPG_dp(RealVectorValue, RealVectorValue, Real, RealVectorValue, Real) const
derivative of tau SUPG parameter wrt porepressure = zero
RichardsSUPGnone(const InputParameters &parameters)
InputParameters validParams< RichardsSUPGnone >()
RealVectorValue dbb2_dgradp(RealVectorValue, RealTensorValue, RealVectorValue, RealVectorValue, RealVectorValue) const
derivative of bb*bb 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:24
Real dbb2_dp(RealVectorValue, RealVectorValue, RealVectorValue, RealVectorValue, RealVectorValue) const
derivative of bb*bb wrt porepressure = zero
InputParameters validParams< RichardsSUPG >()
Definition: RichardsSUPG.C:14
RealTensorValue dvelSUPG_dgradp(RealTensorValue) const
derivative of SUPG velocity wrt gradient of porepressure = zero
bool SUPG_trivial() const
Returns true if SUPG is trivial.