Product: Abaqus/CFD
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.
#include <SMACfdUserSubroutines.h> const double* vcomp = SMACfdUserSubroutineGetVector("VAR", comp);
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.
vcomp
Real array containing the values of the vector component for the output variable.
The following output variable keys are supported:
NORMAL: Surface facet normal direction cosines.
V: Surface facet normal velocity.
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.