unit_wt: Unit Weight or Specific Weight

unit_wtR Documentation

Unit Weight or Specific Weight

Description

This function solves for the unit weight or specific weight of a substance using only the substance's density and gravitational acceleration.

Usage

unit_wt(rho, units = c("SI", "Eng"), Eng_units = c("slug/ft^3", "lbm/ft^3"))

Arguments

rho

numeric vector that contains the density

units

character vector that contains the system of units [options are SI for International System of Units or Eng for English units (United States Customary System in the United States and Imperial Units in the United Kingdom)]

Eng_units

character vector that contains the density English units [options are lbm/ft^3 or slug/ft^3]

Details

The equation is expressed as

\\gamma = \frac{m * g}{V} = \\rho * g = \\rho * \frac{g}{gc}

\gamma

unit weight or specific weight (N/m^3 or lbf/ft^3)

m

substance mass (kg, lbm, or slugs)

g

gravitational acceleration (m/s^2 or ft/sec^2)

gc

"unit conversion factor used to convert mass to force or vice versa" (lbm-ft/lbf-sec^2)

V

the volume of the substance (m^3 or ft^3)

\rho

substance density (mass divided by volume) [kg/m^3, slug/ft^3", or lbm/ft^3]

Value

the unit weight or specific weight as a numeric vector. The units are not returned.

Author(s)

Irucka Embry

References

  1. The Engineering ToolBox, 27 March 2022, "Water - Density, Specific Weight and Thermal Expansion Coefficients", https://www.engineeringtoolbox.com/water-density-specific-weight-d_595.html

  2. WikiEngineer, 27 March 2022, "Water Properties & Definitions", https://web.archive.org/web/20210412034245/http://www.wikiengineer.com/Water-Resources/PropertiesAndDefinitions. Retrieved thanks to the Internet Archive: Wayback Machine

  3. Wikimedia Foundation, Inc. Wikipedia, 27 March 2022, "gc (engineering)", https://en.wikipedia.org/wiki/Gc_(engineering).

  4. Wikimedia Foundation, Inc. Wikipedia, 27 March 2022, "Specific weight", https://en.wikipedia.org/wiki/Specific_weight.

Examples

# Examples

library(iemisc)

rho1 <- density_water(Temp = 68, units = "Eng", Eng_units = "slug/ft^3")

unit_wt(rho = rho1, units = "Eng", Eng_units = "slug/ft^3")


rho2 <- density_water(Temp = 68, units = "Eng", Eng_units = "lbm/ft^3")

unit_wt(rho = rho2, units = "Eng", Eng_units = "lbm/ft^3")


rho3 <- density_water(Temp = 20, units = "SI")

unit_wt(rho = rho3, units = "SI")





iemisc documentation built on June 22, 2024, 9:45 a.m.