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 
PorousFlowAdvectiveFluxCalculatorSaturated::_dfluid_density_node_dvar
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)
Definition: PorousFlowAdvectiveFluxCalculatorSaturated.h:41
PorousFlowAdvectiveFluxCalculatorSaturated::_fluid_viscosity
const MaterialProperty< std::vector< Real > > & _fluid_viscosity
Viscosity of each component in each phase.
Definition: PorousFlowAdvectiveFluxCalculatorSaturated.h:44
PorousFlowAdvectiveFluxCalculatorSaturated::computedU_dvar
virtual Real computedU_dvar(unsigned i, unsigned pvar) const override
Compute d(u)/d(porous_flow_variable)
Definition: PorousFlowAdvectiveFluxCalculatorSaturated.C:64
PorousFlowAdvectiveFluxCalculatorSaturated
Computes the advective flux of fluid of given phase, assuming fully-saturated conditions.
Definition: PorousFlowAdvectiveFluxCalculatorSaturated.h:25
PorousFlowAdvectiveFluxCalculatorSaturated::PorousFlowAdvectiveFluxCalculatorSaturated
PorousFlowAdvectiveFluxCalculatorSaturated(const InputParameters &parameters)
Definition: PorousFlowAdvectiveFluxCalculatorSaturated.C:33
PorousFlowAdvectiveFluxCalculatorSaturated::_fluid_density_node
const MaterialProperty< std::vector< Real > > *const _fluid_density_node
Fluid density for each phase (at the node)
Definition: PorousFlowAdvectiveFluxCalculatorSaturated.h:38
validParams< PorousFlowAdvectiveFluxCalculatorSaturated >
InputParameters validParams< PorousFlowAdvectiveFluxCalculatorSaturated >()
Definition: PorousFlowAdvectiveFluxCalculatorSaturated.C:16
PorousFlowAdvectiveFluxCalculatorSaturated::_multiply_by_density
const bool _multiply_by_density
Whether to multiply the flux by the fluid density.
Definition: PorousFlowAdvectiveFluxCalculatorSaturated.h:35
PorousFlowAdvectiveFluxCalculatorBase.h
PorousFlowAdvectiveFluxCalculatorBase
Base class to compute the advective flux of fluid in PorousFlow situations using the Kuzmin-Turek FEM...
Definition: PorousFlowAdvectiveFluxCalculatorBase.h:32
PorousFlowAdvectiveFluxCalculatorSaturated::_dfluid_viscosity_dvar
const MaterialProperty< std::vector< std::vector< Real > > > & _dfluid_viscosity_dvar
Derivative of the fluid viscosity for each phase wrt PorousFlow variables.
Definition: PorousFlowAdvectiveFluxCalculatorSaturated.h:47
PorousFlowAdvectiveFluxCalculatorSaturated::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: PorousFlowAdvectiveFluxCalculatorSaturated.C:51