HyperCrash

Spotweld File Format Description

Spotweld File Format Description

Previous topic Next topic No expanding text in this topic  

Spotweld File Format Description

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

This document describes all the spotweld file formats that HyperCrash is able to read.  If you need another specific format, please contact: hwsupport@altair.com

HyperCrash spotweld file

This is a text file with the following cards.  HyperCrash is able to import and export this spotweld file format.

Card 1: spotweld

/SPOTWELD/Nb_part/id

Where:

 

Type

Unit

•SPOTWELD

is a keyword

Keyword

No

•Nb_part

is the number of part or subpart to weld (Integer < 6)

Integer

No

•id

is the identifier number of the spotweld

Integer

No

Card 2: coordinates

1

2

3

4

5

6

7

8

9

10

x_I

y_I

z_I

 

 

 

 

Where:

 

Type

Unit

•x_I

Global Coordinates of points defining the position of the spotweld for each part or subpart to weld: one Card for each point. Nbpoint card has to be defined.

Real

Length

•y_I

Real

Length

•z_I

Real

Length

Card 3: Part ID or subpart ID

1

2

3

4

5

6

7

8

9

10

part_1

..

..

 

part_Nbpoint

 

 

 

 

 

Where:

 

Type

Unit

•part_I

is the identifiers number of the parts to weld

Integer

No

Card 4:

/END

Where:

 

Type

Unit

•END

Keyword to finish the input.

Keyword

No

Example:

#--1---|---2---|---3---|---4---|---5---|---6---|---7---|---8---|---9---|--10---|

/SPOTWELD/2/3

       -678.822        -449.455          301.25

       -678.822        -449.455          301.25

      1       2

#--1---|---2---|---3---|---4---|---5---|---6---|---7---|---8---|---9---|--10---|

/END

User file format 1:.mwf

Id_spotweld::nb_plate::x_coord::y_coord::z_coord::Id_prop_1::Id_prop_2::…

Where:

 

Type

Unit

•Id_spotweld

is the identifier number of the spotweld

Integer

No

•nb_plate

is the number of parts to weld

Integer

No

•x_coord

is the x coordinate of the spotweld

Real

Length

•y_coord

is the y coordinate of the spotweld

Real

Length

•z_coord

is the z coordinate of the spotweld

Real

Length

•Id_prop_i

is the property identifier of the part to weld (2 < i < 5)

Integer

No

•:: (comma)

is the field separator

Character

No

HyperCrash will try to weld the parts linked to the defined property (up to five properties).

Example:

1016::3::2094.178500::-778.072000::781.493150::500::500::125

User file format 2: .mwf

Id_spotweld,x_coord,y_coord,z_coord,Id_prop_1,Id_prop_2,…

Where:

 

Type

Unit

•Id_spotweld

is the identifiers number of the spotweld

Integer

No

•x_coord

is the x coordinate of the spotweld

Real

Length

•y_coord

is the y coordinate of the spotweld

Real

Length

•z_coord

is the z coordinate of the spotweld

Real

Length

•Id_prop_i

is the property identifier of the part to weld (2 < i < 5) (optional)

Integer

No

•, (comma)

is the field separator

Character

No

Example:

62016,2094.178500,-778.072000,781.493150,1234,6423,4654

 

62016,1024.13543,-458.0,12.34653

User file format 3: .csv

SPOT,Id_spotweld,nb_plate,x_coord,y_coord,z_coord,Id_prop_1,Id_prop_2,…

Where:

 

Type

Unit

•SPOT

is a keyword

Keyword

No

•Id_spotweld

is the identifier number of the spotweld

Integer

No

•nb_plate

is the number of parts to weld

Integer

No

•x_coord

is the x coordinate of the spotweld

Real

Length

•y_coord

is the y coordinate of the spotweld

Real

Length

•z_coord

is the z coordinate of the spotweld

Real

Length

•Id_prop_i

is the property identifier of the part to weld (2 < i < 5)

Integer

No

•, (comma)

is the field separator

Character

No

Example:

SPOT,62016,2,2094.178500,-778.072000,781.493150,1265,7532,

SPOT,62016,3,2045.176700,-798.120400,657.486350,1264,7632,18654,