darsia.CO2MassAnalysis#

class CO2MassAnalysis(baseline, *args, system=None, **kwargs)[source]#

Bases: FluidMassAnalysis

Mass analysis of CO2 in water (two-phase FluidMassAnalysis).

Kept for compatibility: CO2-specific names of the generic properties.

Constructor, see FluidMassAnalysis; default system is water and CO2.

Methods

atmospheric_temperature_map()

Return atmospheric temperature map due to gradient.

inverse_mass_analysis(mass)

Fields c_aq and s_g from a (rescaled) total mass map; recompute the masses.

inverse_mass_fields(mass[, scale, phase_masses])

Fields of inverse_mass_analysis(darsia.weight(mass, scale)), as needed.

log(path)

Plot the aqueous capacity and, with a gas phase, the gas density.

mass_analysis(c_aq[, s_g])

Mass of the injected component, given the fields c_aq and s_g.

on_grid(baseline)

Fluid model with the pressure and temperature fields on the grid of baseline.

row_properties(shape)

Gas density and aqueous capacity per pixel row, if they define the mass.

setup_density_gaseous_co2()

Evaluate the properties of the current state (alias of setup_state).

setup_state()

Evaluate the fluid properties of the current state.

top_atmospheric_pressure()

update_state([atmospheric_pressure, ...])

Update atmospheric pressure and temperature, and their gradients.

Attributes

density_gaseous_co2

Density of gaseous CO2 (alias of density_gas).

has_gas

Whether the system has a gas phase.

height_map

hydrostatic_state

Pressure and temperature fields of the current state (None without baseline).

max_density

Largest mass per volume of a phase in kg/m3 (for example for plot ranges).

solubility_co2

Solubility of CO2 in water (alias of aqueous_capacity).

system

Fluid system providing densities and the aqueous capacity.

baseline

Baseline image (geometry of the pressure and temperature fields).

atmospheric_pressure

Atmospheric pressure in bar.

atmospheric_temperature

Temperature in Celsius.

atmospheric_pressure_gradient

Atmospheric pressure gradient in bar per unit height.

atmospheric_temperature_gradient

Temperature gradient in Celsius per unit height.

atmospheric_temperature_map()[source]#

Return atmospheric temperature map due to gradient.

setup_density_gaseous_co2()[source]#

Evaluate the properties of the current state (alias of setup_state).

property density_gaseous_co2#

Density of gaseous CO2 (alias of density_gas).

property solubility_co2#

Solubility of CO2 in water (alias of aqueous_capacity).