https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SideDiffusiveFluxIntegral.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// MOOSE includes
14
15// Forward Declarations
16template <bool, typename>
22
26template <bool is_ad, typename T>
28{
29public:
31
33
34protected:
35 Real computeQpIntegral() override;
36 Real computeFaceInfoIntegral(const FaceInfo * fi) override;
37
40
41private:
43 RealVectorValue diffusivityGradientProduct(const RealVectorValue & grad_u, Real diffusivity);
44
46 RealVectorValue diffusivityGradientProduct(const RealVectorValue & grad_u,
47 const RealVectorValue & diffusivity);
48};
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
SideDiffusiveFluxIntegralTempl< true, Real > ADSideDiffusiveFluxIntegral
SideDiffusiveFluxIntegralTempl< false, Real > SideDiffusiveFluxIntegral
SideDiffusiveFluxIntegralTempl< false, RealVectorValue > SideVectorDiffusivityFluxIntegral
SideDiffusiveFluxIntegralTempl< true, RealVectorValue > ADSideVectorDiffusivityFluxIntegral
This data structure is used to store geometric and variable related metadata about each cell face in ...
Definition FaceInfo.h:38
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
This postprocessor computes a side integral of the mass flux.
RealVectorValue diffusivityGradientProduct(const RealVectorValue &grad_u, Real diffusivity)
Routine to get the diffusive flux with a Real diffusivity.
const GenericMaterialProperty< T, is_ad > *const _diffusion_coef
Real computeFaceInfoIntegral(const FaceInfo *fi) override
const Moose::Functor< Moose::GenericType< T, is_ad > > *const _functor_diffusion_coef
This postprocessor computes a surface integral of the specified variable.