Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class Friction

Last update: 16.07.2025

Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll

This class represents the friction

public class Friction

Inheritance

object ← Friction

Derived

FrictionContact, FrictionRevolute, FrictionTranslational, FrictionUniversal

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

Friction()

Default constructor

public Friction()

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

Initializes a new instance of the class.

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

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

The reaction force.

bendingMoment bool

The bending moment.

Properties

BendingMoment

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

public bool BendingMoment { get; set; }

Property Value

bool

DynamicsThreshold

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

public ExpressionValueVariable DynamicsThreshold { get; set; }

Property Value

ExpressionValueVariable

FrictionCoefficient

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

public ExpressionValueVariable FrictionCoefficient { get; set; }

Property Value

ExpressionValueVariable

FrictionEffect

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

public Friction.EffectType FrictionEffect { get; set; }

Property Value

Friction.EffectType

MaxStictionDeformation

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

public ExpressionValueVariable MaxStictionDeformation { get; set; }

Property Value

ExpressionValueVariable

ReactionForce

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

public bool ReactionForce { get; set; }

Property Value

bool

StaticFrictionCoefficient

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

public ExpressionValueVariable StaticFrictionCoefficient { get; set; }

Property Value

ExpressionValueVariable

StictionVelocity

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

public ExpressionValueVariable StictionVelocity { get; set; }

Property Value

ExpressionValueVariable

Connect with Ansys