Skip to main content

Rocky PrePost scripting 2025 R1

RACFDParametersList

Last update: 17.07.2025

class RACFDParametersList

Rocky PrePost Scripting wrapper to manipulate the list of per-particle CFD parameters in a CFD coupling configuration.

To get the RACFDParametersList from a CFD coupling wrapper (such as RAConstantOneWayCoupling, RAFluentOneWaySteadyCoupling, or RAFluentTwoWayCoupling), use:

parameters_list = coupling_process.GetCFDParametersList()

The RACFDParametersList class acts as a regular Python list, with the usual methods to iterate and access individual parameter sets. Note that it’s not possible to add and remove items from the list, as they are added and removed automatically as Particles are added or removed from the project.

The items in the parameters list are of type RACFDPerParticleParameters.

Methods:

Name Description
Clear() Overriden: Raises an error when called.
GetParametersFor(particle) Get the set of CFD parameters for a given Particle.
New() Overriden: Raises an error when called.
Remove(item) Overriden: Raises an error when called.

Clear()

Overriden: Raises an error when called.

RACFDPerParticleParameters are created and removed automatically when Particles are added or removed.

GetParametersFor(particle)

Get the set of CFD parameters for a given Particle.

New()

Overriden: Raises an error when called.

RACFDPerParticleParameters are created and removed automatically when Particles are added or removed.

Remove(item)

Overriden: Raises an error when called.

RACFDPerParticleParameters are created and removed automatically when Particles are added or removed.

Connect with Ansys