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

Advection Kernel for the levelset equation. More...

#include <LevelSetAdvection.h>

Inheritance diagram for LevelSetAdvection:
[legend]

Public Member Functions

 LevelSetAdvection (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual () override
 
virtual Real computeQpJacobian () 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

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

Advection Kernel for the levelset equation.

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

Definition at line 28 of file LevelSetAdvection.h.

Constructor & Destructor Documentation

LevelSetAdvection::LevelSetAdvection ( const InputParameters &  parameters)

Definition at line 23 of file LevelSetAdvection.C.

Member Function Documentation

Real LevelSetAdvection::computeQpJacobian ( )
overrideprotectedvirtual

Definition at line 36 of file LevelSetAdvection.C.

37 {
39  return _test[_i][_qp] * (_velocity * _grad_phi[_j][_qp]);
40 }
RealVectorValue _velocity
Storage for velocity vector.
void computeQpVelocity()
This method should be called when the velocity vector needs to be updated, this is not done automatic...
Real LevelSetAdvection::computeQpResidual ( )
overrideprotectedvirtual

Definition at line 29 of file LevelSetAdvection.C.

30 {
32  return _test[_i][_qp] * (_velocity * _grad_u[_qp]);
33 }
RealVectorValue _velocity
Storage for velocity vector.
void computeQpVelocity()
This method should be called when the velocity vector needs to be updated, this is not done automatic...
void LevelSetVelocityInterface< Kernel >::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.

Referenced by LevelSetAdvectionSUPG::computeQpJacobian(), computeQpJacobian(), LevelSetAdvectionSUPG::computeQpResidual(), and computeQpResidual().

Member Data Documentation

RealVectorValue LevelSetVelocityInterface< Kernel >::_velocity
protectedinherited
const VariableValue& LevelSetVelocityInterface< Kernel >::_velocity_x
protectedinherited

Coupled velocity variables

Definition at line 41 of file LevelSetVelocityInterface.h.

const VariableValue& LevelSetVelocityInterface< Kernel >::_velocity_y
protectedinherited

Definition at line 42 of file LevelSetVelocityInterface.h.

const VariableValue& LevelSetVelocityInterface< Kernel >::_velocity_z
protectedinherited

Definition at line 43 of file LevelSetVelocityInterface.h.

const unsigned int LevelSetVelocityInterface< Kernel >::_x_vel_var
protectedinherited

Coupled velocity identifiers

Definition at line 48 of file LevelSetVelocityInterface.h.

const unsigned int LevelSetVelocityInterface< Kernel >::_y_vel_var
protectedinherited

Definition at line 49 of file LevelSetVelocityInterface.h.

const unsigned int LevelSetVelocityInterface< Kernel >::_z_vel_var
protectedinherited

Definition at line 50 of file LevelSetVelocityInterface.h.


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