AirResistanceLongitudinal

Velocity dependent longitudinal air resistance

    AirResistanceLongitudinal

Library

PlanarMechanics/VehicleComponents

Description

The vehicle's air drag, resolved in frame_a, is calculated as:

fDrag = ( c_W *  area * rho * v_x^2 ) / 2

where:

c_W           : air drag coefficient,area          : cross area of vehicle,rho           : density of the air,v_x = vAir[1] : longitudinal component of air velocity, resolved in frame_a.

Just air drag in vehicle's longitudinal direction is calculated here,which can be specified for frame_a.phi = 0 by theparameter r.For example for r = {1, 0} the driving direction is inx-direction of frame_a and, thus, frame_a.fx = fDrag.The other forces and torque are disregarded.

Note

This model is limited to negative air velocity v_x only.For positive velocity, which can occur e.g. when driving rearwards,the air drag is set to zero.

Parameters

AirResistanceLongitudinal_0

NameLabelDescriptionData TypeValid Values

mo_c_W

c_W

Drag coefficient

Scalar

mo_area

area

Frontal cross area of vehicle

Scalar

mo_rho

rho

Air density

Scalar

mo_r

r

Driving direction of vehicle at angle frame_a.phi = 0

Vector of size 2

mo_e

e

Unit vector in direction of r

Vector of size 2

AirResistanceLongitudinal_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

'vAir'
'fDrag'
'f_long'
'v_wind_0'
'v0'
'R'
'R0a'
'Rae'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

frame_a

implicit

input

1

See Also