43. postproc — Postprocessing functions

Postprocessing functions

Postprocessing means collecting a geometrical model and computed values from a numerical simulation, and render the values on the domain.

Classes defined in module postproc

Functions defined in module postproc

postproc.niceNumber(f, approx=<ufunc 'floor'>)

Returns a nice number close to but not smaller than f.

postproc.argNearestValue(values, target)

Return the index of the item nearest to target.

values: a list of float values

target: a single value

Return value: the position of the item in values values that is nearest to target.

postproc.nearestValue(values, target)

Return the item nearest to target.

values: a list of float values

target: a single value

Return value: the item in values values that is nearest to target.

postproc.frameScale(nframes=10, cycle='up', shape='linear')

Return a sequence of scale values between -1 and +1.

nframes : the number of steps between 0 and -1/+1 values.

cycle: determines how subsequent cycles occur:

'up': ramping up

'updown': ramping up and down

'revert': ramping up and down then reverse up and down

shape: determines the shape of the amplitude curve:

'linear': linear scaling

'sine': sinusoidal scaling

Documentation

Previous topic

42. fe_post — A postprocessor for ABAQUS output files.

Next topic

44. lima — Lindenmayer Systems

This Page