Product: Abaqus/CFD
During the analysis user subroutine SMACfdUserPressureBC is called a number of times to update the pressure and change in pressure. The returned variable should be set equal to the pressure at stepTime, where stepTime is the current step time.
void SMACfdUserPressureBC(int nfacets, const int* labels, const int* sides, const int* instances, char** instanceNames, const double* xc, const double* yc, const double* zc, double amp, double totalIime, double stepTime, const char* surfaceName, double* bcvals);
nfacets
Number of element facets to be processed in this call to SMACfdUserPressureBC.
labels
User labels for the elements attached to the facets in the boundary condition.
sides
Side numbers for the facets in the boundary condition.
instances
Instance numbers of the elements in the boundary condition.
instanceNames
Array of instance names in the model. Instance numbers provided for the elements are used to look up instance names in this array.
xc
Global X-coordinates for the centroid of the facets.
yc
Global Y-coordinates for the centroid of the facets.
zc
Global Z-coordinates for the centroid of the facets.
amp
Amplitude value corresponding to the associated amplitude function. This value is passed in for information only and will not contribute to the value of the prescribed variable automatically.
totalTime
Value of total time. The time at the beginning of the step is given by totalTime-stepTime.
stepTime
Current step time.
surfaceName
Name of the surface used to define the boundary condition.