https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
21{
22public:
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
34protected:
43};
const Real p
virtual Real value(Real t, const Point &p) const
const InputParameters & parameters() const
Two-phase fluid with single NCG using partial pressure mixture model.
Computes a property from a TwoPhaseNCGPartialPressureFluidProperties object.
virtual Real value(Real t, const Point &p) const override
static const std::map< std::string, unsigned int > _n_expected_args
Number of expected arguments for each property call.
const Function & _arg1_fn
Argument 1 function.
const Function & _arg2_fn
Argument 2 function.
const TwoPhaseNCGPartialPressureFluidProperties * _fp
Fluid properties object.