https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
22template <bool is_ad>
53
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Moose::GenericType< Real, is_ad > GenericReal
PorousFlowFullySaturatedAdvectiveFluxTempl< false > PorousFlowFullySaturatedAdvectiveFlux
PorousFlowFullySaturatedAdvectiveFluxTempl< true > ADPorousFlowFullySaturatedAdvectiveFlux
const InputParameters & parameters() const
Darcy advective flux.
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) – null for AD p...
const PorousFlowDictator & _dictator
PorousFlowDictator UserObject.
const MaterialProperty< std::vector< std::vector< Real > > > *const _dfluid_viscosity_dvar
Derivative of the fluid viscosity for each phase wrt PorousFlow variables – null for AD path.
const GenericMaterialProperty< std::vector< Real >, is_ad > & _fluid_viscosity
Viscosity of each component in each phase.
const GenericMaterialProperty< std::vector< Real >, is_ad > & _fluid_density_node
Fluid density for each phase (at the node)
Convective flux of component k in a single-phase fluid.
const MaterialProperty< std::vector< std::vector< std::vector< Real > > > > *const _dmass_fractions_dvar
Derivative of mass fraction wrt PorousFlow variables – null for AD path.
virtual Real dmobility(unsigned nodenum, unsigned phase, unsigned pvar) const override
The derivative of mobility with respect to PorousFlow variable pvar – non-AD path only.
virtual GenericReal< is_ad > mobility(unsigned nodenum, unsigned phase) const override
The mobility of the fluid.
const GenericMaterialProperty< std::vector< std::vector< Real > >, is_ad > & _mass_fractions
Mass fraction of each component in each phase.
const unsigned int _fluid_component
Index of the fluid component that this kernel acts on.
const bool _multiply_by_density
Whether the flux is multiplied by density (mass flux) or not (volume flux)