HyperCrash

.mcrash File

.mcrash File

Previous topic Next topic Expand/collapse all hidden text  

.mcrash File

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

Header

The first line of the .mcrash file will be:

#MCRASH_GLOBALFILE

Where:

 

Type

Unit

#MCRASH_GLOBALFILE

is a keyword

Keyword

No

This line will be followed by:

/MODEL/model_title

Where:

 

Type

Unit

MODEL

is a keyword

Keyword

No

model_title

is a name of the model

String

No

Hierarchy: assembly

The hierarchy of the model will be described by the appropriate number of the following lines:

/TREE/ASSEMBLY/assembly_id/assembly_title

Where:

 

Type

Unit

TREE

is a keyword

Keyword

No

ASSEMBLY

is a keyword

Keyword

No

assembly_id

is the identifier number of the assembly

Integer

No

assembly_title

is the name of the assembly

String

No

Card 1:

1

2

3

4

5

6

7

8

9

10

Nbchild

 

 

 

 

 

 

 

 

 

In the following lines we have Nbchild (Integer) representing IDs of Assemblies, Physical Parts, or Subparts.

Card 2:

1

2

3

4

5

6

7

8

9

10

Child1

 

 

 

 

 

 

 

 

Child10

 

 

Child_ Nbchild

 

 

 

 

 

 

/TREE/HPART/hpart_id/NAME

Where:

 

Type

Unit

TREE

is a keyword

Keyword

No

HPART

is a keyword

Keyword

No

hpart_id

is the identifier number of the HPART

Integer

No

NAME

is the name of the HPART

String

No

Note:

It must be the same as the one defined in the corresponding .mesh file.
Two assemblies cannot share the same ID.
One assembly and one physical part cannot share the same ID.
Two physical parts cannot share the same ID.
hmtoggle_plus1Example

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

/TREE/ASSEMBLY/6/SEAT_L_COMP

     25

     58      59      60      61      62      63      64      65      66      67

     68      69      70      71      72      73      74      75      76      77

     78      79      80      81      82

/TREE/HPART/7/STIFF_RR_LWRARM_L

/TREE/HPART/8/MEMBER_ENG_CRADLE

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

 

Theoretical mass of each part

For each physical part, we must have the following line in the file:

/MASS/part_id/mass_value/unit

Where:

 

Type

Unit

MASS

is a keyword

Keyword

No

part_id

is the identifier of the part (HPART or SUBPART)

Integer

No

mass_value

is the mass value of the HPART or SUBPART defined by part_id

Real

Mass

unit

is a keyword which defines the unit and can be:

kg
g
t        ( 1 t = 1000 kg)
hunit        ( 1 hunit = 9800 kg)

String

No

hmtoggle_plus1Example

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

/MASS/1345/12.0567/hunit

/MASS/1365/56.00/g

/MASS/1/.0001/t

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

 

Total Mass and center of gravity

The total theoretical mass of the car must be given to the keyword:

/TOTALMASS/mass_value/unit

/FRONTMASS/mass_value/unit

/REARMASS/mass_value/unit

Where:

 

Type

Unit

TOTALMASS

is a keyword

Keyword

No

FRONTMASS

is a keyword

Keyword

No

REARMASS

is a keyword

Keyword

No

mass_value

is the theoretical mass value

Real

Mass

unit

is a keyword which defines the unit and can be:

kg
g
t        ( 1 t = 1000 kg)
hunit        ( 1 hunit = 9800 kg)

String

No

hmtoggle_plus1Example

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

/TOTALMASS/1650.0000/kg

/FRONTMASS/800.0000/kg

/REARMASS/850.0000/kg

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

 

Center of gravity

The theoretical coordinates of the center of mass are to be defined by the following block:

/CENTERG/unit

Where:

 

Type

Unit

CENTERG

is a keyword

Keyword

No

unit

is a keyword which defined the unit and can be:

kg
g
t        ( 1 t = 1000 kg)
hunit        ( 1 hunit = 9800 kg)

String

No

Card 1:

1

2

3

4

5

6

7

8

9

10

Xg

Yg

Zg

 

 

 

 

Where:

 

Type

Unit

Xg

Are the coordinate values of the center of mass in the global coordinate system.

Real

Length

Yg

Real

Length

Zg

Real

Length

End of the file

End of input data is signalled with:

/END

Where:

 

Type

Unit

END

Keyword to finish the input.

Keyword

No

 

Go to

Spotwelds

Bolts

Glue

Weldline

Hemming

Specific HyperCrash Input Files