HyperCrash

Intersections / Penetrations Criteria

Intersections / Penetrations Criteria

Previous topic Next topic Expand/collapse all hidden text  

Intersections / Penetrations Criteria

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

The file, $MCRASHDIR/mcrash_preferences defines the Quality / Contact menu parameters.

Parameters for intersection

Card 1:

/CHECK/INTERSECTIONS/MAX_RATIO_OF_AUTO_MOVED_NODES

1

2

3

4

5

6

7

8

9

10

Ratio

Where:

 

Type

Unit

Ratio

defines the maximum percentage of nodes from one part that HyperCrash is allowed to move automatically to correct the same intersection (default is 0.1 = 10%).

Real

No

Card 2:

/CHECK/INTERSECTIONS/GAP_SEARCH

1

2

3

4

5

6

7

8

9

10

Gap_search

Where:

 

Type

Unit

Gap_search

defines the box to search the intersection (default = 1).

Real

Length

Caution: It is dangerous for the quality of the mesh to have a value for Gap_search that is too high. This can cause memory trouble in the Disintersector and an abort of HyperCrash. The Gap_search should be much smaller than the minimum element size.

Card 3:

/CHECK/INTERSECTIONS/GAP_SEARCH_AFTER_TOGGLE

1

2

3

4

5

6

7

8

9

10

Gap_search

Where:

 

Type

Unit

Gap_search

defines the box to search the intersection when using the toggle function (default = 2).

Real

Length

This option is only active if GAP_SEARCH_AFTER_TOGGLE is bigger than Gap_search. Thus, the Semiautomatic Disintersector can propose new positions for nodes, which are not moved by the Automatic Disintersector, because their distance to the next element is too long.

Caution:The same warning as for Gap_search applies. GAP_SEARCH_AFTER_TOGGLE should not be bigger than the average element size.

Card 4:

/CHECK/INTERSECTIONS/GAP_AFTER_DISINTERSECTION

1

2

3

4

5

6

7

8

9

10

Gap_value

Where:

 

Type

Unit

Gap_value

is the distance of the depenetration after an automatic disintersection. (default = 0.1).

Real

Length

Card 5:

/CHECK/INTERSECTIONS/MAX_NB_CANDIDATES

1

2

3

4

5

6

7

8

9

10

Number_of_candidates

Where:

 

Type

Unit

Number_of_candidates

defines the size of the memory allocation during the depenetration (default = -4).

If Number_of_candidates is positive: the number of candidate value will increase one by one if necessary.

If Number_of_candidates is negative: the number of candidate value will be doubled if necessary.

Real

No

Card 6:

/CHECK/INTERSECTIONS/MIN_DISTANCE_FACTOR

1

2

3

4

5

6

7

8

9

10

Factor

Where:

 

Type

Unit

Factor

is a multiplier of the Gap value for the automatic preliminary node displacement. This factor must be defined strictly between 0 and 1. (default = 0.001).

If the value is lower than 0, no automatic preliminary displacement will be done.

Real

No

Card 7:

/CHECK/INTERSECTIONS/AUTO_PREPARE_DISINTERSECTION/keyword

Where:

 

Type

Unit

keyword

is a flag YES or NO which allows to compute propositions for a disintersection directly after an intersection check.

Default = YES.

In case HyperCrash fails during the disintersection proposal computation, set the keyword to NO.

Keyword

No

Card 8:

/CHECK/INTERSECTIONS/TRIPLE_EDGES_ARE_CONTOUR/keyword

Where:

 

Type

Unit

keyword

is a flag YES or NO. This option allows the use of triple edges as part contour. The automatic disintersection then works better. The option is active for parts of shell elements only, not for parts of solids.

Default = YES.

Keyword

No

Card 9:

/CHECK/INTERSECTIONS/PROJECT_ON_BOTH_PARTS/keyword

Where:

 

Type

Unit

keyword

is a flag YES or NO. With YES, all elements (segments) of the two intersecting parts are used for the projection of the nodes "on the wrong side." With NO, the nodes are only projected on the segments of one of the parts.

Default = YES.

Keyword

No

Card 10:

/CHECK/INTERSECTIONS/PERFORMANCE_TEST/keyword

Where:

 

Type

Unit

keyword

is a flag YES or NO. With YES, a timer for some actions (check of intersections, automatic disintersection) is activated.

Default = NO.

Keyword

No

Card 11:

/CHECK/INTERSECTIONS/AUTO_SELECT_NEXT/keyword

Where:

 

Type

Unit

keyword

is a flag YES or NO. If YES: The next part couple is selected automatically. This option reduces the number of user actions (mouse clicks). If NO: The next part couple is not selected automatically.

Default = YES.

Keyword

No

Card 12:

/CHECK/INTERSECTIONS/INTERFACE_TYPE_IF_PARTS_CHECKED/type

Where:

 

Type

Unit

type

is a keyword which defines which interface type will be displayed in the disintersection window:

Type_7
Type_7_AND_11

Default = Type_7

Keyword

No

Card 13:

/CHECK/INTERSECTIONS/DISPLAY_LINEGROUPS/keyword

Where:

 

Type

Unit

keyword

Is a keyword YES or NO. If YES, a first column with the number of intersections (that is, groups of connected intersection lines) for each couple of intersecting parts is displayed. At the same time, a "spin-button" type selector is displayed which allows the showing of all the intersection lines (of a part couple) at the same time, or only one group of connected intersection lines at a time.

Keyword

No

Card 14:

/CHECK/INTERSECTIONS/EPSILON_PARALLELISM

1

2

3

4

5

6

7

8

9

10

Limit

Where:

 

Type

Unit

Limit

Is the minus value of the normal direction of two intersected segment. If the value < Limit, then the segments are parallel. Intersection is not computed. If the value > Limit, then the segments are not parallel. Intersection is computed.

Default = 1e-10.

Real

No

 

Parameters for penetrations

Card 15:

/CHECK/DEPENETRATOR/SMOOTH

1

2

3

4

5

6

7

8

9

10

Number_of_cycles

Where:

 

Type

Unit

Number_of_cycles

is the number of cycles for the smoothing function.

Recommended value = 3

Integer

No

Card 16:

/CHECK/DEPENETRATOR/GAP_PART_CHECK

1

2

3

4

5

6

7

8

9

10

Gap_default

Where:

 

Type

Unit

Gap_default

is the gap which is used for the penetration check of the "Tree selection".  Negative values mean "variable gap".

Default = -1

Real

No

Card 17:

/CHECK/DEPENETRATOR/Gap_mini

1

2

3

4

5

6

7

8

9

10

Gap_mini

Where:

 

Type

Unit

Gap_mini

is the minimum gap which is used for the penetration check of the "Tree selection" if it is checked with variable gap.

Default = 0.000001

Real

Length

Card 18:

/CHECK/DEPENETRATOR/GAP_PARAMETERS

1

2

3

4

5

6

7

8

9

10

a

b

 

Where:

 

Type

Unit

a

Is a multiplier of the defined interface gap (default = 1)

Real

No

b

Is an additional value to the defined interface gap (default = 0)

Real

Length

These parameters are used to compute the depenetration gap with the following equation:

gap_for_depenetration = gap_defined_interface * a + b

Parameters for window setting

Card 19:

/CHECK/DEPENETRATOR/SHOW_GAP_PARAMETERS/Flag

Where:

 

Type

Unit

Flag

Yes: The gap parameters option will be displayed.

No: The gap parameters option will not be displayed.

Keyword

No

Card 20:

/CHECK/DISINT_DEPEN/MAX_DISPLACEMENT

1

2

3

4

5

6

7

8

9

10

Limit_good

Limit_bad

 

Where:

 

Type

Unit

Limit_good

All the penetrations with a value higher than Limit_good will be displayed in orange.

Real

Length

Limit_bad

All the penetrations with a value higher than Limit_bad will be displayed in red.

Real

Length

Other cards

Card 21:

/END

Where:

 

Type

Unit

END

Keyword to finish the input.

Keyword

No

hmtoggle_plus1Example

/CHECK/INTERSECTIONS/MAX_RATIO_OF_AUTO_MOVED_NODES

0.1

/CHECK/INTERSECTIONS/GAP_SEARCH

5.0

/CHECK/INTERSECTIONS/GAP_SEARCH_AFTER_TOGGLE

20.0

/CHECK/INTERSECTIONS/GAP_AFTER_DISINTERSECTION

0.1

/CHECK/INTERSECTIONS/MIN_DISTANCE_FACTOR

0

/CHECK/INTERSECTIONS/DISINTERSECT_LINE_BY_LINE/YES

/CHECK/INTERSECTIONS/MAX_NB_CANDIDATES

#-60

-4

/CHECK/INTERSECTIONS_DISPLAY/INTERFACE_TYPE_IF_PARTS_CHECKED/TYPE_7_AND_11

/CHECK/INTERSECTIONS/TRIPLE_EDGES_ARE_CONTOUR/YES

/CHECK/DEPENETRATOR/SMOOTH

#10

3

#/CHECK/DEPENETRATOR/NB_NORMAL_CYCLES

#3

/CHECK/DEPENETRATOR/GAP_MIN

0.1

/CHECK/DEPENETRATOR/SHOW_GAP_PARAMETERS/YES

/CHECK/DISINT_DEPEN/MAX_DISPLACEMENT

#- limit good -|- limit bad   -|

            0.5             2.0

/END

 

Go to

Main Module Environment File Description