User Defined Function

Analysis > Boundary Conditions > Advanced > User Defined Function

Description

User Defined Function (UDF) can be used to customize certain capabilities of the AcuSolve solver. The UDF must be a C program and any number of UDFs may be used in a given problem. For the solver to access the UDF, the functions must be complied and linked into a shared library. The AcuSolve scripts acuMakeLib (for Linux) and acuMakeDll (for Windows) may be used for this purpose

Select bodies/faces: The bodies/faces on which the UDF to be applied has to be selected.

Function name: This option is to define the name of function in the C program. This is a mandatory parameter for this tool.

User values: This is one of the arguments for the function. The inputs should be separated by comma. The order of input values should be consistent with the function.

User strings: The string inputs should be separated by comma.
Note: Currently this tool is available only heat flux element boundary condition.