udfGetEbcRafData()
Return running average field data at the surface quadrature point.
Syntax
data = udfGetEbcRafData( udfHd, dataName ) ;
Type
AcuSolve User-Defined Example Boundary Condition
Parameters
- udfHd
- The opaque handle (pointer) which was passed to the user function.
- dataName (integer)
- Symbolic name of the requested data.
- UDF_EBC_VELOCITY
- Velocity.
- UDF_EBC_ACCELERATION
- Acceleration.
- UDF_EBC_PRESSURE
- Pressure.
- UDF_EBC_TEMPERATURE
- Temperature.
- UDF_EBC_SPECIES
- Species.
- UDF_EBC_EDDY_VISCOSITY
- Turbulence eddy viscosity.
- UDF_EBC_KINETIC_ENERGY
- Turbulence kinetic energy.
- UDF_EBC_EDDY_FREQUENCY
- Turbulence eddy frequency.
- UDF_EBC_GRAD_VELOCITY
- Gradient of velocity.
- UDF_EBC_GRAD_PRESSURE
- Gradient of pressure.
- UDF_EBC_GRAD_TEMPERATURE
- Gradient of temperature.
- UDF_EBC_GRAD_SPECIES
- Gradient of species.
- UDF_EBC_MESH_DISPLACEMENT
- Mesh displacement.
- UDF_EBC_MESH_VELOCITY
- Mesh velocity.
Return Value
- data (Real*)
- Pointer to one, two, or three dimensional real array of the requested data. The dimensions of
the array depend on dataName as follows. If the third
(slowest) dimension of the array is equal to one, then the array may be
treated as two dimensional. If the second dimension is likewise one, then
the array is one dimensional. The x, y, z components of the gradient for
gradient quantities are always contained in the last nontrivial
dimension.
dataName First Dimension Second Dimension Third Dimension UDF_EBC_VELOCITY nItems 3 1 UDF_EBC_ACCLERATION nItems 3 1 UDF_EBC_PRESSURE nItems 1 1 UDF_EBC_TEMPERATURE nItems 1 1 UDF_EBC_SPECIES nItems udfGetNumSpecs() 1 UDF_EBC_EDDY_VISCOSITY nItems 1 1 UDF_EBC_KINETIC_ENERGY nItems 1 1 UDF_EBC_EDDY_FREQUENCY nItems 1 1 UDF_EBC_GRAD_VELOCITY nItems 3 3 UDF_EBC_GRAD_PRESSURE nItems 3 1 UDF_EBC_GRAD_TEMPERATURE nItems 3 1 UDF_EBC_GRAD_SPECIES nItems udfGetNumSpecs() 3 UDF_EBC_MESH_DISPLACEMENT nItems 3 1 UDF_EBC_MESH_VELOCITY nItems 3 1
Description
This routine returns the requested solution data at the surface quadrature point. It is used exactly the same way as, but returns the running average field versions of the data.
Errors
- This routine expects a valid udfHd.
- This routine may only be called within an Element Boundary Condition user function.
- dataName must be one of the values given above.
- The problem must contain the equation associated with the requested data.
- running_average must be turned on in the EQUATION command.