Reduction#
Generated reference
- Source file:
ansys/api/fluent/v1/reduction.proto- Proto package:
ansys.api.fluent.v1.reduction- Contains:
1 service, 44 messages
Services
Service: Reduction
Reduction service provides methods for computing reductions over field data.
Area- Request:
- Response:
Computes the total area of the specified surfaces.
AreaAve- Request:
- Response:
Computes the area-weighted average of an expression over the specified surfaces.
AreaInt- Request:
- Response:
Computes the area integral of an expression over the specified surfaces.
Centroid- Request:
- Response:
Computes the geometric centroid of the specified surfaces.
Count- Request:
- Response:
Counts the number of cells or faces at the specified locations.
CountIf- Request:
- Response:
Counts the number of cells or faces at the specified locations where the condition expression is true.
Force- Request:
- Response:
Computes the total force (pressure and viscous) on the specified surfaces.
MassAve- Request:
- Response:
Computes the mass-weighted average of an expression over the specified cell zones.
MassFlowAve- Request:
- Response:
Computes the mass-flow-weighted average of an expression over the specified surfaces.
MassFlowAveAbs- Request:
- Response:
Computes the mass-flow-weighted average using absolute mass flow values.
MassFlowInt- Request:
- Response:
Computes the mass flow integral of an expression over the specified surfaces.
MassInt- Request:
- Response:
Computes the mass integral of an expression over the specified cell zones.
Maximum- Request:
- Response:
Computes the maximum value of an expression over the specified locations.
Minimum- Request:
- Response:
Computes the minimum value of an expression over the specified locations.
PressureForce- Request:
- Response:
Computes the pressure force on the specified surfaces.
ViscousForce- Request:
- Response:
Computes the viscous force on the specified surfaces.
Volume- Request:
- Response:
Computes the total volume of the specified cell zones.
VolumeAve- Request:
- Response:
Computes the volume-weighted average of an expression over the specified cell zones.
VolumeInt- Request:
- Response:
Computes the volume integral of an expression over the specified cell zones.
Moment- Request:
- Response:
Computes the moment about the origin for the specified surfaces.
Sum- Request:
- Response:
Computes the weighted sum of an expression over the specified locations.
SumIf- Request:
- Response:
Computes the weighted sum of an expression where the condition is true over the specified locations.
Messages
AreaRequest
AreaRequest is the request message for computing surface area
locations(1)repeatedstringSurface names or zone IDs where area is computed
AreaResponse
AreaResponse contains the computed area value
value(1)VariantThe total area of the specified surfaces
AreaAveRequest
AreaAveRequest is the request message for computing area-weighted average
expression(1)stringField expression to average (e.g., “temperature”, “pressure”)
locations(2)repeatedstringSurface names or zone IDs where average is computed
AreaAveResponse
AreaAveResponse contains the computed area-weighted average
value(1)VariantThe area-weighted average value
AreaIntRequest
AreaIntRequest is the request message for computing area integral
expression(1)stringField expression to integrate
locations(2)repeatedstringSurface names or zone IDs where integral is computed
AreaIntResponse
AreaIntResponse contains the computed area integral
value(1)VariantThe area integral value
CentroidRequest
CentroidRequest is the request message for computing geometric centroid
locations(1)repeatedstringSurface names or zone IDs
CentroidResponse
CentroidResponse contains the computed centroid coordinates
value(1)PointThe centroid coordinates (x, y, z)
CountRequest
CountRequest is the request message for counting cells or faces
locations(1)repeatedstringSurface or cell zone names/IDs to count
CountResponse
CountResponse contains the count of cells or faces
value(1)VariantThe number of cells or faces
CountIfRequest
CountIfRequest is the request message for conditional counting
expression(1)stringConditional expression (e.g., “temperature > 300”)
locations(2)repeatedstringSurface or cell zone names/IDs to count
CountIfResponse
CountIfResponse contains the conditional count
value(1)VariantThe number of cells/faces where condition is true
ForceRequest
ForceRequest is the request message for computing total force (pressure + viscous)
locations(1)repeatedstringSurface names or zone IDs
ForceResponse
ForceResponse contains the computed force vector
value(1)PointThe force vector components (Fx, Fy, Fz)
MassAveRequest
MassAveRequest is the request message for computing mass-weighted average
expression(1)stringField expression to average
locations(2)repeatedstringCell zone names or IDs
MassAveResponse
MassAveResponse contains the computed mass-weighted average
value(1)VariantThe mass-weighted average value
MassFlowAveRequest
MassFlowAveRequest is the request message for computing mass-flow-weighted average
expression(1)stringField expression to average
locations(2)repeatedstringSurface names or zone IDs
MassFlowAveResponse
MassFlowAveResponse contains the computed mass-flow-weighted average
value(1)VariantThe mass-flow-weighted average value
MassFlowAveAbsRequest
MassFlowAveAbsRequest is the request message for computing mass-flow-weighted average using absolute mass flow
expression(1)stringField expression to average
locations(2)repeatedstringSurface names or zone IDs
MassFlowAveAbsResponse
MassFlowAveAbsResponse contains the computed average using absolute mass flow
value(1)VariantThe mass-flow-weighted average (absolute) value
MassFlowIntRequest
MassFlowIntRequest is the request message for computing mass flow integral
expression(1)stringField expression to integrate
locations(2)repeatedstringSurface names or zone IDs
MassFlowIntResponse
MassFlowIntResponse contains the computed mass flow integral
value(1)VariantThe mass flow integral value
MassIntRequest
MassIntRequest is the request message for computing mass integral
expression(1)stringField expression to integrate
locations(2)repeatedstringCell zone names or IDs
MassIntResponse
MassIntResponse contains the computed mass integral
value(1)VariantThe mass integral value
MaximumRequest
MaximumRequest is the request message for computing maximum value
expression(1)stringField expression to evaluate
locations(2)repeatedstringSurface or cell zone names/IDs
MaximumResponse
MaximumResponse contains the maximum value
value(1)VariantThe maximum value of the expression
MinimumRequest
MinimumRequest is the request message for computing minimum value
expression(1)stringField expression to evaluate
locations(2)repeatedstringSurface or cell zone names/IDs
MinimumResponse
MinimumResponse contains the minimum value
value(1)VariantThe minimum value of the expression
PressureForceRequest
PressureForceRequest is the request message for computing pressure force
locations(1)repeatedstringSurface names or zone IDs
PressureForceResponse
PressureForceResponse contains the computed pressure force vector
value(1)PointThe pressure force vector components (Fx, Fy, Fz)
ViscousForceRequest
ViscousForceRequest is the request message for computing viscous force
locations(1)repeatedstringSurface names or zone IDs
ViscousForceResponse
ViscousForceResponse contains the computed viscous force vector
value(1)PointThe viscous force vector components (Fx, Fy, Fz)
VolumeRequest
VolumeRequest is the request message for computing total volume
locations(1)repeatedstringCell zone names or IDs
VolumeResponse
VolumeResponse contains the computed volume
value(1)VariantThe total volume of the specified cell zones
VolumeAveRequest
VolumeAveRequest is the request message for computing volume-weighted average
expression(1)stringField expression to average
locations(2)repeatedstringCell zone names or IDs
VolumeAveResponse
VolumeAveResponse contains the computed volume-weighted average
value(1)VariantThe volume-weighted average value
VolumeIntRequest
VolumeIntRequest is the request message for computing volume integral
expression(1)stringField expression to integrate
locations(2)repeatedstringCell zone names or IDs
VolumeIntResponse
VolumeIntResponse contains the computed volume integral
value(1)VariantThe volume integral value
MomentRequest
MomentRequest is the request message for computing moment about the origin
expression(1)stringField expression for moment calculation
locations(2)repeatedstringSurface names or zone IDs
MomentResponse
MomentResponse contains the computed moment vector
value(1)PointThe moment vector components (Mx, My, Mz)
SumRequest
SumRequest is the request message for computing weighted sum
expression(1)stringField expression to sum
locations(2)repeatedstringSurface or cell zone names/IDs
weight(3)stringWeight expression (e.g., “area”, “volume”)
SumResponse
SumResponse contains the computed weighted sum
value(1)VariantThe weighted sum value
SumIfRequest
SumIfRequest is the request message for computing conditional weighted sum
expression(1)stringField expression to sum
condition(2)stringConditional expression for filtering
locations(3)repeatedstringSurface or cell zone names/IDs
weight(4)stringWeight expression (e.g., “area”, “volume”)
SumIfResponse
SumIfResponse contains the computed conditional weighted sum
value(1)VariantThe weighted sum value where condition is true