reduction#

Wrappers over Reduction gRPC service of Fluent.

Exceptions:

BadReductionRequest(err)

Raised on an attempt to make a bad reduction request.

Classes:

Reduction(service[, ctxt])

Reduction.

ReductionService(channel, metadata, ...)

Reduction Service.

exception ansys.fluent.core.services.reduction.BadReductionRequest(err)#

Bases: Exception

Raised on an attempt to make a bad reduction request.

Methods:

__init__(err)

Initialize BadReductionRequest.

__init__(err)#

Initialize BadReductionRequest.

class ansys.fluent.core.services.reduction.Reduction(service, ctxt=None)#

Bases: object

Reduction.

Methods:

__init__(service[, ctxt])

__init__ method of Reduction class.

area(locations[, ctxt])

Get area.

area_average(expression, locations[, ctxt])

Get area average.

area_integral(expression, locations[, ctxt])

Get area integral.

centroid(locations[, ctxt])

Get centroid.

count(locations[, ctxt])

Get count.

count_if(condition, locations[, ctxt])

Get count if a particular condition satisfies.

force(locations[, ctxt])

Get force.

mass_average(expression, locations[, ctxt])

Get mass average.

mass_flow_average(expression, locations[, ctxt])

Get mass flow average.

mass_flow_average_absolute(expression, locations)

Get absolute mass flow average.

mass_flow_integral(expression, locations[, ctxt])

Get mass flow integral.

mass_integral(expression, locations[, ctxt])

Get mass integral.

maximum(expression, locations[, ctxt])

Get maximum.

minimum(expression, locations[, ctxt])

Get minimum.

moment(expression, locations[, ctxt])

Get moment.

pressure_force(locations[, ctxt])

Get pressure force.

sum(expression, locations, weight[, ctxt])

Get sum.

sum_if(expression, condition, locations, weight)

Get sum if a particular condition satisfies.

viscous_force(locations[, ctxt])

Get viscous force.

volume(locations[, ctxt])

Get volume.

volume_average(expression, locations[, ctxt])

Get volume average.

volume_integral(expression, locations[, ctxt])

Get volume integral.

__init__(service, ctxt=None)#

__init__ method of Reduction class.

area(locations, ctxt=None)#

Get area.

area_average(expression, locations, ctxt=None)#

Get area average.

area_integral(expression, locations, ctxt=None)#

Get area integral.

centroid(locations, ctxt=None)#

Get centroid.

count(locations, ctxt=None)#

Get count.

count_if(condition, locations, ctxt=None)#

Get count if a particular condition satisfies.

force(locations, ctxt=None)#

Get force.

mass_average(expression, locations, ctxt=None)#

Get mass average.

mass_flow_average(expression, locations, ctxt=None)#

Get mass flow average.

mass_flow_average_absolute(expression, locations, ctxt=None)#

Get absolute mass flow average.

mass_flow_integral(expression, locations, ctxt=None)#

Get mass flow integral.

mass_integral(expression, locations, ctxt=None)#

Get mass integral.

maximum(expression, locations, ctxt=None)#

Get maximum.

minimum(expression, locations, ctxt=None)#

Get minimum.

moment(expression, locations, ctxt=None)#

Get moment.

pressure_force(locations, ctxt=None)#

Get pressure force.

sum(expression, locations, weight, ctxt=None)#

Get sum.

sum_if(expression, condition, locations, weight, ctxt=None)#

Get sum if a particular condition satisfies.

viscous_force(locations, ctxt=None)#

Get viscous force.

volume(locations, ctxt=None)#

Get volume.

volume_average(expression, locations, ctxt=None)#

Get volume average.

volume_integral(expression, locations, ctxt=None)#

Get volume integral.

class ansys.fluent.core.services.reduction.ReductionService(channel, metadata, fluent_error_state)#

Bases: object

Reduction Service.

Methods:

__init__(channel, metadata, fluent_error_state)

__init__ method of Reduction class.

area(request)

Area RPC of Reduction service.

area_average(request)

Area average RPC of Reduction service.

area_integral(request)

Area integral RPC of Reduction service.

centroid(request)

Centroid RPC of Reduction service.

count(request)

Count RPC of Reduction service.

count_if(request)

Count If RPC of Reduction service.

force(request)

Force RPC of Reduction service.

mass_average(request)

Mass average RPC of Reduction service.

mass_flow_average(request)

Mass flow average RPC of Reduction service.

mass_flow_average_absolute(request)

Absolute mass flow average RPC of Reduction service.

mass_flow_integral(request)

Mass flow integral RPC of Reduction service.

mass_integral(request)

Mass integral RPC of Reduction service.

maximum(request)

Maximum RPC of Reduction service.

minimum(request)

Minimum RPC of Reduction service.

moment(request)

Moment RPC of Reduction service.

pressure_force(request)

Pressure force RPC of Reduction service.

sum(request)

Sum RPC of Reduction service.

sum_if(request)

Sum RPC of Reduction service.

viscous_force(request)

Viscous force RPC of Reduction service.

volume(request)

Volume RPC of Reduction service.

volume_average(request)

Volume average RPC of Reduction service.

volume_integral(request)

Volume integral RPC of Reduction service.

__init__(channel, metadata, fluent_error_state)#

__init__ method of Reduction class.

area(request)#

Area RPC of Reduction service.

area_average(request)#

Area average RPC of Reduction service.

area_integral(request)#

Area integral RPC of Reduction service.

centroid(request)#

Centroid RPC of Reduction service.

count(request)#

Count RPC of Reduction service.

count_if(request)#

Count If RPC of Reduction service.

force(request)#

Force RPC of Reduction service.

mass_average(request)#

Mass average RPC of Reduction service.

mass_flow_average(request)#

Mass flow average RPC of Reduction service.

mass_flow_average_absolute(request)#

Absolute mass flow average RPC of Reduction service.

mass_flow_integral(request)#

Mass flow integral RPC of Reduction service.

mass_integral(request)#

Mass integral RPC of Reduction service.

maximum(request)#

Maximum RPC of Reduction service.

minimum(request)#

Minimum RPC of Reduction service.

moment(request)#

Moment RPC of Reduction service.

pressure_force(request)#

Pressure force RPC of Reduction service.

sum(request)#

Sum RPC of Reduction service.

sum_if(request)#

Sum RPC of Reduction service.

viscous_force(request)#

Viscous force RPC of Reduction service.

volume(request)#

Volume RPC of Reduction service.

volume_average(request)#

Volume average RPC of Reduction service.

volume_integral(request)#

Volume integral RPC of Reduction service.