SMOOTH

SMOOTH, Vect1, Vect2, DATAP, FITPT, Vect3, Vect4, DISP
Allows smoothing of noisy data and provides a graphical representation of the data.

Compatible Products: – | Pro | Premium | Enterprise | Ent PP | Ent Solver | –

Vect1

Name of the first vector that contains the noisy data set (i.e., independent variable). You must create and fill this vector before issuing SMOOTH.

Vect2

Name of the second vector that contains the dependent set of data. Must be the same length as the first vector. You must create and fill this vector before issuing SMOOTH.

DATAP

Number of data points to be fitted, starting from the beginning of the vector. If left blank, the entire vector will be fitted. The maximum number of data points is 100,000 (or greater, depending on the memory of the computer).

FITPT

Order of the fitting curve that will be used as a smooth representation of the data. This number should be less than or equal to the number of the data points. Default (blank) is one-half the number of data points. Maximum number of smoothed data fitting order is the number of data points up to 50. Depending on this number, the smoothed curve will be one of the following:

1

 — 

Curve is the absolute average of all of the data points.

2

 — 

Curve is the least square average of all of the data points.

3 or more

 — 

Curve is a polynomial of the order (n-1), where n is the number of data fitting order points.

Vect3

Name of the vector that contains the smoothed data of the independent variable. This vector should have a length equal to or greater than the number of smoothed data points. In batch (command) mode, you must create this vector before issuing the SMOOTH command. In interactive mode, the GUI automatically creates this vector (if it does not exist). If you do not specify a vector name, the GUI will name the vector smth_ind.

Vect4

Name of the vector that contains the smoothed data of the dependent variable. This vector must be the same length as Vect3. In batch (command) mode, you must create this vector before issuing the SMOOTH command. In interactive mode, the GUI automatically creates this vector (if it does not exist). If you do not specify a vector name, the GUI will name the vector smth_dep.

DISP

Specifies how you want to display data. No default; you must specify an option.

1

 — 

Unsmoothed data only

2

 — 

Smoothed data only

3

 — 

Both smoothed and unsmoothed data

Notes

You can control the attributes of the graph using standard ANSYS controls (/GRID, /GTHK, /COLOR, etc.). If working interactively, these controls appear in this dialog box for convenience, as well as in their standard dialog boxes. You must always create Vect1 and Vect2 (using *DIM) and fill these vectors before smoothing the data. If you're working interactively, ANSYS automatically creates Vect3 and Vect4, but if you're working in batch (command) mode, you must create Vect3 and Vect4 (using *DIM) before issuing SMOOTH. Vect3 and Vect4 are then filled automatically by ANSYS. In addition, ANSYS creates an additional TABLE type array that contains the smoothed array and the unsmoothed data to allow for plotting later with *VPLOT. Column 1 in this table corresponds to Vect1, column 2 to Vect2, and column 3 to Vect4. This array is named Vect3_SMOOTH, up to a limit of 32 characters. For example, if the array name is X1, the table name is X1_SMOOTH.

This command is also valid in PREP7 and SOLUTION.

Menu Paths

Main Menu>Preprocessor>Loads>Define Loads>Settings>Replace vs Add>Smooth Data
Main Menu>Preprocessor>LS-DYNA Options>Loading Options>Smooth Data
Main Menu>Solution>Define Loads>Settings>Replace vs Add>Smooth Data
Main Menu>Solution>Loading Options>Smooth Data
Main Menu>TimeHist Postpro>Smooth Data

Release 18.2 - © ANSYS, Inc. All rights reserved.