udfGetOriData()

Return data from an integrated radiation surface output set.

Syntax

oriData = udfGetOriData( udfHd, setName, dataName ) ;

Type

AcuSolve User-Defined Function Global

Parameters
udfHd
The opaque handle (pointer) which was passed to the user function.
setName (string)
Name of the RADIATION_SURFACE set.
dataName (integer)
Symbolic name of the requested data.
UDF_ORI_AREA
Total area.
UDF_ORI_HEAT_FLUX
Total radiation heat flux.
UDF_ORI_TEMPERATURE
Average temperature.
UDF_ORI_MEAN_RADIANT_TEMPERATURE
Mean radiant temperature.

Return Value

oriData (real)
Pointer to one-dimensional real array of the requested data. The dimension of the array is 1 for all values of dataName.

Description

This routine returns data from an integrated radiation surface output set. For example,
Real* oriData ;
Real area, heat_flux ;
...
oriData = udfGetOriData( udfHd, "car body", UDF_ORI_AREA ) ;
area = oriData[0] ;
...
oriData = udfGetOriData( udfHd, "car body", UDF_ORI_HEAT_FLUX ) ;
heat_flux = oriData[0] ;

Errors

  • This routine expects a valid udfHd.
  • setName must be a valid name.
  • dataName must be one of the values given above.
  • The problem must contain the equation system corresponding to the parameter being requested. In particular, the problem must contain a radiation equation in order for the heat flux or temperature quantities to be available.