element.cfd.presgradient

Syntax

Vector Access

v = element.cfd.presgradient(e<,i>)
element.cfd.presgradient(e<,i>) = v

Get/set the CFD element pressure gradient.

Returns:

v - CFD element pressure gradient vector or component

Accepts:

v - CFD element pressure gradient vector or component

Arguments:

e - CFD element pointer

i - optional vector component

Component Access

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
f = element.cfd.presgradient.y(e)
element.cfd.presgradient.y(e) = f

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

Returns:f - y-component of the CFD element pressure gradient vector
Accepts:f - y-component of the CFD element pressure gradient vector
Arguments:e - CFD element pointer
f = element.cfd.presgradient.z(e)
element.cfd.presgradient.z(e) = f

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

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