# Simcenter 3D Solutions Simcenter 3D Motion - Variable Print Interval

2023-07-07T13:10:59.000-0400
Simcenter 3D

## Summary

About defining a variable print interval (or variable sampling frequency) in Simcenter 3D Motion, using a print interval profile (or print interval curve).

## Introduction

In the context of Motion Simulations, a Solution Print Interval (or results sampling frequency) will most of the time be set as a constant value, either through a Fixed Print Interval value (e.g. 0.001s) or through a Number of Steps (e.g. 1000).

Another option for setting the Print Interval is the Variable Print Method, which can be used to control the output and often skip printing results until some special time or event in a simulation then printing results.

This option is particularly useful in case of complex simulations where a tight sampling rate is needed for certain time periods, whilst other periods can be ignored by using a larger sampling rate, thus reducing the size of the output Motion results (*.mres file).

It is important to note that the Print Interval (Fixed or Variable) does not influence the computation (solving) of the solution, and only has an effect on how often the results are written.

These options can be set through the Solution menu, in the Analysis Options page, by first selecting the Print Interval Definition, that can be:

• Fixed Number of Steps
• Fixed Print Interval
• Variable Print Interval
• Speed Sweep

When the Print Interval Definition is set as Variable Print Interval, the latter one will be defined using a Print Interval Profile (XY Curve).

## Print Interval Profile

The Print Interval Profile is an XY curve with the X values being the time at which to modify the print interval and the Y values are the corresponding print intervals.

As an example, let's look at a Print Interval Profile defined as follows:

Time (s)Print Interval Value (s)
00.5
10.05
20.001
30.001

In Simcenter 3D Motion, such a Print Interval can be quickly defined using a Manual Input Profile (Fig. 1):

#### Fig. 1: Print Interval Profile definition using a Manual Input Profile.

This print interval profile would translate as follows:

• Starting with t = 0s, the print interval has a value of 0.5s.
• At t = 1s, the print interval is changed to 0.05s.
• At t = 2s, the print interval is changed to 0.001s.
• At t = 3s, the print interval remains 0.001s.

Note that the print interval is taken as discrete values defined at the X time value and remains unchanged until the next X value. In our example, between t = 0-1s, the print interval will have a constant value of 0.5s

## Variable Print Interval example

To illustrate how a Variable Print Interval affects results in terms of their sampling rate, we will look at a simple model with two masses, connected to each other and to the ground using springs and dampers. A load is applied vertically (downwards) on Mass2, and gravity is ignored (Fig. 2):

#### Fig. 2: Two Mass Spring Damper system.

As baseline, we will look at how the system reacts, with a Fixed Print Interval of 0.001s (Fig. 3):

#### Fig. 3: Mass2, relative Z-displacement with print interval = 0.001s.

In a cloned Solution, we will now make use of the previously defined Print Interval Profile to define a Variable Print Interval instead of a Fixed one (Fig. 4).

#### Fig. 4: Solution Variable Print Interval Definition.

Comparing the new set of results (variable print) with the original results (fixed print) will show the effects of the variable print interval on the results extraction. (Fig. 5)

## Note on Integration Step

It is important to note that although the Print Interval does not affect the solving (computation) process, the value of the Print Interval can change the value of the Maximum Integration Step.

The value of the Maximum Integration Step will take the Print Interval value when the initial Max. Integration Step (from Solution: Dynamic Properties) is greater than the Print Interval value.

SummaryDetails

### Associated Components

Acoustics Additive Manufacturing Assembly FEM Correlation and Updating Durability Electromagnetics (High Frequency) Electromagnetics (Low Frequency) Flexible Pipe Laminate Composites Margin of Safety Motion Multiphysics NX Open Nonlinear Optimization Pre/Post Response Dynamics Rotor Dynamics Samcef Environment Simulation Process Management Thermal / Flow