The file, $MCRASHDIR/mcrash_preferences defines the Quality / Contact menu parameters.
/CHECK/INTERSECTIONS/MAX_RATIO_OF_AUTO_MOVED_NODES
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|||||
Ratio |
||||||||||||||
Where: |
|
Type |
Unit |
|||||||||||
|
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 |
/CHECK/INTERSECTIONS/GAP_SEARCH
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|||||
Gap_search |
||||||||||||||
Where: |
|
Type |
Unit |
|||||||||||
|
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. |
/CHECK/INTERSECTIONS/GAP_SEARCH_AFTER_TOGGLE
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|||||
Gap_search |
||||||||||||||
Where: |
|
Type |
Unit |
|||||||||||
|
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. |
/CHECK/INTERSECTIONS/GAP_AFTER_DISINTERSECTION
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|||||
Gap_value |
||||||||||||||
Where: |
|
Type |
Unit |
|||||||||||
|
is the distance of the depenetration after an automatic disintersection. (default = 0.1). |
Real |
Length |
/CHECK/INTERSECTIONS/MAX_NB_CANDIDATES
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|||||
Number_of_candidates |
||||||||||||||
Where: |
|
Type |
Unit |
|||||||||||
|
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 |
/CHECK/INTERSECTIONS/MIN_DISTANCE_FACTOR
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|||||
Factor |
||||||||||||||
Where: |
|
Type |
Unit |
|||||||||||
|
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 |
/CHECK/INTERSECTIONS/AUTO_PREPARE_DISINTERSECTION/keyword
Where: |
|
Type |
Unit |
||
|
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 |
/CHECK/INTERSECTIONS/TRIPLE_EDGES_ARE_CONTOUR/keyword
Where: |
|
Type |
Unit |
||
|
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 |
/CHECK/INTERSECTIONS/PROJECT_ON_BOTH_PARTS/keyword
Where: |
|
Type |
Unit |
||
|
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 |
/CHECK/INTERSECTIONS/PERFORMANCE_TEST/keyword
Where: |
|
Type |
Unit |
||
|
is a flag YES or NO. With YES, a timer for some actions (check of intersections, automatic disintersection) is activated. Default = NO. |
Keyword |
No |
/CHECK/INTERSECTIONS/AUTO_SELECT_NEXT/keyword
Where: |
|
Type |
Unit |
||
|
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 |
/CHECK/INTERSECTIONS/INTERFACE_TYPE_IF_PARTS_CHECKED/type
Where: |
|
Type |
Unit |
||||||
|
is a keyword which defines which interface type will be displayed in the disintersection window:
Default = Type_7 |
Keyword |
No |
/CHECK/INTERSECTIONS/DISPLAY_LINEGROUPS/keyword
Where: |
|
Type |
Unit |
||
|
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 |
/CHECK/INTERSECTIONS/EPSILON_PARALLELISM
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|||||
Limit |
||||||||||||||
Where: |
|
Type |
Unit |
|||||||||||
|
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 |
/CHECK/DEPENETRATOR/SMOOTH
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|||||
Number_of_cycles |
||||||||||||||
Where: |
|
Type |
Unit |
|||||||||||
|
is the number of cycles for the smoothing function. Recommended value = 3 |
Integer |
No |
/CHECK/DEPENETRATOR/GAP_PART_CHECK
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|||||
Gap_default |
||||||||||||||
Where: |
|
Type |
Unit |
|||||||||||
|
is the gap which is used for the penetration check of the "Tree selection". Negative values mean "variable gap". Default = -1 |
Real |
No |
/CHECK/DEPENETRATOR/Gap_mini
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|||||
Gap_mini |
||||||||||||||
Where: |
|
Type |
Unit |
|||||||||||
|
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 |
/CHECK/DEPENETRATOR/GAP_PARAMETERS
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|||||
a |
b |
|
||||||||||||
Where: |
|
Type |
Unit |
|||||||||||
|
Is a multiplier of the defined interface gap (default = 1) |
Real |
No |
|||||||||||
|
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
/CHECK/DEPENETRATOR/SHOW_GAP_PARAMETERS/Flag
Where: |
|
Type |
Unit |
||
|
Yes: The gap parameters option will be displayed. No: The gap parameters option will not be displayed. |
Keyword |
No |
/CHECK/DISINT_DEPEN/MAX_DISPLACEMENT
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|||||
Limit_good |
Limit_bad |
|
||||||||||||
Where: |
|
Type |
Unit |
|||||||||||
|
All the penetrations with a value higher than Limit_good will be displayed in orange. |
Real |
Length |
|||||||||||
|
All the penetrations with a value higher than Limit_bad will be displayed in red. |
Real |
Length |
/END
Where: |
|
Type |
Unit |
||
|
Keyword to finish the input. |
Keyword |
No |
/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 |