B.2. Mesh Morpher/Optimizer File Formats

This section describes the format of the ASCII text files that can be used as part of the setup for the mesh morpher/optimizer, as described in Using the Mesh Morpher/Optimizer.

The following is an example of a file that can be read or written from the Define Control Points Dialog Box:

Control Point Positions
CP No.	       X            Y             Z
1             0.73398191   -0.048181638  5.0344162
2             0.51003051   0.52833155    5.100265
3             0.10806149   0.72560567    5.1306067
4             -0.37284759  0.62890923    5.1368165
5             -0.69803506  0.21491928    5.144598

The following is an example of a file that can be read or written from the Motion Settings Dialog Box when Regular is selected from the Control Point Distribution list in the Regions tab of the Mesh Morpher/Optimizer Dialog Box:

Reg     CP      Par      X       Y       Z
def-0   2       par1     -1      0       0	
def-0   4       par1     2       -1      3	
def-0   2       par2     0       1       0	
def-1   2       par3     0       0       1	
def-1   3       par1     2       0       2

The following is an example of a file that can be read or written from the Motion Settings Dialog Box when Unstructured is selected from the Control Point Distribution list in the Regions tab of the Mesh Morpher/Optimizer Dialog Box:

Motion Definition
Name        Type        Par         Dir-x       Dir-y       Dir-z       Orig-x      Orig-y      Orig-z
rad-par1-1  Rad         par-1       0           0           1           0           0           0
tra-par2-1  Trans       par-2       1           1           1
rot-par3-1  Rot         par-3       1           0           0           2           1           1

Assignment to Control Points
Name        Control Points...
rad-par1-1  1           2           3           4           5           6           7

When creating or editing a text file used to set up the mesh morpher/optimizer, note the following:


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