www.mooseframework.org
RichardsSeff2gasVG.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 "RichardsSeff.h"
13 #include "RichardsSeffVG.h"
14 
15 class RichardsSeff2gasVG;
16 
17 template <>
18 InputParameters validParams<RichardsSeff2gasVG>();
19 
26 {
27 public:
28  RichardsSeff2gasVG(const InputParameters & parameters);
29 
36  Real seff(std::vector<const VariableValue *> p, unsigned int qp) const;
37 
45  void
46  dseff(std::vector<const VariableValue *> p, unsigned int qp, std::vector<Real> & result) const;
47 
55  void d2seff(std::vector<const VariableValue *> p,
56  unsigned int qp,
57  std::vector<std::vector<Real>> & result) const;
58 
59 protected:
61  Real _al;
62 
64  Real _m;
65 };
66 
RichardsSeff2gasVG::d2seff
void d2seff(std::vector< const VariableValue * > p, unsigned int qp, std::vector< std::vector< Real >> &result) const
second derivative of effective saturation as a function of porepressure
Definition: RichardsSeff2gasVG.C:62
RichardsSeffVG.h
RichardsSeff
Base class for effective saturation as a function of porepressure(s) The functions seff,...
Definition: RichardsSeff.h:23
RichardsSeff2gasVG::seff
Real seff(std::vector< const VariableValue * > p, unsigned int qp) const
gas effective saturation
Definition: RichardsSeff2gasVG.C:45
RichardsSeff2gasVG::_m
Real _m
van Genuchten m parameter
Definition: RichardsSeff2gasVG.h:64
RichardsSeff2gasVG
van-Genuchten gas effective saturation as a function of (Pwater, Pgas), and its derivs wrt to those p...
Definition: RichardsSeff2gasVG.h:25
RichardsSeff2gasVG::RichardsSeff2gasVG
RichardsSeff2gasVG(const InputParameters &parameters)
Definition: RichardsSeff2gasVG.C:39
RichardsSeff2gasVG::_al
Real _al
van Genuchten alpha parameter
Definition: RichardsSeff2gasVG.h:61
RichardsSeff.h
RichardsSeff2gasVG::dseff
void dseff(std::vector< const VariableValue * > p, unsigned int qp, std::vector< Real > &result) const
derivative of effective saturation as a function of porepressure
Definition: RichardsSeff2gasVG.C:52
validParams< RichardsSeff2gasVG >
InputParameters validParams< RichardsSeff2gasVG >()
Definition: RichardsSeff2gasVG.C:19