https://mooseframework.inl.gov
PorousFlowFullySaturatedAdvectiveFlux.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 "PorousFlowDarcyBase.h"
13 
20 {
21 public:
23 
25 
26 protected:
27  virtual Real mobility(unsigned nodenum, unsigned phase) const override;
28  virtual Real dmobility(unsigned nodenum, unsigned phase, unsigned pvar) const override;
29 
32 
35 
37  const unsigned int _fluid_component;
38 
41 };
const bool _multiply_by_density
Whether the flux is multiplied by density (so it will be a mass flux) or not (it will be a volume flu...
Darcy advective flux.
const unsigned int _fluid_component
Index of the fluid component that this kernel acts on.
const MaterialProperty< std::vector< std::vector< Real > > > & _mass_fractions
Mass fraction of each component in each phase.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
virtual Real mobility(unsigned nodenum, unsigned phase) const override
The mobility of the fluid.
Convective flux of component k in a single-phase fluid A fully-updwinded version is implemented...
const MaterialProperty< std::vector< std::vector< std::vector< Real > > > > & _dmass_fractions_dvar
Derivative of the mass fraction of each component in each phase wrt PorousFlow variables.
PorousFlowFullySaturatedAdvectiveFlux(const InputParameters &parameters)
virtual Real dmobility(unsigned nodenum, unsigned phase, unsigned pvar) const override
The derivative of mobility with respect to PorousFlow variable pvar.