> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RAParticleInletProperties

### *class* RAParticleInletProperties

Rocky PrePost Scripting wrapper for a single entry in a single Particle Input’s input list.

Access this wrapper from a given [`RAParticleInlet`](https://developer.synopsys.com/docs/rocky/rocky-prepost-scripting/2025-r2/RAParticleInlet#generated.RAParticleInlet) with:

```python theme={null}
input_properties_list = particle_input.GetInputPropertiesList()
input_properties_1 = input_properties_list.New()
input_properties_1.SetParticle('Particle 1')
input_properties_1.SetMassFlowRate(100, 't/h')
```

**Methods:**

| Name | Description |
| - | - |
| [`GetAvailableParticles`](#generated.RAParticleInletProperties.GetAvailableParticles)() | Get all available Particles. |
| [`GetMassFlowRate`](#generated.RAParticleInletProperties.GetMassFlowRate)(\[unit]) | Get the value of "Mass Flow Rate". |
| [`GetModuleProperties`](#generated.RAParticleInletProperties.GetModuleProperties)() | Get the names of the module properties. |
| [`GetModuleProperty`](#generated.RAParticleInletProperties.GetModuleProperty)(property\_name\[, unit]) | Get the value of a module property. |
| [`GetParticle`](#generated.RAParticleInletProperties.GetParticle)() | Get the "Particle". |
| [`GetTemperature`](#generated.RAParticleInletProperties.GetTemperature)(\[unit]) | Get the value of "Temperature". |
| [`GetTonnage`](#generated.RAParticleInletProperties.GetTonnage)(\[unit]) | Deprecated: Use [`GetMassFlowRate()`](#generated.RAParticleInletProperties.GetMassFlowRate) instead. |
| [`GetValidOptionsForModuleProperty`](#generated.RAParticleInletProperties.GetValidOptionsForModuleProperty)(property\_name) | Get all valid options only for properties that have a list of possible options. |
| [`SetMassFlowRate`](#generated.RAParticleInletProperties.SetMassFlowRate)(value\[, unit]) | Set the value of "Mass Flow Rate". |
| [`SetModuleProperty`](#generated.RAParticleInletProperties.SetModuleProperty)(property\_name, value\[, unit]) | Set the value of a module property. |
| [`SetParticle`](#generated.RAParticleInletProperties.SetParticle)(value) | Set the "Particle". |
| [`SetTemperature`](#generated.RAParticleInletProperties.SetTemperature)(value\[, unit]) | Set the value of "Temperature". |
| [`SetTonnage`](#generated.RAParticleInletProperties.SetTonnage)(value\[, unit]) | Deprecated: Use [`SetMassFlowRate()`](#generated.RAParticleInletProperties.SetMassFlowRate) instead. |

#### GetAvailableParticles()

Get all available Particles.

* **Return type:**
  List\[[`RAParticle`](https://developer.synopsys.com/docs/rocky/rocky-prepost-scripting/2025-r2/RAParticle#generated.RAParticle)]
  A list of [`RAParticle`](https://developer.synopsys.com/docs/rocky/rocky-prepost-scripting/2025-r2/RAParticle#generated.RAParticle).

#### GetMassFlowRate(unit: str | None = None)

Get the value of “Mass Flow Rate”.

* **Parameters:**
  **unit** – The unit for the returned value. If no unit is provided, the returned value will be in “t/h”.

#### GetModuleProperties()

Get the names of the module properties.

* **Return type:**
  tuple(ModulePropertyIdentifier)

#### GetModuleProperty(property\_name: str | ModulePropertyIdentifier, unit: str | None = None)

Get the value of a module property.

* **Parameters:**
  * **property\_name** (*Union* \*\[\**str* *,* *ModulePropertyIdentifier* *]*) – The name of the module property to get.
  * **unit** (*str*) – The unit for value, just for scalar properties. If no unit is provided,
    the returned value will be in the unit that was set before (via SetModuleProperty()).
* **Return type:**
  float, bool, str or [`RAModulePropertyList`](https://developer.synopsys.com/docs/rocky/rocky-prepost-scripting/2025-r2/RAModulePropertyList#generated.RAModulePropertyList)
* **Returns:**
  * For basic module properties like numbers and booleans, the returned value is a basic
    Python type (float, bool, or string)
  * For input files, the returned value is the string of the full path to the file
  * For properties that are lists of other properties, the returned value is a
    : [`RAModulePropertyList`](https://developer.synopsys.com/docs/rocky/rocky-prepost-scripting/2025-r2/RAModulePropertyList#generated.RAModulePropertyList).

#### GetParticle()

Get the “Particle”.

* **Return type:**
  [`RAParticle`](https://developer.synopsys.com/docs/rocky/rocky-prepost-scripting/2025-r2/RAParticle#generated.RAParticle)

#### GetTemperature(unit: str | None = None)

Get the value of “Temperature”.

* **Parameters:**
  **unit** – The unit for the returned value. If no unit is provided, the returned value will be in “K”.

#### GetTonnage(unit: str | None = None)

Deprecated: Use [`GetMassFlowRate()`](#generated.RAParticleInletProperties.GetMassFlowRate) instead.

* **Parameters:**
  **unit** – The unit for the returned value. If no unit is provided, the returned value will be in “t/h”.

#### GetValidOptionsForModuleProperty(property\_name)

Get all valid options only for properties that have a list of possible options.

* **Parameters:**
  **property\_name** (*str*) – The name of the module property.
* **Return type:**
  List\[str]

#### SetMassFlowRate(value: str | float, unit: str | None = None)

Set the value of “Mass Flow Rate”.

* **Parameters:**
  * **value** – The value to set. This value can be an expression with input variables or float type.
  * **unit** – The unit for value. If no unit is provided, value is assumed to be in “t/h”.

#### SetModuleProperty(property\_name: str | ModulePropertyIdentifier, value: float | bool | str, unit: str | None = None)

Set the value of a module property.

* **Parameters:**
  * **property\_name** (*Union* \*\[\**str* *,* *ModulePropertyIdentifier* *]*) – The name of the module property to set.
  * **value** (*float* *,* *bool* *or* *str*) – The value to set.
    If the property\_name references to an enum property then value must be an str value.
  * **unit** (*str*) – The unit for value, just for scalar properties. If no unit is provided,
    value is assumed to be the unit was set before.

#### SetParticle(value)

Set the “Particle”.

:param unicode, [`RAParticle`](https://developer.synopsys.com/docs/rocky/rocky-prepost-scripting/2025-r2/RAParticle#generated.RAParticle) value:
: Either the API object wrapping the desired entity or its name.

#### SetTemperature(value: str | float, unit: str | None = None)

Set the value of “Temperature”.

* **Parameters:**
  * **value** – The value to set. This value can be an expression with input variables or float type.
  * **unit** – The unit for value. If no unit is provided, value is assumed to be in “K”.

#### SetTonnage(value: float, unit: str | None = None)

Deprecated: Use [`SetMassFlowRate()`](#generated.RAParticleInletProperties.SetMassFlowRate) instead.

* **Parameters:**
  * **value** – The value to set.
  * **unit** – The unit for value. If no unit is provided, value is assumed to be in “t/h”.
