https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowDesorpedMassTimeDerivative.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 "GenericKernel.h"
13#include "PorousFlowDictator.h"
14
22template <bool is_ad>
67
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Moose::GenericType< VariableValue, is_ad > GenericVariableValue
Moose::GenericType< Real, is_ad > GenericReal
PorousFlowDesorpedMassTimeDerivativeTempl< true > ADPorousFlowDesorpedMassTimeDerivative
PorousFlowDesorpedMassTimeDerivativeTempl< false > PorousFlowDesorpedMassTimeDerivative
const VariablePhiGradient & _grad_phi
const InputParameters & parameters() const
Kernel = (desorped_mass - desorped_mass_old)/dt It is NOT lumped to the nodes.
virtual GenericReal< is_ad > computeQpResidual() override
const VariableValue & _conc_old
Old value of the concentration variable (always non-AD)
const PorousFlowDictator & _dictator
PorousFlowDictator UserObject.
const MaterialProperty< Real > & _porosity_old
Old value of porosity.
const MaterialProperty< std::vector< Real > > *const _dporosity_dvar
d(porosity)/d(PorousFlow variable) – null for AD
const unsigned int _conc_var_number
The MOOSE variable number of the concentration variable.
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const GenericVariableValue< is_ad > & _conc
The concentration variable (AD or non-AD)
const GenericMaterialProperty< Real, is_ad > & _porosity
Porosity at the qps (AD or non-AD)
Real computeQpJac(unsigned int jvar)
Derivative of residual with respect to variable number jvar (non-AD path only)
const MaterialProperty< std::vector< RealGradient > > *const _dporosity_dgradvar
d(porosity)/d(grad PorousFlow variable) – null for AD
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
VariableValueTempl< false > VariableValue