User Function Name Registration uffunc (Fortran)

This section describes the initial registration of a Fortran user function.

The initial registration of a Fortran user function is made with a call in uflib to uffunc:

external func
call uffunc(func, type, name)

func: a reference to the user function (called func in this case).

type: a character string giving the type of the user function, one of the following:

  • ‘BoundaryProfile’
  • ‘RegionProfile’
  • ‘ScalarFieldFunction’
  • ‘VectorFieldFunction’

name: a character string giving the name with which the function is shown as in drop-down lists in Simcenter STAR-CCM+.

The arguments that the user function requires are registered by calling ufarg.