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 26 of file LevelSetTimeDerivativeSUPG.h.

## ◆ LevelSetTimeDerivativeSUPG()

 LevelSetTimeDerivativeSUPG::LevelSetTimeDerivativeSUPG ( const InputParameters & parameters )

## ◆ computeQpJacobian()

 Real LevelSetTimeDerivativeSUPG::computeQpJacobian ( )
overrideprotected

Definition at line 39 of file LevelSetTimeDerivativeSUPG.C.

40 {
42  Real tau = _current_elem->hmin() / (2 * _velocity.norm());
43  return tau * _velocity * _grad_test[_i][_qp] * _phi[_j][_qp] * _du_dot_du[_qp];
44 }
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...

## ◆ computeQpResidual()

 Real LevelSetTimeDerivativeSUPG::computeQpResidual ( )
overrideprotected

Definition at line 31 of file LevelSetTimeDerivativeSUPG.C.

32 {
34  Real tau = _current_elem->hmin() / (2 * _velocity.norm());
35  return tau * _velocity * _grad_test[_i][_qp] * _u_dot[_qp];
36 }
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...

## ◆ computeQpVelocity()

 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.

Definition at line 61 of file LevelSetVelocityInterface.h.

Referenced by computeQpJacobian(), and computeQpResidual().

62 {
63  _velocity(0) = _velocity_x[T::_qp];
64  _velocity(1) = _velocity_y[T::_qp];
65  _velocity(2) = _velocity_z[T::_qp];
66 }
RealVectorValue _velocity
Storage for velocity vector.

## ◆ _velocity

 RealVectorValue LevelSetVelocityInterface< TimeDerivative >::_velocity
protectedinherited

Storage for velocity vector.

Definition at line 56 of file LevelSetVelocityInterface.h.

Referenced by computeQpJacobian(), and computeQpResidual().

## ◆ _velocity_x

 const VariableValue& LevelSetVelocityInterface< TimeDerivative >::_velocity_x
protectedinherited

Coupled velocity variables

Definition at line 43 of file LevelSetVelocityInterface.h.

## ◆ _velocity_y

 const VariableValue& LevelSetVelocityInterface< TimeDerivative >::_velocity_y
protectedinherited

Definition at line 44 of file LevelSetVelocityInterface.h.

## ◆ _velocity_z

 const VariableValue& LevelSetVelocityInterface< TimeDerivative >::_velocity_z
protectedinherited

Definition at line 45 of file LevelSetVelocityInterface.h.

## ◆ _x_vel_var

 const unsigned int LevelSetVelocityInterface< TimeDerivative >::_x_vel_var
protectedinherited

Coupled velocity identifiers

Definition at line 50 of file LevelSetVelocityInterface.h.

## ◆ _y_vel_var

 const unsigned int LevelSetVelocityInterface< TimeDerivative >::_y_vel_var
protectedinherited

Definition at line 51 of file LevelSetVelocityInterface.h.

## ◆ _z_vel_var

 const unsigned int LevelSetVelocityInterface< TimeDerivative >::_z_vel_var
protectedinherited

Definition at line 52 of file LevelSetVelocityInterface.h.

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