www.mooseframework.org
PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent.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 
13 
15 
16 template <>
18 
28 {
29 public:
30  PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent(const InputParameters & parameters);
31 
32 protected:
33  virtual Real computeU(unsigned i) const override;
34 
35  virtual Real computedU_dvar(unsigned i, unsigned pvar) const override;
36 
38  const MaterialProperty<std::vector<Real>> & _relative_permeability;
39 
41  const MaterialProperty<std::vector<std::vector<Real>>> & _drelative_permeability_dvar;
42 };
43 
PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent::PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent
PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent(const InputParameters &parameters)
Definition: PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent.C:29
PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent::_drelative_permeability_dvar
const MaterialProperty< std::vector< std::vector< Real > > > & _drelative_permeability_dvar
Derivative of relative permeability of each phase wrt PorousFlow variables.
Definition: PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent.h:41
PorousFlowAdvectiveFluxCalculatorSaturatedMultiComponent.h
PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent::computedU_dvar
virtual Real computedU_dvar(unsigned i, unsigned pvar) const override
Compute d(u)/d(porous_flow_variable)
Definition: PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent.C:46
PorousFlowAdvectiveFluxCalculatorSaturatedMultiComponent
Computes the advective flux of fluid of given phase and fluid component.
Definition: PorousFlowAdvectiveFluxCalculatorSaturatedMultiComponent.h:24
PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent::computeU
virtual Real computeU(unsigned i) const override
Computes the value of u at the local node id of the current element (_current_elem)
Definition: PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent.C:39
PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent
Computes the advective flux of fluid of given phase and component.
Definition: PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent.h:26
validParams< PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent >
InputParameters validParams< PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent >()
Definition: PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent.C:16
PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent::_relative_permeability
const MaterialProperty< std::vector< Real > > & _relative_permeability
Relative permeability of each phase.
Definition: PorousFlowAdvectiveFluxCalculatorUnsaturatedMultiComponent.h:38