element.cfd.presgradient

Syntax

v = element.cfd.presgradient(e)
element.cfd.presgradient(e) = v

Get/set the CFD element pressure gradient.

Returns:v - CFD element pressure gradient vector
Accepts:v - CFD element pressure gradient vector
Arguments:e - CFD element pointer

Component Access

f = element.cfd.presgradient (e)->x
element.cfd.presgradient (e)->x = f

f = element.cfd.presgradient.x(e)
element.cfd.presgradient.x(e) = f

Get/set the x-component of the CFD element pressure gradient.

Returns:f - x-component of the CFD element pressure gradient vector
Accepts:f - x-component of the CFD element pressure gradient vector
Arguments:e - CFD element pointer

Access other vector components (y, z (3D ONLY)) by substituting the component name where x appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding an optional integer in the function arguments (e.g., f = element.cfd.presgradient(e, 3)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f = element.cfd.presgradient.y(e)
f = element.cfd.presgradient.z(e) (3D ONLY)