# PorousFlowBrineCO2

Fluid state class for brine and CO2

A high precision equation of state for brine and CO, including the mutual solubility of CO into the liquid brine and water vapor into the CO-rich gas phase using the accurate fugacity-based formulation of Spycher et al. (2003) and Spycher et al. (2005).

This model is suitable for simulations of geological storage of CO in saline aquifers.

For more details, see the documentation of the brine and CO equation of state.

## Input Parameters

• capillary_pressureName of the UserObject defining the capillary pressure

C++ Type:UserObjectName

Options:

Description:Name of the UserObject defining the capillary pressure

• brine_fpThe name of the user object for brine

C++ Type:UserObjectName

Options:

Description:The name of the user object for brine

• co2_fpThe name of the user object for CO2

C++ Type:UserObjectName

Options:

Description:The name of the user object for CO2

### Required Parameters

• execute_onTIMESTEP_ENDThe list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.

Default:TIMESTEP_END

C++ Type:ExecFlagEnum

Options:NONE INITIAL LINEAR NONLINEAR TIMESTEP_END TIMESTEP_BEGIN FINAL CUSTOM

Description:The list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM.

• liquid_phase_number0The phase number of the liquid phase

Default:0

C++ Type:unsigned int

Options:

Description:The phase number of the liquid phase

• salt_component2The component number of salt

Default:2

C++ Type:unsigned int

Options:

Description:The component number of salt

• liquid_fluid_component0The fluid component number of the primary liquid component

Default:0

C++ Type:unsigned int

Options:

Description:The fluid component number of the primary liquid component

### Optional Parameters

• control_tagsAdds user-defined labels for accessing object parameters via control logic.

C++ Type:std::vector

Options:

Description:Adds user-defined labels for accessing object parameters via control logic.

• enableTrueSet the enabled status of the MooseObject.

Default:True

C++ Type:bool

Options:

Description:Set the enabled status of the MooseObject.

• allow_duplicate_execution_on_initialFalseIn the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).

Default:False

C++ Type:bool

Options:

Description:In the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).

• force_preauxFalseForces the GeneralUserObject to be executed in PREAUX

Default:False

C++ Type:bool

Options:

Description:Forces the GeneralUserObject to be executed in PREAUX

• use_displaced_meshFalseWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

Default:False

C++ Type:bool

Options:

Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

1. N. Spycher, K. Pruess, and J. Ennis-King. CO$_2$-H$_2$O mixtures in the geological sequestration of CO$_2$. I. Assessment and calculation of mutual solubilities from 12 to 100C and up to 600 bar. Geochimica et Cosmochimica Acta, 67:3015–3031, 2003.[BibTeX]
2. N. Spycher, K. Pruess, and J. Ennis-King. CO$_2$-H$_2$O mixtures in the geological sequestration of CO$_2$. II. Partitioning in chloride brine at 12-100C and up to 600 bar. Geochimica et Cosmochimica Acta, 69:3309–3320, 2005.[BibTeX]