**process gradient#

Description#

Calculate the 2D gradient of a variable with respect to the given direction.

Syntax#

**process gradient dir [ *var var1varN]

dir

should be either X or Y.

*var var1varN

Target variables for gradient computation. By default U1 and U2

The resulting (integ) fields are named graddirvari.

Example#

****post_processing
 ***global_post_processing
  **file node
  **nset ALL_NODE
  **process gradient X
  **process gradient Y

 ***local_post_processing
  **file integ
  **elset ALL_ELEMENT
  **process function
   *output epsilon12
   *expression 0.5*(gradXU2 + gradYU1) ;
****return

**process gradient3D#

Description#

Calculate the 3D gradient of a variable with respect to the given direction.

Syntax#

**process gradient dir … [ dir ] \(~\,\) *var var1 var2 var3

dir

should be either X, Y or Z.

*var var1 var2 var3

Target variables for gradient computation (It can handle 3 and only 3 variables).

The resulting (integ) fields are named graddir vari.

Example#

****post_processing
 ***global_post_processing
  **file node
  **nset ALL_NODE
  **process gradient3D X Y Z
   *var U1 U2 U3
****return