Dispersive flux of component k in fluid phase alpha. More...
#include <PorousFlowDispersiveFlux.h>
Public Member Functions | |
PorousFlowDispersiveFlux (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual Real | computeQpResidual () override |
virtual Real | computeQpJacobian () override |
virtual Real | computeQpOffDiagJacobian (unsigned int jvar) override |
Real | computeQpJac (unsigned int jvar) const |
Derivative of the residual with respect to the PorousFLow Variable with variable number jvar. More... | |
Protected Attributes | |
const MaterialProperty< std::vector< Real > > & | _fluid_density_qp |
Fluid density for each phase (at the qp) More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _dfluid_density_qp_dvar |
Derivative of the fluid density for each phase wrt PorousFlow variables (at the qp) More... | |
const MaterialProperty< std::vector< std::vector< RealGradient > > > & | _grad_mass_frac |
Gradient of mass fraction of each component in each phase. More... | |
const MaterialProperty< std::vector< std::vector< std::vector< Real > > > > & | _dmass_frac_dvar |
Derivative of mass fraction wrt PorousFlow variables. More... | |
const MaterialProperty< Real > & | _porosity_qp |
Porosity at the qps. More... | |
const MaterialProperty< std::vector< Real > > & | _dporosity_qp_dvar |
Derivative of porosity wrt PorousFlow variables (at the qps) More... | |
const MaterialProperty< std::vector< Real > > & | _tortuosity |
Tortuosity tau_0 * tau_{alpha} for fluid phase alpha. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _dtortuosity_dvar |
Derivative of tortuosity wrt PorousFlow variables. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _diffusion_coeff |
Diffusion coefficients of component k in fluid phase alpha. More... | |
const MaterialProperty< std::vector< std::vector< std::vector< Real > > > > & | _ddiffusion_coeff_dvar |
Derivative of the diffusion coefficients wrt PorousFlow variables. More... | |
const PorousFlowDictator & | _dictator |
PorousFlowDictator UserObject. More... | |
const unsigned int | _fluid_component |
Index of the fluid component that this kernel acts on. More... | |
const unsigned int | _num_phases |
The number of fluid phases. More... | |
const RankTwoTensor | _identity_tensor |
Identity tensor. More... | |
const MaterialProperty< std::vector< Real > > & | _relative_permeability |
Relative permeability of each phase. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _drelative_permeability_dvar |
Derivative of relative permeability wrt PorousFlow variables. More... | |
const MaterialProperty< std::vector< Real > > & | _fluid_viscosity |
Viscosity of each component in each phase. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _dfluid_viscosity_dvar |
Derivative of viscosity wrt PorousFlow variables. More... | |
const MaterialProperty< RealTensorValue > & | _permeability |
Permeability of porous material. More... | |
const MaterialProperty< std::vector< RealTensorValue > > & | _dpermeability_dvar |
Derivative of permeability wrt PorousFlow variables. More... | |
const MaterialProperty< std::vector< std::vector< RealTensorValue > > > & | _dpermeability_dgradvar |
d(permeabiity)/d(grad(PorousFlow variable)) More... | |
const MaterialProperty< std::vector< RealGradient > > & | _grad_p |
Gradient of the pore pressure in each phase. More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _dgrad_p_dgrad_var |
Derivative of Grad porepressure in each phase wrt grad(PorousFlow variables) More... | |
const MaterialProperty< std::vector< std::vector< RealGradient > > > & | _dgrad_p_dvar |
Derivative of Grad porepressure in each phase wrt PorousFlow variables. More... | |
const RealVectorValue | _gravity |
Gravitational acceleration. More... | |
const std::vector< Real > | _disp_long |
Longitudinal dispersivity for each phase. More... | |
const std::vector< Real > | _disp_trans |
Transverse dispersivity for each phase. More... | |
const bool | _perm_derivs |
Flag to check whether permeabiity derivatives are non-zero. More... | |
Dispersive flux of component k in fluid phase alpha.
Includes the effects of both molecular diffusion and hydrodynamic dispersion.
Definition at line 25 of file PorousFlowDispersiveFlux.h.
PorousFlowDispersiveFlux::PorousFlowDispersiveFlux | ( | const InputParameters & | parameters | ) |
Definition at line 36 of file PorousFlowDispersiveFlux.C.
|
protected |
Derivative of the residual with respect to the PorousFLow Variable with variable number jvar.
This is used by both computeQpJacobian and computeQpOffDiagJacobian
jvar | take the derivative wrt this variable number |
Definition at line 143 of file PorousFlowDispersiveFlux.C.
Referenced by computeQpJacobian(), and computeQpOffDiagJacobian().
|
overrideprotectedvirtual |
Definition at line 131 of file PorousFlowDispersiveFlux.C.
|
overrideprotectedvirtual |
Definition at line 137 of file PorousFlowDispersiveFlux.C.
|
overrideprotectedvirtual |
Definition at line 94 of file PorousFlowDispersiveFlux.C.
|
protected |
Derivative of the diffusion coefficients wrt PorousFlow variables.
Definition at line 74 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac().
|
protected |
Derivative of the fluid density for each phase wrt PorousFlow variables (at the qp)
Definition at line 50 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac().
|
protected |
Derivative of viscosity wrt PorousFlow variables.
Definition at line 98 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac().
|
protected |
Derivative of Grad porepressure in each phase wrt grad(PorousFlow variables)
Definition at line 113 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac().
|
protected |
Derivative of Grad porepressure in each phase wrt PorousFlow variables.
Definition at line 116 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac().
|
protected |
PorousFlowDictator UserObject.
Definition at line 77 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac().
|
protected |
Diffusion coefficients of component k in fluid phase alpha.
Definition at line 71 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Longitudinal dispersivity for each phase.
Definition at line 122 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), computeQpResidual(), and PorousFlowDispersiveFlux().
|
protected |
Transverse dispersivity for each phase.
Definition at line 125 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), computeQpResidual(), and PorousFlowDispersiveFlux().
|
protected |
Derivative of mass fraction wrt PorousFlow variables.
Definition at line 56 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac().
|
protected |
d(permeabiity)/d(grad(PorousFlow variable))
Definition at line 107 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac().
|
protected |
Derivative of permeability wrt PorousFlow variables.
Definition at line 104 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac().
|
protected |
Derivative of porosity wrt PorousFlow variables (at the qps)
Definition at line 62 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac().
|
protected |
Derivative of relative permeability wrt PorousFlow variables.
Definition at line 92 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac().
|
protected |
Derivative of tortuosity wrt PorousFlow variables.
Definition at line 68 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac().
|
protected |
Index of the fluid component that this kernel acts on.
Definition at line 80 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Fluid density for each phase (at the qp)
Definition at line 47 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Viscosity of each component in each phase.
Definition at line 95 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Gradient of mass fraction of each component in each phase.
Definition at line 53 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Gradient of the pore pressure in each phase.
Definition at line 110 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Gravitational acceleration.
Definition at line 119 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Identity tensor.
Definition at line 86 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
The number of fluid phases.
Definition at line 83 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), computeQpResidual(), and PorousFlowDispersiveFlux().
|
protected |
Flag to check whether permeabiity derivatives are non-zero.
Definition at line 128 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac().
|
protected |
Permeability of porous material.
Definition at line 101 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Porosity at the qps.
Definition at line 59 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Relative permeability of each phase.
Definition at line 89 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), and computeQpResidual().
|
protected |
Tortuosity tau_0 * tau_{alpha} for fluid phase alpha.
Definition at line 65 of file PorousFlowDispersiveFlux.h.
Referenced by computeQpJac(), and computeQpResidual().