www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
LevelSetTimeDerivativeSUPG< compute_stage > Class Template Reference

Applies SUPG stabilization to the time derivative. More...

#include <LevelSetTimeDerivativeSUPG.h>

Inheritance diagram for LevelSetTimeDerivativeSUPG< compute_stage >:
[legend]

Public Member Functions

 LevelSetTimeDerivativeSUPG (const InputParameters &parameters)
 

Protected Member Functions

virtual ADVectorResidual precomputeQpResidual () override
 
void computeQpVelocity ()
 This method should be called when the velocity vector needs to be updated, this is not done automatically to avoid populating a vector that is not used. More...
 

Protected Attributes

 usingTimeKernelGradMembers
 
RealVectorValue _velocity
 Storage for velocity vector. More...
 
const VariableValue & _velocity_x
 
const VariableValue & _velocity_y
 
const VariableValue & _velocity_z
 
const unsigned int _x_vel_var
 
const unsigned int _y_vel_var
 
const unsigned int _z_vel_var
 

Detailed Description

template<ComputeStage compute_stage>
class LevelSetTimeDerivativeSUPG< compute_stage >

Applies SUPG stabilization to the time derivative.

Definition at line 19 of file LevelSetTimeDerivativeSUPG.h.

Constructor & Destructor Documentation

◆ LevelSetTimeDerivativeSUPG()

template<ComputeStage compute_stage>
LevelSetTimeDerivativeSUPG< compute_stage >::LevelSetTimeDerivativeSUPG ( const InputParameters &  parameters)

Definition at line 22 of file LevelSetTimeDerivativeSUPG.C.

25 {
26 }
A helper class for defining the velocity as coupled variables for the levelset equation.

Member Function Documentation

◆ computeQpVelocity()

void LevelSetVelocityInterface< ADTimeKernelGrad< compute_stage > >::computeQpVelocity ( )
protectedinherited

This method should be called when the velocity vector needs to be updated, this is not done automatically to avoid populating a vector that is not used.

Definition at line 61 of file LevelSetVelocityInterface.h.

◆ precomputeQpResidual()

template<ComputeStage compute_stage>
ADVectorResidual LevelSetTimeDerivativeSUPG< compute_stage >::precomputeQpResidual ( )
overrideprotectedvirtual

Definition at line 30 of file LevelSetTimeDerivativeSUPG.C.

31 {
33  Real tau = _current_elem->hmin() / (2 * _velocity.norm());
34  return tau * _velocity * _u_dot[_qp];
35 }
void computeQpVelocity()
This method should be called when the velocity vector needs to be updated, this is not done automatic...

Member Data Documentation

◆ _velocity

RealVectorValue LevelSetVelocityInterface< ADTimeKernelGrad< compute_stage > >::_velocity
protectedinherited

Storage for velocity vector.

Definition at line 56 of file LevelSetVelocityInterface.h.

◆ _velocity_x

const VariableValue& LevelSetVelocityInterface< ADTimeKernelGrad< compute_stage > >::_velocity_x
protectedinherited

Coupled velocity variables

Definition at line 43 of file LevelSetVelocityInterface.h.

◆ _velocity_y

const VariableValue& LevelSetVelocityInterface< ADTimeKernelGrad< compute_stage > >::_velocity_y
protectedinherited

Definition at line 44 of file LevelSetVelocityInterface.h.

◆ _velocity_z

const VariableValue& LevelSetVelocityInterface< ADTimeKernelGrad< compute_stage > >::_velocity_z
protectedinherited

Definition at line 45 of file LevelSetVelocityInterface.h.

◆ _x_vel_var

const unsigned int LevelSetVelocityInterface< ADTimeKernelGrad< compute_stage > >::_x_vel_var
protectedinherited

Coupled velocity identifiers

Definition at line 50 of file LevelSetVelocityInterface.h.

◆ _y_vel_var

const unsigned int LevelSetVelocityInterface< ADTimeKernelGrad< compute_stage > >::_y_vel_var
protectedinherited

Definition at line 51 of file LevelSetVelocityInterface.h.

◆ _z_vel_var

const unsigned int LevelSetVelocityInterface< ADTimeKernelGrad< compute_stage > >::_z_vel_var
protectedinherited

Definition at line 52 of file LevelSetVelocityInterface.h.

◆ usingTimeKernelGradMembers

template<ComputeStage compute_stage>
LevelSetTimeDerivativeSUPG< compute_stage >::usingTimeKernelGradMembers
protected

Definition at line 35 of file LevelSetTimeDerivativeSUPG.h.


The documentation for this class was generated from the following files: