|
VMTK
|
Compute the Lambda2 surface for a given flow field which allow for the visualization of fluid vortex cores. More...
#include <vtkvmtkMeshLambda2.h>
Public Types | |
| typedef vtkUnstructuredGridAlgorithm | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkvmtkMeshLambda2 * | NewInstance () const |
| void | PrintSelf (std::ostream &os, vtkIndent indent) override |
| virtual void | SetVelocityArrayName (const char *) |
| virtual char * | GetVelocityArrayName () |
| virtual void | SetLambda2ArrayName (const char *) |
| virtual char * | GetLambda2ArrayName () |
| virtual void | SetComputeIndividualPartialDerivatives (int) |
| virtual int | GetComputeIndividualPartialDerivatives () |
| virtual void | ComputeIndividualPartialDerivativesOn () |
| virtual void | ComputeIndividualPartialDerivativesOff () |
| virtual void | SetConvergenceTolerance (double) |
| virtual double | GetConvergenceTolerance () |
| virtual void | SetQuadratureOrder (int) |
| virtual int | GetQuadratureOrder () |
| virtual void | SetForceBoundaryToNegative (int) |
| virtual int | GetForceBoundaryToNegative () |
| virtual void | ForceBoundaryToNegativeOn () |
| virtual void | ForceBoundaryToNegativeOff () |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkMeshLambda2 * | SafeDownCast (vtkObjectBase *o) |
| static vtkvmtkMeshLambda2 * | New () |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkMeshLambda2 () | |
| ~vtkvmtkMeshLambda2 () | |
| virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
Protected Attributes | |
| char * | VelocityArrayName |
| char * | Lambda2ArrayName |
| int | ComputeIndividualPartialDerivatives |
| double | ConvergenceTolerance |
| int | QuadratureOrder |
| int | ForceBoundaryToNegative |
Compute the Lambda2 surface for a given flow field which allow for the visualization of fluid vortex cores.
This filter implements the lambda2 vortex-core identification criterion (Jeong & Hussain): for every point of an input volumetric mesh, it computes the velocity gradient tensor (via vtkvmtkUnstructuredGridGradientFilter on the array named VelocityArrayName) and splits it into its symmetric (strain-rate, S) and antisymmetric (spin/vorticity, Omega) parts, forms the tensor S^2 + Omega^2, and stores its second-largest eigenvalue as a new point data array (Lambda2ArrayName). Points where this value is negative lie inside a vortex core, so thresholding/isosurfacing the output array below zero visualizes the vortex structures of the flow.
This is the filter behind the vmtkmeshlambda2 pype script, typically run on CFD velocity fields to extract and visualize coherent vortical structures.
Definition at line 42 of file vtkvmtkMeshLambda2.h.
| typedef vtkUnstructuredGridAlgorithm vtkvmtkMeshLambda2::Superclass |
Definition at line 45 of file vtkvmtkMeshLambda2.h.
|
protected |
Definition at line 38 of file vtkvmtkMeshLambda2.cxx.
|
protected |
Definition at line 48 of file vtkvmtkMeshLambda2.cxx.
|
static |
|
virtual |
|
static |
|
protectedvirtual |
| vtkvmtkMeshLambda2 * vtkvmtkMeshLambda2::NewInstance | ( | ) | const |
|
override |
Definition at line 181 of file vtkvmtkMeshLambda2.cxx.
|
static |
|
virtual |
Set/Get the name of the input point data array holding the (3-component) velocity field. Required before Update() is called.
|
virtual |
Set/Get the name of the input point data array holding the (3-component) velocity field. Required before Update() is called.
|
virtual |
Set/Get the name of the output point data array where the computed lambda2 values are stored. If not set, defaults to "Lambda2".
|
virtual |
Set/Get the name of the output point data array where the computed lambda2 values are stored. If not set, defaults to "Lambda2".
|
virtual |
Toggle computing the individual partial derivatives of the velocity gradient in vtkvmtkUnstructuredGridGradientFilter, rather than only the quantities strictly needed for the gradient tensor. Passed through to the internal gradient filter. Default: off.
|
virtual |
Toggle computing the individual partial derivatives of the velocity gradient in vtkvmtkUnstructuredGridGradientFilter, rather than only the quantities strictly needed for the gradient tensor. Passed through to the internal gradient filter. Default: off.
|
virtual |
Toggle computing the individual partial derivatives of the velocity gradient in vtkvmtkUnstructuredGridGradientFilter, rather than only the quantities strictly needed for the gradient tensor. Passed through to the internal gradient filter. Default: off.
|
virtual |
Toggle computing the individual partial derivatives of the velocity gradient in vtkvmtkUnstructuredGridGradientFilter, rather than only the quantities strictly needed for the gradient tensor. Passed through to the internal gradient filter. Default: off.
|
virtual |
Set/Get the convergence tolerance used by the internal vtkvmtkUnstructuredGridGradientFilter when recovering the point-wise velocity gradient tensor. Default: 1E-6.
|
virtual |
Set/Get the convergence tolerance used by the internal vtkvmtkUnstructuredGridGradientFilter when recovering the point-wise velocity gradient tensor. Default: 1E-6.
|
virtual |
Set/Get the Gauss quadrature order used by the internal vtkvmtkUnstructuredGridGradientFilter when recovering the point-wise velocity gradient tensor. Default: 3.
|
virtual |
Set/Get the Gauss quadrature order used by the internal vtkvmtkUnstructuredGridGradientFilter when recovering the point-wise velocity gradient tensor. Default: 3.
|
virtual |
Toggle forcing the lambda2 value at mesh boundary points to be negative, to suppress spurious vortex-core detections caused by the (typically fixed/no-slip) boundary conditions of the underlying flow simulation. Default: off.
|
virtual |
Toggle forcing the lambda2 value at mesh boundary points to be negative, to suppress spurious vortex-core detections caused by the (typically fixed/no-slip) boundary conditions of the underlying flow simulation. Default: off.
|
virtual |
Toggle forcing the lambda2 value at mesh boundary points to be negative, to suppress spurious vortex-core detections caused by the (typically fixed/no-slip) boundary conditions of the underlying flow simulation. Default: off.
|
virtual |
Toggle forcing the lambda2 value at mesh boundary points to be negative, to suppress spurious vortex-core detections caused by the (typically fixed/no-slip) boundary conditions of the underlying flow simulation. Default: off.
|
overrideprotectedvirtual |
Definition at line 62 of file vtkvmtkMeshLambda2.cxx.
|
protected |
Definition at line 114 of file vtkvmtkMeshLambda2.h.
|
protected |
Definition at line 115 of file vtkvmtkMeshLambda2.h.
|
protected |
Definition at line 117 of file vtkvmtkMeshLambda2.h.
|
protected |
Definition at line 118 of file vtkvmtkMeshLambda2.h.
|
protected |
Definition at line 119 of file vtkvmtkMeshLambda2.h.
|
protected |
Definition at line 120 of file vtkvmtkMeshLambda2.h.