www.mooseframework.org
LevelSetForcingFunctionSUPG.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"
15 
16 // Forward declarations
17 template <ComputeStage>
19 
21 
25 template <ComputeStage compute_stage>
26 class LevelSetForcingFunctionSUPG : public LevelSetVelocityInterface<ADKernelGrad<compute_stage>>
27 {
28 public:
29  LevelSetForcingFunctionSUPG(const InputParameters & parameters);
30 
31 protected:
32  virtual ADRealVectorValue precomputeQpResidual() override;
33 
35  const Function & _function;
36 
41 };
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
LevelSetForcingFunctionSUPG::usingKernelGradMembers
usingKernelGradMembers
Definition: LevelSetForcingFunctionSUPG.h:37
declareADValidParams
declareADValidParams(LevelSetForcingFunctionSUPG)
LevelSetForcingFunctionSUPG::LevelSetForcingFunctionSUPG
LevelSetForcingFunctionSUPG(const InputParameters &parameters)
Definition: LevelSetForcingFunctionSUPG.C:23
LevelSetForcingFunctionSUPG::_function
const Function & _function
Function value.
Definition: LevelSetForcingFunctionSUPG.h:35
LevelSetForcingFunctionSUPG::precomputeQpResidual
virtual ADRealVectorValue precomputeQpResidual() override
Definition: LevelSetForcingFunctionSUPG.C:32
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
LevelSetForcingFunctionSUPG
SUPG stabilization term for a forcing function.
Definition: LevelSetForcingFunctionSUPG.h:18