math:unit convert
Version: 0.0.0
Description
Converts an input field/fields container or mesh of a given unit to another unit.
Inputs
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 Required | entity_to_convert | field, fields_container, abstract_meshed_region, meshes_container | |
| Pin 1 Required | unit_name | string, int32, field | unit as a string, ex 'm' for meter, 'Pa' for pascal,... Or ansys unit system's ID, or a field from which expected unit will be extracted. |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | converted_entity | field, fields_container, abstract_meshed_region, meshes_container | the output entity is the same as the input (inplace operator) |
Configurations
| Name | Expected type(s) | Default value | Description |
|---|---|---|---|
| mutex | bool | false | If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads. |
| permissive | bool | false | If this option is set to true, warning checks (like unit or data sizes) won't be done. |
Scripting
Category: math
Plugin: core
Scripting name: None
Full name: None
Internal name: unit_convert
License: None
Changelog
- Version 0.0.0: Initial release.