2.1.19 Obtaining scalar state information in an Abaqus/CFD analysis

Product: Abaqus/CFD  

References

Overview

Utility routine SMACfdUserSubroutineGetScalar can be called from a user subroutine to access selected output variables for elements or surface facets that are part of a boundary condition definition.

Interface

#include <SMACfdUserSubroutines.h>
const double* scalars = SMACfdUserSubroutineGetScalar("VAR");

Variable to be provided to the utility routine

VAR

Output variable key. The available variables are listed in “Available output variable keys.”

Variable returned from the utility routine

scalars

Real array containing scalar values of the output variable.

Available output variable keys

The following output variable keys are supported:

A requested output variable must be valid for the energy equation setting or turbulence model for the request to be successful.

The returned array scalars corresponds to the real-valued variable that can be associated with the request output variable key VAR. If the surface associated with an output variable does not have any facets on the current processor, the pointer returned from the method will be 0. The method will throw an exception and terminate the analysis if an output variable is not available for the current model.

Analysis time for which values are returned

Utility subroutine SMACfdUserSubroutineGetScalar returns values of the requested variable that correspond to the beginning of the current increment.