/ proof-of-concept / cymsim_old
Sign in
proof-of-concept / cymsim_old
cymsim_old / src / cymsim / constants.py
21 lines · 597 BBlameHistoryRaw
1"""Physical and numerical constants shared by both models. All values are SI."""
3import math
5SPEED_OF_SOUND = 343.0
6"""Speed of sound in air [m/s]."""
8RHO_AIR = 1.2
9"""Density of air [kg/m^3]."""
11ROOM_TEMPERATURE = 293.0
12"""Default plate temperature [K], which enters the thermoelastic damping."""
14CFL = 0.9
15"""Fraction of the stability limit used for the time step of the full model."""
17STICK_RELEASE = 5e-3
18"""The stick is withdrawn once the contact has been open this long [s]."""
20LN1000 = math.log(1000.0)
21"""A decay rate sigma [1/s] and a decay time relate by sigma = LN1000 / T60."""
↑↓ move↵openescclose