darsia.CO2MassAnalysis#
- class CO2MassAnalysis(baseline, *args, system=None, **kwargs)[source]#
Bases:
FluidMassAnalysisMass 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
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.
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 of gaseous CO2 (alias of density_gas).
has_gasWhether the system has a gas phase.
height_maphydrostatic_statePressure and temperature fields of the current state (None without baseline).
max_densityLargest mass per volume of a phase in kg/m3 (for example for plot ranges).
Solubility of CO2 in water (alias of aqueous_capacity).
systemFluid system providing densities and the aqueous capacity.
baselineBaseline image (geometry of the pressure and temperature fields).
atmospheric_pressureAtmospheric pressure in bar.
atmospheric_temperatureTemperature in Celsius.
atmospheric_pressure_gradientAtmospheric pressure gradient in bar per unit height.
atmospheric_temperature_gradientTemperature gradient in Celsius per unit height.
- 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).