https://mooseframework.inl.gov
include
postprocessors
InterfaceDiffusiveFluxIntegral.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
13
#include "
InterfaceIntegralPostprocessor.h
"
14
#include "
MooseVariableInterface.h
"
15
16
// Forward Declarations
17
template
<
bool
>
18
class
InterfaceDiffusiveFluxIntegralTempl
;
19
typedef
InterfaceDiffusiveFluxIntegralTempl<false>
InterfaceDiffusiveFluxIntegral
;
20
typedef
InterfaceDiffusiveFluxIntegralTempl<true>
ADInterfaceDiffusiveFluxIntegral
;
21
25
template
<
bool
is_ad>
26
class
InterfaceDiffusiveFluxIntegralTempl
:
public
InterfaceIntegralPostprocessor
27
{
28
public
:
29
static
InputParameters
validParams
();
30
31
InterfaceDiffusiveFluxIntegralTempl
(
const
InputParameters
&
parameters
);
32
33
protected
:
34
virtual
Real
computeQpIntegral
()
override
;
35
37
const
VariableGradient
&
_grad_u
;
38
39
const
VariableValue
&
_u
;
40
const
VariableValue
&
_u_neighbor
;
41
43
const
GenericMaterialProperty<Real, is_ad>
&
_diffusion_coef
;
44
const
GenericMaterialProperty<Real, is_ad>
&
_diffusion_coef_neighbor
;
45
48
Moose::FV::InterpMethod
_coeff_interp_method
;
49
};
VariableGradient
OutputTools< Real >::VariableGradient VariableGradient
Definition:
MooseTypes.h:315
InterfaceDiffusiveFluxIntegralTempl::_coeff_interp_method
Moose::FV::InterpMethod _coeff_interp_method
Decides if a geometric arithmetic or harmonic average is used for the face interpolation of the diffu...
Definition:
InterfaceDiffusiveFluxIntegral.h:48
InterfaceDiffusiveFluxIntegral
InterfaceDiffusiveFluxIntegralTempl< false > InterfaceDiffusiveFluxIntegral
Definition:
InterfaceDiffusiveFluxIntegral.h:18
InterfaceDiffusiveFluxIntegralTempl::validParams
static InputParameters validParams()
Definition:
InterfaceDiffusiveFluxIntegral.C:22
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:66
InterfaceDiffusiveFluxIntegralTempl
This postprocessor computes an integral of the diffusive flux over an interface.
Definition:
InterfaceDiffusiveFluxIntegral.h:18
InterfaceDiffusiveFluxIntegralTempl::_diffusion_coef
const GenericMaterialProperty< Real, is_ad > & _diffusion_coef
Material properties for the diffusion coefficient.
Definition:
InterfaceDiffusiveFluxIntegral.h:43
MooseVariableInterface.h
InterfaceDiffusiveFluxIntegralTempl::computeQpIntegral
virtual Real computeQpIntegral() override
Definition:
InterfaceDiffusiveFluxIntegral.C:86
GenericMaterialProperty
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Definition:
MaterialProperty.h:441
InterfaceIntegralPostprocessor
This postprocessor add generel capabilities to the InterfacePostprocessor to compute an integral over...
Definition:
InterfaceIntegralPostprocessor.h:19
VariableValue
OutputTools< Real >::VariableValue VariableValue
Definition:
MooseTypes.h:314
InterfaceDiffusiveFluxIntegralTempl::_grad_u
const VariableGradient & _grad_u
Holds the solution gradient at the current quadrature points.
Definition:
InterfaceDiffusiveFluxIntegral.h:37
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
InterfaceIntegralPostprocessor.h
InterfaceDiffusiveFluxIntegralTempl::_diffusion_coef_neighbor
const GenericMaterialProperty< Real, is_ad > & _diffusion_coef_neighbor
Definition:
InterfaceDiffusiveFluxIntegral.h:44
InterfaceDiffusiveFluxIntegralTempl::_u
const VariableValue & _u
Definition:
InterfaceDiffusiveFluxIntegral.h:39
MooseBaseParameterInterface::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition:
MooseBaseParameterInterface.h:62
InterfaceDiffusiveFluxIntegralTempl::_u_neighbor
const VariableValue & _u_neighbor
Definition:
InterfaceDiffusiveFluxIntegral.h:40
ADInterfaceDiffusiveFluxIntegral
InterfaceDiffusiveFluxIntegralTempl< true > ADInterfaceDiffusiveFluxIntegral
Definition:
InterfaceDiffusiveFluxIntegral.h:20
Moose::FV::InterpMethod
InterpMethod
This codifies a set of available ways to interpolate with elem+neighbor solution information to calcu...
Definition:
MathFVUtils.h:35
InterfaceDiffusiveFluxIntegralTempl::InterfaceDiffusiveFluxIntegralTempl
InterfaceDiffusiveFluxIntegralTempl(const InputParameters ¶meters)
Definition:
InterfaceDiffusiveFluxIntegral.C:48
Generated on Thu Jul 17 2025 01:32:07 for https://mooseframework.inl.gov by
1.8.14