*SetSurface() - user subroutine

Sets the values associated with a surface entity that describes the surface with a user subroutine.

Syntax

*SetSurface(surf_name, USER, `expr`) 
*Set(surf_name.use_local_dll, TRUE|FALSE) 
*Set(surf.local_dll, "string")

Arguments

surf_name
The variable name of the surface which is having its data member set.
Data type: varname
USER
Indicates that the user-written subroutine is used to model the surface.
'expr'
The solver level expression that passes the arguments into the user-defined surface.
Data type: string
surf_name.use_local_dll
Specifies if a user subroutine DLL is specific to the instance of one coupler entity.
Data type: boolean
surf_name.local_dll
The path and filename for the user subroutine DLL to be used with an instance of the user defined coupler.
Data type: string

Example

*SetSurface(surf_0, USER, `USER( 800, array_u, array_v )`)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

Comments

Expressions should be in single quotation marks.