https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowDarcyVelocityComponent.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 "AuxKernel.h"
13#include "PorousFlowDictator.h"
14
25template <bool is_ad>
63
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
PorousFlowDarcyVelocityComponentTempl< true > ADPorousFlowDarcyVelocityComponent
PorousFlowDarcyVelocityComponentTempl< false > PorousFlowDarcyVelocityComponent
const InputParameters & parameters() const
Computes a component of the Darcy velocity: -k_ij * krel /mu (nabla_j P - w_j) where k_ij is the perm...
unsigned int _component
Desired spatial component.
const RealVectorValue _gravity
Gravitational acceleration.
const unsigned int _ph
Index of the fluid phase.
const PorousFlowDictator & _dictator
PorousFlowDicatator UserObject.
const GenericMaterialProperty< std::vector< Real >, is_ad > & _fluid_density_qp
Fluid density for each phase (at the qp)
const GenericMaterialProperty< std::vector< Real >, is_ad > & _fluid_viscosity
Viscosity of each component in each phase.
const GenericMaterialProperty< std::vector< Real >, is_ad > & _relative_permeability
Relative permeability of each phase.
const GenericMaterialProperty< RealTensorValue, is_ad > & _permeability
Permeability of porous material.
const GenericMaterialProperty< std::vector< RealGradient >, is_ad > & _grad_p
Gradient of the pore pressure in each phase.
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...