Processor user subroutines

<< Click to Display Table of Contents >>

Navigation:  Users manual > Subroutines > User subroutines >

Processor user subroutines

Processor applications have some differences from post-processor subroutines. First, such a subroutine performs the computations during the simulation, which affects the final results. Second, there are differences in the structure of the subroutine. In QForm UK there are two types of processor subroutines that are used to specify the flow stress resistance of the workpiece material (FlowStress()) or friction Law for lubricants (FrictionStress()).

Processor subroutines may contain computations of user fields, these fields are declared in the function UserFields(), which works as described in previous chapter. All user's fields will be viewable by standard means, and can be used as arguments to the functions FlowStress()and FrictionStress().

important

Important

The computations of the function UserFields() in processor subroutines execution have the following features:

Only these variables: t, dt, strain, x, y, z have the current value;

Current values ofother variables are equal to the previous values. For example strain_rate = prev_strain_rate.

hmtoggle_arrow1Flow Stress.
hmtoggle_arrow1Friction Law