    

 ## On this page

  

 

 # Structure ansys::dpf::unit\_systems

 Last update: 25.03.2026 

<a id="structansys-dpf-unit-systems"></a>

![](https://img.shields.io/badge/language-C%2B%2B-blue "C++")![](https://img.shields.io/badge/-public-brightgreen "public")

Predefined unit systems.

## Members

- [all](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1ac6d10ab82ab1f2bb054f5fb90245c0bb)
- [ansys\_bin](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1ae3396e2f78cd6d1ea0ea447d2e7a9b76)
- [ansys\_cgs](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1a284e6c52c14c70a9ac47bfc72b8e1ed5)
- [ansys\_cust](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1aafc7bfad9d0b7711293c2a430b65c692)
- [ansys\_knms](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1a8a3b16795b9ddd3e23452d97a9d03acb)
- [ansys\_nmm](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1ac3621f267d7ee18a2a7c5ebca8f2eca9)
- [ansys\_nmm\_dat](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1af38e54fe98f123ca1459678184d7f299)
- [ansys\_nmm\_ton](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1aa7c924a331b541993ba7d7391cd98f68)
- [ansys\_umks](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1a36af891803890474c83422513212b6e4)
- [from\_ansys\_id](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1ab4b0757770c54eee0faa543c1615f5ba)
- [SI](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1a85c4cb82c637c6dcf77fe114f0341802)
- [solver\_bft](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1a3d60d359eeaa208b83903433ac50595e)
- [solver\_bin](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1afd049562ae30d216fe1950dc402ee136)
- [solver\_cgs](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1ad85c6d970b2d01b29347d321095cb805)
- [solver\_knms](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1aa450fcd215dfb82da86556e7969948b0)
- [solver\_mks](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1ae90fad43ef2371fb364134803a659e24)
- [solver\_nmm](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1a850394df6c32ad8312e49d29ed4205f1)
- [solver\_umks](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1a3c1dbf5241cb5222cbdf8c0eca64716c)
- [undefined](structansys-dpf-unit-systems.md#structansys-dpf-unit-systems-1a6d49c0af51a2e67332823e86118c7112)

## Public static attributes

<a id="structansys-dpf-unit-systems-1a85c4cb82c637c6dcf77fe114f0341802"></a>

### Variable SI

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::SI

```

Predefined SI unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1a284e6c52c14c70a9ac47bfc72b8e1ed5"></a>

### Variable ansys\_cgs

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::ansys_cgs

```

Predefined ansys\_cgs unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1ac3621f267d7ee18a2a7c5ebca8f2eca9"></a>

### Variable ansys\_nmm

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::ansys_nmm

```

Predefined ansys\_nmm unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1ae3396e2f78cd6d1ea0ea447d2e7a9b76"></a>

### Variable ansys\_bin

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::ansys_bin

```

Predefined ansys\_bin unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1a36af891803890474c83422513212b6e4"></a>

### Variable ansys\_umks

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::ansys_umks

```

Predefined SI unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1aafc7bfad9d0b7711293c2a430b65c692"></a>

### Variable ansys\_cust

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::ansys_cust

```

Predefined ansys\_cust unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1aa7c924a331b541993ba7d7391cd98f68"></a>

### Variable ansys\_nmm\_ton

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::ansys_nmm_ton

```

Predefined ansys\_nmm\_ton unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1af38e54fe98f123ca1459678184d7f299"></a>

### Variable ansys\_nmm\_dat

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::ansys_nmm_dat

```

Predefined ansys\_nmm\_dat unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1a8a3b16795b9ddd3e23452d97a9d03acb"></a>

### Variable ansys\_knms

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::ansys_knms

```

Predefined ansys\_knms unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1ae90fad43ef2371fb364134803a659e24"></a>

### Variable solver\_mks

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::solver_mks

```

Predefined solver\_mks unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1ad85c6d970b2d01b29347d321095cb805"></a>

### Variable solver\_cgs

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::solver_cgs

```

Predefined solver\_cgs unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1a3d60d359eeaa208b83903433ac50595e"></a>

### Variable solver\_bft

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::solver_bft

```

Predefined solver\_bft unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1a850394df6c32ad8312e49d29ed4205f1"></a>

### Variable solver\_nmm

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::solver_nmm

```

Predefined solver\_nmm unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1afd049562ae30d216fe1950dc402ee136"></a>

### Variable solver\_bin

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::solver_bin

```

Predefined solver\_bin unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1a3c1dbf5241cb5222cbdf8c0eca64716c"></a>

### Variable solver\_umks

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::solver_umks

```

Predefined solver\_umks unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1aa450fcd215dfb82da86556e7969948b0"></a>

### Variable solver\_knms

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::solver_knms

```

Predefined solver\_knms unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1a6d49c0af51a2e67332823e86118c7112"></a>

### Variable undefined

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const UnitSystem ansys::dpf::unit_systems::undefined

```

Predefined undefined unit system.

**Type**: const [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem)

<a id="structansys-dpf-unit-systems-1ac6d10ab82ab1f2bb054f5fb90245c0bb"></a>

### Variable all

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const std::vector<UnitSystem> ansys::dpf::unit_systems::all

```

Gets all predefined unit systems. **Returns**:

All unit systems.

**Type**: const std::vector&lt; [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem) &gt;

## Public static functions

<a id="structansys-dpf-unit-systems-1ab4b0757770c54eee0faa543c1615f5ba"></a>

### Function from\_ansys\_id

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
static UnitSystem const  & ansys::dpf::unit_systems::from_ansys_id(dp_id id)

```

Gets unit system by id. **Returns**:

All unit system.

**Parameters**:

- [dp\_id](namespaceansys-dpf.md#namespaceansys-dpf-1ab4574c9af3f2bb8011da7d1f4c8da20e) **id**: \[in\] Common unit system identifier used by Ansys.

**Return type**: [UnitSystem](structansys-dpf-unitsystem.md#structansys-dpf-unitsystem) const &amp;