Return the initial condition nodal coordinates for the nodal boundary condition at the auxiliary nodes.


auxCrd = udfGetNbcAuxRefCrd( udfHd ) ;


AcuSolve User-Defined Nodal Boundary Condition


The opaque handle (pointer) which was passed to the user function.

Return Value

auxCrd (Real*)
Pointer to three dimensional real array of reference nodal coordinates at the auxiliary nodes. The first (fastest) dimension of the array is the number of nodes, nItems, the second dimension is the number of auxiliary nodes, nAuxs, and the third (slowest) dimension is three, for the x, y and z coordinates. If nAuxs is one, then the array may be treated as two dimensional.


This routine returns the initial condition nodal coordinates at the auxiliary nodes. If mesh displacement is active, the returned coordinates include the initial conditions for the mesh displacement; that is, the initial deformed configuration. For example,
Real* auxCrd ;
Real x, y, z ;
Integer node ;
udfCheckNbcNumAuxs( udfHd, 1 ) ;
auxCrd = udfGetNbcAuxRefCrd( udfHd ) ;
for ( node = 0 ; node < nItems ; node++ ) {
  x = auxCrd[0*nItems+node] ;
  y = auxCrd[1*nItems+node] ;
  z = auxCrd[2*nItems+node] ;


  • This routine expects a valid udfHd.
  • This routine may only be called within a Nodal Boundary Condition user function.
  • The corresponding command must have a valid auxiliary_nodes parameter.