HyperCrash

Database Main Table

Database Main Table

Previous topic Next topic Expand/collapse all hidden text  

Database Main Table

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

The file, $MCRASHDIR/modmng/database_main.tbl defines the path of the different databases:

Two types of databases may be defined:

Private database: just for the user
Public database: for any user

Card 1:

This card defines the type of database and their path:

/MODMNG/DATABASE/type

<full_path>database_name_table.tbl

Where:

 

Type

Unit

MODMNG

is a keyword

Keyword

No

DATABASE

is a keyword

Keyword

No

type

is a keyword which define the type of database:

PRIVATE for the private database
PUBLIC for the common database

Keyword

No

database_name_table.tbl

is the file name (with the full path) of the database table list of each databases

String

No

Several database table can be defined under this keyword line.

Card 3: end of file

/END

Where:

 

Type

Unit

END

Keyword to finish the input.

Keyword

No

hmtoggle_plus1Example

/MODMNG/DATABASE/PRIVATE

$HOME/private_database/private_database_1.tbl

$HOME/private_database/private_database_2.tbl

/MODMNG/DATABASE/PUBLIC

$MCRASHDIR/database/database1.tbl

$MCRASHDIR/database/database2.tbl

$MCRASHDIR/database/database3.tbl

/END

 

Database table file

For each database, there is only one table file (.tbl). This file defines all the sub-models (B00 files) located in the database.

For all the details about the sub-models (file B00), please refer to the B00 Description manual.

Card 1: Database path

/MODMNG/DATABASE/DIRECTORY

directory_path

Where:

 

Type

Unit

MODMNG

is a keyword

Keyword

No

DATABASE

is a keyword

Keyword

No

DIRECTORY

is a keyword

Keyword

No

directory_path

is the default directory path where the sub-model (B00 file) will be stored

String

No

Card 2: model description

/MODMNG/DATABASE/MODEL

/path/File_name

1

2

3

4

5

6

7

8

9

10

Key_1

Key_2

 

 

 

 

 

 

 

Where:

 

Type

Unit

MODMNG

is a keyword

Keyword

No

DATABASE

is a keyword

Keyword

No

MODEL

is a keyword

Keyword

No

File_name

is the file name of the B00 sub-model defined with its full path and/or with the variable, $MCRASHDIR.

String

No

Key_i

is the keyword list used to defined the model. The keywords are defined in the file, $MCRASHDIR/modmng/keyword.tbl

String

No

To write a keyword with more than 8 characters, the character ’@’ will be set at the first position of the next field (See the section Keyword).

Card 3: end of file

/END

Where:

 

Type

Unit

END

Keyword to finish the input.

Keyword

No

hmtoggle_plus1Example

/MODMNG/DATABASE/DIRECTORY

$MCRASHDIR/database/

/MODMNG/DATABASE/MODEL

$MCRASHDIR/database/MODEL01B00

WINDSHIE@LD     FEM     FRONT

$MCRASHDIR/database/MODEL02B00

ENGINE   FEM     FRONT

/END

 

Go to

Model Manager Module Environment File