****simulate#

Description#

This command marks the beginning of a simulator calculation definition. The Z-set program in simulation mode (-S switch) will search this command and interpret all the sub-commands until the next **** level command is reached. More than one simulation block may be included in the input file, which are accessed using the -N <num> command line option.

Syntax#

The simulation accepts the following syntax for the problem definition:

****simulate \(~\,\) ***test test_name \(~\,\) ... \(~\,\) ***model model definition \(~\,\) ***solver solver-type_name \(~\,~\,~\,~\,\) solver options ****return

The definition of a ***test is used to specify particular tests to simulate. The tests will be run through in the order of their appearance, using the default output file prefix of test_name. The test test_name is required.

In each test, different loading conditions, output, models, etc may be defined. See the following pages for these commands and their syntax.

Options ***model and ***solver are available as a means to change the default model definition and the default solver method. It can be a great convenience to define these at the ***-level in simulations where there are many tests of the same material. The command syntax for ***model is the same as in the ***test section (see model and solver). Note that this includes the *-level.

Example#

The following is an example of a complete simulation file with a single test definition. See the following pages for descriptions of the individual commands.

****simulate
  ***test funny     % define a test name which defines the default output
   **load           % start the loading section
    *segment 100    % 100 outputs per load segment below
             time     sig11 eto22 sig33 eto12 sig23 sig31
             0.0      0.    0.    0.    0.    0.    0.
             1.0      0.    1.e-3 0.    0.    0.    0.
             2.0      0.    1.e-3 0.    .5e-3 0.    0.
             3.0      0.    1.e-3 0.   -.5e-3 0.    0.
             4.0      0.   -1.e-3 0.   -.5e-3 0.    0.
             5.0      0.   -1.e-3 0.    .5e-3 0.    0.
   **model                            % standard model definition with
     *file funny.mat                  % integration, file name, rotation
     *integration runge_kutta 1.e-3   % and other options
   **yield_surface yield0.test        % make a yield surface output
     *degrees   5.
     *eps       1.e-12
     *component sig22 sig12
     *time      5.0
   **output                           % the default ascii file for output
     time eto22 sig22 eto12 sig12     % is funny.test (from above ***test def).
****return