Overview | All Modules | Tutorial | User's Guide | Programming Guide

COVISE Online Documentation


Module category: Tools



DerivOperators

DerivOperators works out gradients of scalar fields, or the divergence or curl of vector fields.

DerivOperators_module.png

DerivOperators is available for all COVISE versions on all supported platforms.

Parameters

Name Type Description
whatToDo Choice Options:
  • Gradient: Gradient of a scalar field
  • Divergence: Divergence of a vector field
  • Curl: Curl of a vector field
  • Gradient Magnitude: Magnitude of the gradient of a scalar field

Input Ports

Name Type Description
requiredInGrid UnstructuredGrid input grid
requiredInData Float
Vec3
input data

Output Ports

Name Type Description
outputOutData Float
Vec3
output data

Examples

Figure: covise/net/examples/DerivOperators.net
DerivOperators_map.png

In this example we use data sets from the tutorial. We read in an unstructured grid, a scalar field defined on the nodes (pressure), and a vectex-defined vector field (velocity). In the map we are using two DerivOperator modules in order to calculate and display the gradient of the pressure and the curl of the velocity field. Note that different from the majority of modules, the output of DerivOperators is defined per cell instead of per vertex. As the CuttingSurface module requires vertex-defined data, we have to resort to the CellToVert module in this case.

Below we produce the pressure gradient on a cutting surface and the curl of the velocity field on the same surface.

Figure: Pressure gradient
DerivOperators_grad.png

Figure: Rotational of the velocity
DerivOperators_rot.png

Authors: Martin Aumüller, Ruth Lang, Daniela Rainer, Jürgen Schulze-Döbold, Andreas Werner, Peter Wolf, Uwe Wössner
Copyright © 1993-2022 HLRS, 2004-2014 RRZK, 2005-2014 Visenso
COVISE Version 2021.12