zone.model.init

Syntax

i := zone.model.init(z)

Initializes all constitutive models (mechanical, fluid, and thermal) assigned to the zone. This recalculates intermediate values based on the current properties. This may be necessary if property values are changed during cycling.

Note that mechanical constitutive models should recalculate intermediate stored values automatically when properties change.

This does not perform an update of values depending on stiffness or density; see the zone.force.update intrinsic.

Returns:

i - always returns the integer 0

Arguments:

z - a pointer to a zone