[ SOLVED ] at least for most general cases I found...
OK, (I think) I now have an automated way to deal with code_aster defaults in tied contacts (LIAISON_MAIL).
This now doesn't need manual tweaks in UIs of slave CAD or node sets; and no use of DISTANCE_MAX in tied contact definition.
If we create the slave node set with this syntax 1st (see below); it turns out that the default search distance does use a relative value with respect to the mesh size, which is one of the things we are missing in LIAISON_MAIL defaults.
Then, it doesn't matter by how much the original slave side 'misses' the master side.
# auto-trim slave node sets for tied contacts
DEFI_GROUP(reuse = mesh, MAILLAGE = mesh,
CREA_GROUP_NO = (
_F(
OPTION = "INCLUSION" ,
CAS_FIGURE = "3D",
NOM = 'trim_slv_1_srf',
GROUP_MA = 'slv_1_srf_els',
GROUP_MA_INCL = 'mst_1_srf_els',
## DISTANCE_MAX = 1.1, ## gap + 0.1mm between cubes, IF required.
),
),
);
All tests so far work now, and I don't see the invisible over-constrain on rots DoF, both static moment loads & modal without constraints now nicely give 6 0Hz rigid body modes.
SUMMARY of test models (2 cubes) showing all:
1.- bad_tied_coups_2_cubes.zip
If you open the .dat file, you'll see the reaction moments for LCs 4, 5, 6 totally out. Then modes 4 --> 6 in modal w/out constraints all wrong (over-constrained), as they are not near 0Hz.
2.- auto_tied_coups_2_cubes.zip
Here in .dat file, we see all working perfectly & 6 0Hz modes in modal, without changing anything in the model. Sweet!
3.- auto_gap_tied_coups_2_cubes.zip
Here we have a gap = 1mm between the cubes, it still works, see dist_max in node set creation.
If developers read this, it'd be helpful please, to carry over the logic on defaults you have in command above to the LIAISON_MAIL defaults, or else one can easily get the results wrong in assemblies, and it is not an easy one to spot from 3D contours (or impossible even).
Thanks.