'neigh' <set> <tol> ['abq'|'ans'|'nas'] ->
           ['con' ['tie']|[[<stiffness>] [<mue>]]]|
           ['equ' [<dofs('t'|'1-6')..> 'c'|'u'..]|
           ['tie' ['yes']]|
           ['nsc' ['tie']|[[<stiffness>] [<mue>]]]
This keyword is used to find neighboring element faces (and nodes) which can be used in a contact formulation. So far *TIE, *CONTACT PAIR, or *EQUATION formulations for abaqus and ccx are availabe but only equations for ansys and nastran. It will search for disjunct meshes and generates sets storing the faces of this meshes with setnames starting with '+CF'. The neighboring element faces are stored in additional sets which reference this meshes. The name of such a set consist of three parts. The first part of the name is just one character indicating if it is to be used at the dependent 'D' or independent 'I' side. The second part references the set containing the dependent faces, the third references the neighbor (the leading '+' of the basic sets are neglected). For example:
includes the faces and nodes of '+CF2' which are close to '+CF4' were '+CF2' should be the dependent side. All sets for which no partner could be found are stored in set '+UNCON'.

The cgx writes equations connecting both sets when using the optional parameter 'equ':

neigh all 0.1 abq equ

But the recommended method is using 'tie', 'con' or 'nsc' which write the ccx command *TIE;

neigh all 0.1 abq tie


neigh all 0.1 abq con 1e6 0.2

In this example the value 1e6 is used as normal contact stiffness (1/100 of that will be used as tangential stiffnes) and 0.2 as friction coefficient. The parameter 'con' defines surface to surface contact and 'nsc' node to surface contact. If the user does not provide values for stiffness and mue the cgx does not write *SURFACE INTERACTION, *SURFACE BEHAVIOR and *FRICTION commands. If instead of a stiffness 'tie' is given then a tied contact is formulated:

neigh all 0.1 abq con tie

Since ccx regards no gap criterion to exclude faces which are not in contact the surface sets must be defined more restricted for the 'con tie' option. Because of that some close faces might not be included in the contact sets. REMARK: Option TIED with node to surface contact does not work so far, so an alternative method is recomended:

Instead of PRESSURE-OVERCLOSURE=TIED the cgx writes PRESSURE-OVERCLOSURE=LINEAR with a normal and tangential stiffness of 1e7. To prevent a sliding contact mue is set to 1e30. The user should run his calculation in the following way:

** generate springs
** use the springs w/o updating them                  
** either:
** or:                   
** either:
** or:                   

The *TIE commands use the parameter ADJUST=NO for robustness (might be overruled when using as a last parameter 'yes'):

neigh all 0.1 tie yes

The user should check his calculation for unrealistic high stresses at the junctions and eventually change the formulation on such locations to ADJUST=YES. If the calculation does not run anymore he might modify the mesh locally or use the 'equ' option for that location.

The necessary ccx contact commands and the set definitions are written when using the parameter 'tie', 'nsc' or 'con'. The single files storing the sets might be bundeled into one file with:

cat CF* >| all.inp

This file and the file with the *TIE or *CONTACT formulations are then referenced in the ccx input file with *INCLUDE commands:

*INCLUDE, input=all.inp
*INCLUDE, input=neigh.con
When using the 'equ' option just one file has to be generated and used in ccx:
*INCLUDE, input=all.inp

It should be mentioned that the option 'equ' uses actually the same functionality as the command “send” with parameter 'areampc'. In consequence all the functionality of that command is usable. A closer description of the available options can be found in that section. For example the last parameter 'u' prevents the adaption of the position of the dependent nodes.

The command writes the setnames of the dependent and independent face pairs to the ”stack”.