> ## 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.

# Class Friction

Namespace: [VM.API.Pre](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre)\
Assembly: VM.API.Pre.dll

This class represents the friction

```csharp theme={null}
public class Friction
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Friction](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.Friction.md)

#### Derived

[FrictionContact](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.FrictionContact.md),
[FrictionRevolute](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.FrictionRevolute.md),
[FrictionTranslational](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.FrictionTranslational.md),
[FrictionUniversal](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.FrictionUniversal.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### Friction()

Default constructor

```csharp theme={null}
public Friction()
```

### Friction(ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, EffectType)

Initializes a new instance of the [Friction](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.Friction.md) class.

```csharp theme={null}
public Friction(ExpressionValueVariable frictionCoefficient, ExpressionValueVariable staticFrictionCoefficient, ExpressionValueVariable dynamicsThreshold, ExpressionValueVariable stictionVelocity, ExpressionValueVariable maxStictionDeformation, Friction.EffectType frictionEffect)
```

#### Parameters

`frictionCoefficient` ExpressionValueVariable

The friction coefficient.

`staticFrictionCoefficient` ExpressionValueVariable

The static friction coefficient.

`dynamicsThreshold` ExpressionValueVariable

The dynamics threshold.

`stictionVelocity` ExpressionValueVariable

The stiction velocity.

`maxStictionDeformation` ExpressionValueVariable

The max stiction deformation.

`frictionEffect` Friction.EffectType

The friction effect.

### Friction(ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, EffectType, bool, bool)

Initializes a new instance of the [Friction](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.Friction.md) class.

```csharp theme={null}
public Friction(ExpressionValueVariable frictionCoefficient, ExpressionValueVariable staticFrictionCoefficient, ExpressionValueVariable dynamicsThreshold, ExpressionValueVariable stictionVelocity, ExpressionValueVariable maxStictionDeformation, Friction.EffectType frictionEffect, bool reactionForce, bool bendingMoment)
```

#### Parameters

`frictionCoefficient` ExpressionValueVariable

The friction coefficient.

`staticFrictionCoefficient` ExpressionValueVariable

The static friction coefficient.

`dynamicsThreshold` ExpressionValueVariable

The dynamics threshold.

`stictionVelocity` ExpressionValueVariable

The stiction velocity.

`maxStictionDeformation` ExpressionValueVariable

The max stiction deformation.

`frictionEffect` Friction.EffectType

The friction effect.

`reactionForce` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

The reaction force.

`bendingMoment` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

The bending moment.

## Properties

### BendingMoment

The value for the bending moment. The default value is 'true'.

```csharp theme={null}
public bool BendingMoment { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### DynamicsThreshold

The value for the dynamics threshold. The default value is 0.15.

```csharp theme={null}
public ExpressionValueVariable DynamicsThreshold { get; set; }
```

#### Property Value

ExpressionValueVariable

### FrictionCoefficient

The value for the friction coefficient. The default value is 0.3.

```csharp theme={null}
public ExpressionValueVariable FrictionCoefficient { get; set; }
```

#### Property Value

ExpressionValueVariable

### FrictionEffect

The value for the friction effect. The default value is SlidingAndStiction.

```csharp theme={null}
public Friction.EffectType FrictionEffect { get; set; }
```

#### Property Value

Friction.EffectType

### MaxStictionDeformation

The value for the max stiction deformation. The default value is 0.01.

```csharp theme={null}
public ExpressionValueVariable MaxStictionDeformation { get; set; }
```

#### Property Value

ExpressionValueVariable

### ReactionForce

The value for the reaction force. The default value is 'true'.

```csharp theme={null}
public bool ReactionForce { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### StaticFrictionCoefficient

The value for the static friction coefficient. The default value is 0.5.

```csharp theme={null}
public ExpressionValueVariable StaticFrictionCoefficient { get; set; }
```

#### Property Value

ExpressionValueVariable

### StictionVelocity

The value for the stiction velocity. The default value is 0.1.

```csharp theme={null}
public ExpressionValueVariable StictionVelocity { get; set; }
```

#### Property Value

ExpressionValueVariable
