GeochemistryConsoleOutput

This Output writes information to the console regarding the geochemical system (defined by the geochemistry_reactor) at a particular point that is defined by a NearestNodeNumber UserObject. It is quite verbose since it provides information about molalities, free masses, bulk compositions, surface characteristics and Nernst information for all relevant species, as well as descriptive characteristics such as temperature, pH, and ionic strength. It should therefore be used with caution otherwise your std::out will rapidly fill up, but it is useful for understanding and debugging models.

Usually this Output is added using Actions such as the TimeIndependentReactionSolver and the TimeDependentReactionSolver.

Advanced users may wish to add these objects manually to their input files. Here is an example:

[Outputs]
  [specially_added]
    type = GeochemistryConsoleOutput
    geochemistry_reactor = reactor_name
    precision = 8 # 8 digits of precision
    mol_cutoff = 1E-8 # species with molality or mole-number lower than this are not outputted
    solver_info = true
    nearest_node_number_UO = nearest_node
    execute_on = 'final' # just output at the end of the simulation
  []
[]
(modules/geochemistry/test/tests/geochemistry_console_output/console.i)

Input Parameters

  • geochemistry_reactorThe name of the GeochemistryReactor UserObject

    C++ Type:UserObjectName

    Controllable:No

    Description:The name of the GeochemistryReactor UserObject

  • nearest_node_number_UOThe NearestNodeNumber UserObject that defines the physical point at which to query the GeochemistryReactor

    C++ Type:UserObjectName

    Controllable:No

    Description:The NearestNodeNumber UserObject that defines the physical point at which to query the GeochemistryReactor

Required Parameters

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

    C++ Type:ExecFlagEnum

    Options:NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, FAILED, CUSTOM, ALWAYS

    Controllable:No

    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, FAILED, CUSTOM, ALWAYS.

  • end_stepTime step at which this output object stop operating

    C++ Type:int

    Controllable:No

    Description:Time step at which this output object stop operating

  • execute_onINITIAL TIMESTEP_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, FAILED, CUSTOM, ALWAYS.

    Default:INITIAL TIMESTEP_END

    C++ Type:ExecFlagEnum

    Options:NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, FAILED, CUSTOM, ALWAYS

    Controllable:No

    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, FAILED, CUSTOM, ALWAYS.

  • mol_cutoff1e-40Information regarding species with molalities less than this amount will not be outputted

    Default:1e-40

    C++ Type:double

    Controllable:No

    Description:Information regarding species with molalities less than this amount will not be outputted

  • precision4Precision for printing values

    Default:4

    C++ Type:unsigned int

    Controllable:No

    Description:Precision for printing values

  • solver_infoFalsePrint information (to the console) from the solver including residuals, swaps, etc

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Print information (to the console) from the solver including residuals, swaps, etc

  • start_stepTime step at which this output object begins to operate

    C++ Type:int

    Controllable:No

    Description:Time step at which this output object begins to operate

  • stoichiometry_tolerance1e-06if abs(any stoichiometric coefficient) < stoi_tol then it is set to zero, and so will not appear in the output

    Default:1e-06

    C++ Type:double

    Controllable:No

    Description:if abs(any stoichiometric coefficient) < stoi_tol then it is set to zero, and so will not appear in the output

  • use_displacedFalseEnable/disable the use of the displaced mesh for outputting

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Enable/disable the use of the displaced mesh for outputting

Optional Parameters

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

    C++ Type:std::vector<std::string>

    Controllable:No

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

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Controllable:Yes

    Description:Set the enabled status of the MooseObject.

Advanced Parameters

  • end_timeTime at which this output object stop operating

    C++ Type:double

    Controllable:No

    Description:Time at which this output object stop operating

  • interval1The interval at which time steps are output to the solution file

    Default:1

    C++ Type:unsigned int

    Controllable:No

    Description:The interval at which time steps are output to the solution file

  • start_timeTime at which this output object begins to operate

    C++ Type:double

    Controllable:No

    Description:Time at which this output object begins to operate

  • sync_onlyFalseOnly export results at sync times

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Only export results at sync times

  • sync_timesTimes at which the output and solution is forced to occur

    C++ Type:std::vector<double>

    Controllable:No

    Description:Times at which the output and solution is forced to occur

  • time_tolerance1e-14Time tolerance utilized checking start and end times

    Default:1e-14

    C++ Type:double

    Controllable:No

    Description:Time tolerance utilized checking start and end times

Timing Parameters

Input Files