https://mooseframework.inl.gov
TwoPhaseNCGPartialPressureFunction.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 "Function.h"
13 #include "FunctionInterface.h"
14 
16 
21 {
22 public:
24  static const std::map<std::string, unsigned int> _n_expected_args;
25 
27 
29 
30  virtual void initialSetup() override;
31  using Function::value;
32  virtual Real value(Real t, const Point & p) const override;
33 
34 protected:
40  const Function & _arg1_fn;
42  const Function & _arg2_fn;
43 };
TwoPhaseNCGPartialPressureFunction(const InputParameters &parameters)
const TwoPhaseNCGPartialPressureFluidProperties * _fp
Fluid properties object.
Two-phase fluid with single NCG using partial pressure mixture model.
static const std::map< std::string, unsigned int > _n_expected_args
Number of expected arguments for each property call.
virtual Real value(Real t, const Point &p) const override
const Function & _arg1_fn
Argument 1 function.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Function & _arg2_fn
Argument 2 function.
const InputParameters & parameters() const
Computes a property from a TwoPhaseNCGPartialPressureFluidProperties object.
virtual Real value(Real t, const Point &p) const