Skip to main content

DamperProps

Struct DamperProps 

Source
pub struct DamperProps {
    pub kind: DamperKind,
    pub kd: f64,
    pub c0: f64,
    pub alpha: f64,
    pub qy: f64,
    pub k2_ratio: f64,
    pub relief_velocity: Option<f64>,
    pub c2_ratio: Option<f64>,
}
Expand description

制振ダンパー要素(ElementKind::Damper)の特性(各制振部材の力学モデル)。

  • マクスウェル(速度依存型): バネ剛性 Kd と粘性ダッシュポット (力 Fc=C0·sign(V)·|V|^α)の直列。α=1 で線形粘性。relief_velocity (リリーフ速度 Vr)を指定すると、Vr 超過域で減衰係数比 c2_ratio による リリーフ特性(オイルダンパーのバイパス弁による頭打ち特性)を折れ線で 近似する(element/src/springs/damper/maxwell.rs 参照)。
  • 履歴型バイリニア: 初期軸剛性 Kd(=k1)、降伏軸力 qy、第2剛性比 k2_ratio (k2=k2_ratio·k1)の弾塑性軸ばね(変位依存。静的・動的いずれでも作用)。

Fields§

§kind: DamperKind

ダンパー種別。

§kd: f64

バネ剛性 Kd [N/mm](履歴型では初期軸剛性 k1)。

§c0: f64

粘性係数 C0 [N·(s/mm)^α](マクスウェルのみ)。

§alpha: f64

速度指数 α(1.0 で線形粘性。マクスウェルのみ)。

§qy: f64

降伏軸力 qy [N](履歴型のみ)。

§k2_ratio: f64

第2剛性比 k2/k1(履歴型のみ)。

§relief_velocity: Option<f64>

リリーフ速度 Vr [mm/s](マクスウェルのみ。オイルダンパーのリリーフ機構)。 None(既定)はリリーフ特性なし(従来どおり Fc=C0·sign(V)·|V|^α を 全域に適用)。Some(vr)(vr>0)の場合、|V|≤vr は従来どおり、|V|>vr は c2_ratio による減衰係数比で頭打ちにした折れ線特性となる (式は c2_ratio の docs、および maxwell.rs 参照)。

§c2_ratio: Option<f64>

リリーフ後の減衰係数比 C2/C1(C1 はリリーフ速度 Vr における接線減衰係数 C1=C0·α·Vr^(α−1))。relief_velocitySome の場合のみ意味を持つ (None=リリーフなし)。既定 None(リリーフ無効時は未使用のため 0 でも同義だが、意図を明確にするため未指定を表す)。

Trait Implementations§

Source§

impl Clone for DamperProps

Source§

fn clone(&self) -> DamperProps

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for DamperProps

Source§

impl Debug for DamperProps

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for DamperProps

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for DamperProps

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for DamperProps

Source§

fn eq(&self, other: &DamperProps) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for DamperProps

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for DamperProps

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.