www.mooseframework.org
RichardsSeff2gasRSC.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 "RichardsSeffRSC.h"
14 
26 
27 template <>
28 InputParameters validParams<RichardsSeff2gasRSC>();
29 
31 {
32 public:
33  RichardsSeff2gasRSC(const InputParameters & parameters);
34 
41  Real seff(std::vector<const VariableValue *> p, unsigned int qp) const;
42 
50  void
51  dseff(std::vector<const VariableValue *> p, unsigned int qp, std::vector<Real> & result) const;
52 
60  void d2seff(std::vector<const VariableValue *> p,
61  unsigned int qp,
62  std::vector<std::vector<Real>> & result) const;
63 
64 protected:
67 
70 
72  Real _shift;
73 
75  Real _scale;
76 };
77 
RichardsSeff2gasRSC::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: RichardsSeff2gasRSC.C:59
RichardsSeff2gasRSC::RichardsSeff2gasRSC
RichardsSeff2gasRSC(const InputParameters &parameters)
Definition: RichardsSeff2gasRSC.C:42
RichardsSeff
Base class for effective saturation as a function of porepressure(s) The functions seff,...
Definition: RichardsSeff.h:23
RichardsSeffRSC.h
RichardsSeff2gasRSC::_scale_ratio
Real _scale_ratio
RSC scale ratio.
Definition: RichardsSeff2gasRSC.h:69
RichardsSeff2gasRSC
Definition: RichardsSeff2gasRSC.h:30
RichardsSeff.h
RichardsSeff2gasRSC::_scale
Real _scale
RSC scale.
Definition: RichardsSeff2gasRSC.h:75
RichardsSeff2gasRSC::_shift
Real _shift
RSC shift.
Definition: RichardsSeff2gasRSC.h:72
RichardsSeff2gasRSC::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: RichardsSeff2gasRSC.C:69
validParams< RichardsSeff2gasRSC >
InputParameters validParams< RichardsSeff2gasRSC >()
Definition: RichardsSeff2gasRSC.C:23
RichardsSeff2gasRSC::seff
Real seff(std::vector< const VariableValue * > p, unsigned int qp) const
oil effective saturation
Definition: RichardsSeff2gasRSC.C:52
RichardsSeff2gasRSC::_oil_viscosity
Real _oil_viscosity
oil viscosity
Definition: RichardsSeff2gasRSC.h:66