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

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

#include <LevelSetTimeDerivativeSUPG.h>

Inheritance diagram for LevelSetTimeDerivativeSUPG:
[legend]

Public Member Functions

 LevelSetTimeDerivativeSUPG (const InputParameters &parameters)
 

Protected Member Functions

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

Applies SUPG stabilization to the time derivative.

Definition at line 24 of file LevelSetTimeDerivativeSUPG.h.

Constructor & Destructor Documentation

LevelSetTimeDerivativeSUPG::LevelSetTimeDerivativeSUPG ( const InputParameters &  parameters)

Member Function Documentation

Real LevelSetTimeDerivativeSUPG::computeQpJacobian ( )
overrideprotected

Definition at line 35 of file LevelSetTimeDerivativeSUPG.C.

36 {
38  Real tau = _current_elem->hmin() / (2 * _velocity.norm());
39  return tau * _velocity * _grad_test[_i][_qp] * _phi[_j][_qp] * _du_dot_du[_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 LevelSetTimeDerivativeSUPG::computeQpResidual ( )
overrideprotected

Definition at line 27 of file LevelSetTimeDerivativeSUPG.C.

28 {
30  Real tau = _current_elem->hmin() / (2 * _velocity.norm());
31  return tau * _velocity * _grad_test[_i][_qp] * _u_dot[_qp];
32 }
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< TimeDerivative >::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 computeQpJacobian(), and computeQpResidual().

Member Data Documentation

RealVectorValue LevelSetVelocityInterface< TimeDerivative >::_velocity
protectedinherited

Storage for velocity vector.

Definition at line 54 of file LevelSetVelocityInterface.h.

Referenced by computeQpJacobian(), and computeQpResidual().

const VariableValue& LevelSetVelocityInterface< TimeDerivative >::_velocity_x
protectedinherited

Coupled velocity variables

Definition at line 41 of file LevelSetVelocityInterface.h.

const VariableValue& LevelSetVelocityInterface< TimeDerivative >::_velocity_y
protectedinherited

Definition at line 42 of file LevelSetVelocityInterface.h.

const VariableValue& LevelSetVelocityInterface< TimeDerivative >::_velocity_z
protectedinherited

Definition at line 43 of file LevelSetVelocityInterface.h.

const unsigned int LevelSetVelocityInterface< TimeDerivative >::_x_vel_var
protectedinherited

Coupled velocity identifiers

Definition at line 48 of file LevelSetVelocityInterface.h.

const unsigned int LevelSetVelocityInterface< TimeDerivative >::_y_vel_var
protectedinherited

Definition at line 49 of file LevelSetVelocityInterface.h.

const unsigned int LevelSetVelocityInterface< TimeDerivative >::_z_vel_var
protectedinherited

Definition at line 50 of file LevelSetVelocityInterface.h.


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