www.mooseframework.org
level_set
include
kernels
LevelSetAdvectionSUPG.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://www.mooseframework.org
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 "ADKernelGrad.h"
14
#include "
LevelSetVelocityInterface.h
"
15
16
// Forward declarations
17
template
<ComputeStage>
18
class
LevelSetAdvectionSUPG
;
19
20
declareADValidParams
(
LevelSetAdvectionSUPG
);
21
25
template
<ComputeStage compute_stage>
26
class
LevelSetAdvectionSUPG
:
public
LevelSetVelocityInterface
<ADKernelGrad<compute_stage>>
27
{
28
public
:
29
LevelSetAdvectionSUPG
(
const
InputParameters & parameters);
30
31
protected
:
32
virtual
ADRealVectorValue
precomputeQpResidual
()
override
;
33
34
usingKernelGradMembers
;
35
using
LevelSetVelocityInterface<ADKernelGrad<compute_stage>
>
::computeQpVelocity
;
36
using
LevelSetVelocityInterface<ADKernelGrad<compute_stage>
>
::_velocity
;
37
};
38
LevelSetVelocityInterface.h
LevelSetVelocityInterface< ADKernelGrad< compute_stage > >::_velocity
RealVectorValue _velocity
Storage for velocity vector.
Definition:
LevelSetVelocityInterface.h:55
LevelSetVelocityInterface
A helper class for defining the velocity as coupled variables for the levelset equation.
Definition:
LevelSetVelocityInterface.h:18
LevelSetAdvectionSUPG::precomputeQpResidual
virtual ADRealVectorValue precomputeQpResidual() override
Definition:
LevelSetAdvectionSUPG.C:29
LevelSetAdvectionSUPG::usingKernelGradMembers
usingKernelGradMembers
Definition:
LevelSetAdvectionSUPG.h:34
declareADValidParams
declareADValidParams(LevelSetAdvectionSUPG)
LevelSetAdvectionSUPG
SUPG stabilization for the advection portion of the level set equation.
Definition:
LevelSetAdvectionSUPG.h:18
LevelSetAdvectionSUPG::LevelSetAdvectionSUPG
LevelSetAdvectionSUPG(const InputParameters ¶meters)
Definition:
LevelSetAdvectionSUPG.C:22
LevelSetVelocityInterface< ADKernelGrad< compute_stage > >::computeQpVelocity
void computeQpVelocity()
This method should be called when the velocity vector needs to be updated, this is not done automatic...
Definition:
LevelSetVelocityInterface.h:60
Generated on Sat Jan 25 2020 12:04:37 for www.mooseframework.org by
1.8.16