sp_gravity | R Documentation |
This function solves for the specific volume of a substance using only the substance's density and the density of water.
sp_gravity(
rho_w,
rho_s,
units = c("SI", "Eng"),
Eng_units = c("slug/ft^3", "lbm/ft^3")
)
rho_w |
numeric vector that contains the density of water |
rho_s |
numeric vector that contains the density of the substance |
units |
character vector that contains the system of units [options are
|
Eng_units |
character vector that contains the unit for the density of water [options are slug/ft^3 or lbm/ft^3] |
The equation is expressed as
SG = \frac{\\rho_s}{\\gamma_w} = \frac{\\rho_s}{\\rho_w}
specific volume (dimensionless)
unit weight or specific weight of water (N/m^3 or lbf/ft^3)
substance density (mass divided by volume) [kg/m^3, slug/ft^3", or lbm/ft^3]
water density (mass divided by volume) [kg/m^3, slug/ft^3", or lbm/ft^3]
the specific volume as a numeric vector
Irucka Embry
Material Properties, 27 March 2022, "Sand – Density – Heat Capacity – Thermal Conductivity", https://material-properties.org/sand-density-heat-capacity-thermal-conductivity/
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
# Examples
install.load::load_package("iemisc", "units")
# The density of sand is 1500 kg/m^3 -- Reference 1
rho_sand <- set_units(1500, "kg/m^3")
# convert this density to slug/ft^3
rho_sand_slug <- rho_sand
# create a numeric vector with the units of slug/ft^3
units(rho_sand_slug) <- make_units(slug/ft^3)
# convert this density to lbm/ft^3
rho_sand_lbm <- rho_sand
# create a numeric vector with the units of lb/ft^3
units(rho_sand_lbm) <- make_units(lb/ft^3)
rho1 <- density_water(Temp = 68, units = "Eng", Eng_units = "slug/ft^3")
sp_gravity(rho_w = rho1, rho_s = rho_sand_slug, units = "Eng", Eng_units = "slug/ft^3")
rho2 <- density_water(Temp = 68, units = "Eng", Eng_units = "lbm/ft^3")
sp_gravity(rho_w = rho2, rho_s = rho_sand_lbm, units = "Eng", Eng_units = "lbm/ft^3")
rho3 <- density_water(Temp = 20, units = "SI")
sp_gravity(rho_w = rho3, rho_s = rho_sand, units = "SI")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.