Sha256: 31b04bc680bca3edfccc72c2a0fe06769baa7386e457461a93bee5d6543ab3a6

Contents?: true

Size: 981 Bytes

Versions: 16

Compression:

Stored size: 981 Bytes

Contents

# -*- encoding: utf-8 -*-
# -*- frozen_string_literal: true -*-
# -*- warn_indent: true -*-

UnitMeasurements::DynamicViscosity = UnitMeasurements.build do
  primitive "Pa⋅s"

  system :metric do
    si_unit "Pa⋅s", aliases: ["Pa*s", "pascal second"]
  end

  system :centimetre_gram_second do
    unit "P", value: "1 dPa⋅s", aliases: ["dyne·s/cm²", "dyne*s/cm^2", "poise"]
    unit "Pl", value: "10 P", aliases: ["poiseuille"]
  end

  system :foot_pound_second do
    unit "lb/(ft⋅s)", value: "1.488164 Pa⋅s", aliases: ["lb/(ft*s)", "pound per foot second"]
    unit "lb/(ft⋅h)", value: "0.0004133789 Pa⋅s", aliases: ["lb/(ft*h)", "pound per foot hour"]

    unit "(lbf⋅s)/ft²", value: "47.88026 Pa⋅s", aliases: ["(lb⋅s)/ft²", "(lbf*s)/ft^2", "(lb*s)/ft^2", "pound-force second per square foot"]
    unit "(lbf⋅s)/in²", value: "6894.757 Pa⋅s", aliases: ["(lb⋅s)/in²", "(lbf*s)/in^2", "(lb*s)/in^2", "pound-force second per square inch"]
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
unit_measurements-5.6.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-5.5.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-5.4.1 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-5.4.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-5.3.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-5.2.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-5.1.1 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-5.1.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-5.0.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-4.12.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-4.11.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-4.10.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-4.9.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-4.8.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-4.7.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb
unit_measurements-4.6.0 lib/unit_measurements/unit_groups/dynamic_viscosity.rb