2.1.20 Obtaining vector state information in an Abaqus/CFD analysis

Product: Abaqus/CFD  

References

Overview

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

Interface

#include <SMACfdUserSubroutines.h>
const double* vcomp = SMACfdUserSubroutineGetVector("VAR", comp);

Variables to be provided to the utility routine

VAR

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

comp

Output variable vector component number; i.e., 1, 2, or 3.

Variable returned from the utility routine

vcomp

Real array containing the values of the vector component for the output variable.

Available output variable keys

The following output variable keys are supported:

The returned array component corresponds to the real-valued variable that can be associated with the request output variable key VAR's component. 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 request is not available for the current model.

Analysis time for which values are returned

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