RACalculations#
- class ansys.rocky.app.ra_calculations.RACalculations(id: str, model_id: str | None = None)#
Bases:
ansys.rocky.app.api_element_item.ApiElementItemRocky api for particles calculations
Overview#
Create a residence time grid function for the given selection process |
|
Create a flip count grid function for the given selection process |
|
Get the Tagging calculator with the given name. |
|
Get the Divisions Tagging calculator with the given name. |
|
Get a list of the names of all Taggings in Particles Calculations. |
|
Get a list of the names of all Divisions Taggings in Particles Calculations. |
|
Create a Tagging calculator for the given particle-based selection process. |
|
Create a Divisions Tagging calculator for the given particle-based selection process. |
Iterates over the wrapped particle calculations. |
|
|
|
|
Import detail#
from ansys.rocky.app.ra_calculations import RACalculations
Method detail#
- classmethod RACalculations.GetWrappedClass() type[rocky30.plugins.particles_calculations.particles_calculations.ParticlesCalculations]#
- RACalculations.CreateSelectionResidenceTime(selection: ansys.rocky.app.ra_grid_process_element.RAGridProcessElementItem | str) rocky30.plugins.particles_calculations.particles_selection_calculator.ParticlesSelectionCalculator#
Create a residence time grid function for the given selection process
- RACalculations.CreateSelectionFlipCount(selection: ansys.rocky.app.ra_grid_process_element.RAGridProcessElementItem) rocky30.plugins.particles_calculations.particles_selection_calculator.ParticlesSelectionCalculator#
Create a flip count grid function for the given selection process
- RACalculations.GetTagging(name: str) ansys.rocky.app.ra_tagging.RATagging#
Get the Tagging calculator with the given name.
- RACalculations.GetDivisionsTagging(name: str) ansys.rocky.app.ra_divisions_tagging.RADivisionsTagging#
Get the Divisions Tagging calculator with the given name.
- RACalculations.GetTaggingNames() list[str]#
Get a list of the names of all Taggings in Particles Calculations.
- RACalculations.GetDivisionsTaggingNames() list[str]#
Get a list of the names of all Divisions Taggings in Particles Calculations.
- RACalculations.CreateTagging(selection: ansys.rocky.app.ra_grid_process_element.RAGridProcessElementItem) rocky30.plugins.particles_calculations.particles_selection_calculator.ParticlesSelectionCalculator | None#
Create a Tagging calculator for the given particle-based selection process.
- Parameters:
selection – Must be a particle selection type.
- RACalculations.CreateDivisionsTagging(selection: ansys.rocky.app.ra_grid_process_element.RAGridProcessElementItem) ansys.rocky.app.ra_divisions_tagging.RADivisionsTagging#
Create a Divisions Tagging calculator for the given particle-based selection process.
- Parameters:
selection – Must be a particle selection type.
- RACalculations.__iter__() collections.abc.Iterator#
Iterates over the wrapped particle calculations.