www.mooseframework.org
PorousFlowAdvectiveFluxCalculatorSaturated.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 
26 {
27 public:
28  PorousFlowAdvectiveFluxCalculatorSaturated(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeU(unsigned i) const override;
32  virtual Real computedU_dvar(unsigned i, unsigned pvar) const override;
33 
36 
38  const MaterialProperty<std::vector<Real>> * const _fluid_density_node;
39 
41  const MaterialProperty<std::vector<std::vector<Real>>> * const _dfluid_density_node_dvar;
42 
44  const MaterialProperty<std::vector<Real>> & _fluid_viscosity;
45 
47  const MaterialProperty<std::vector<std::vector<Real>>> & _dfluid_viscosity_dvar;
48 };
49 
const MaterialProperty< std::vector< std::vector< Real > > > & _dfluid_viscosity_dvar
Derivative of the fluid viscosity for each phase wrt PorousFlow variables.
const MaterialProperty< std::vector< Real > > & _fluid_viscosity
Viscosity of each component in each phase.
Base class to compute the advective flux of fluid in PorousFlow situations using the Kuzmin-Turek FEM...
const MaterialProperty< std::vector< Real > > *const _fluid_density_node
Fluid density for each phase (at the node)
const bool _multiply_by_density
Whether to multiply the flux by the fluid density.
virtual Real computeU(unsigned i) const override
Computes the value of u at the local node id of the current element (_current_elem) ...
PorousFlowAdvectiveFluxCalculatorSaturated(const InputParameters &parameters)
virtual Real computedU_dvar(unsigned i, unsigned pvar) const override
Compute d(u)/d(porous_flow_variable)
Computes the advective flux of fluid of given phase, assuming fully-saturated conditions.
const MaterialProperty< std::vector< std::vector< Real > > > *const _dfluid_density_node_dvar
Derivative of the fluid density for each phase wrt PorousFlow variables (at the node) ...
InputParameters validParams< PorousFlowAdvectiveFluxCalculatorSaturated >()