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

Advection Kernel for the levelset equation. More...

#include <LevelSetAdvection.h>

Inheritance diagram for LevelSetAdvection< compute_stage >:
[legend]

Public Member Functions

 LevelSetAdvection (const InputParameters &parameters)
 

Protected Member Functions

virtual ADResidual 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

 usingKernelValueMembers
 
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 LevelSetAdvection< compute_stage >

Advection Kernel for the levelset equation.

{v} u, where {v} is the interface velocity that is a set of coupled variables.

Definition at line 19 of file LevelSetAdvection.h.

Constructor & Destructor Documentation

◆ LevelSetAdvection()

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

Definition at line 24 of file LevelSetAdvection.C.

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

Member Function Documentation

◆ computeQpVelocity()

void LevelSetVelocityInterface< ADKernelValue< 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>
ADResidual LevelSetAdvection< compute_stage >::precomputeQpResidual ( )
overrideprotectedvirtual

Definition at line 31 of file LevelSetAdvection.C.

32 {
34  return _velocity * _grad_u[_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< ADKernelValue< compute_stage > >::_velocity
protectedinherited

Storage for velocity vector.

Definition at line 56 of file LevelSetVelocityInterface.h.

◆ _velocity_x

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

Coupled velocity variables

Definition at line 43 of file LevelSetVelocityInterface.h.

◆ _velocity_y

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

Definition at line 44 of file LevelSetVelocityInterface.h.

◆ _velocity_z

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

Definition at line 45 of file LevelSetVelocityInterface.h.

◆ _x_vel_var

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

Coupled velocity identifiers

Definition at line 50 of file LevelSetVelocityInterface.h.

◆ _y_vel_var

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

Definition at line 51 of file LevelSetVelocityInterface.h.

◆ _z_vel_var

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

Definition at line 52 of file LevelSetVelocityInterface.h.

◆ usingKernelValueMembers

template<ComputeStage compute_stage>
LevelSetAdvection< compute_stage >::usingKernelValueMembers
protected

Definition at line 39 of file LevelSetAdvection.h.


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