From 506a1a3ff53c2342da3cedbe4c727517b7647c84 Mon Sep 17 00:00:00 2001
From: "robbberto88@gmail.com" <robbberto88@gmail.com>
Date: Mon, 25 Apr 2022 15:20:15 -0400
Subject: [PATCH] update fluid inputs for pressure and thermodynamic pressure

---
 .../source/inputs/InputsProblemDefinition.rst | 24 +++++++------------
 1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/docs/source/inputs/InputsProblemDefinition.rst b/docs/source/inputs/InputsProblemDefinition.rst
index 194f16a..14c2606 100644
--- a/docs/source/inputs/InputsProblemDefinition.rst
+++ b/docs/source/inputs/InputsProblemDefinition.rst
@@ -246,6 +246,9 @@ The following inputs must be preceded by the given to the fluid solver e.g., "fl
 | thermal_conductivity.constant            | Value of constant fluid thermal conductivity [required   |  Real  |  None    |
 |                                          | if thermal_conductivity_model='constant'].               |        |          |
 +------------------------------------------+----------------------------------------------------------+--------+----------+
+| thermodynamic_pressure                   | Value of the thermodynamic pressure [required if the     |  Real  |  0       |
+|                                          | constraint type is IdealGasClosedSystem]                 |        |          |
++------------------------------------------+----------------------------------------------------------+--------+----------+
 | reference_temperature                    | Value of the reference temperature used for specific     |  Real  |  0       |
 |                                          | enthalpy                                                 |  Real  |  0       |
 +------------------------------------------+----------------------------------------------------------+--------+----------+
@@ -260,11 +263,11 @@ The following inputs must be preceded by the given to the fluid solver e.g., "fl
 |                                          | different than the value specified in the species        |        |          |
 |                                          | model settings                                           |        |          |
 +------------------------------------------+----------------------------------------------------------+--------+----------+
-| damped_newton.absolute_tol               | Define absolute tolerance for Damped-Newton solver       |  Real  |  1.e-8   |
+| newton_solver.absolute_tol               | Define absolute tolerance for Damped-Newton solver       |  Real  |  1.e-8   |
 +------------------------------------------+----------------------------------------------------------+--------+----------+
-| damped_newton.relative_tol               | Define relative tolerance for Damped-Newton solver       |  Real  |  1.e-8   |
+| newton_solver.relative_tol               | Define relative tolerance for Damped-Newton solver       |  Real  |  1.e-8   |
 +------------------------------------------+----------------------------------------------------------+--------+----------+
-| damped_newton.max_iterations             | Define max number of iterations for Damped-Newton solver |  int   |  500     |
+| newton_solver.max_iterations             | Define max number of iterations for Damped-Newton solver |  int   |  500     |
 +------------------------------------------+----------------------------------------------------------+--------+----------+
 
 Below is an example for specifying fluid solver model options.
@@ -309,11 +312,11 @@ models.
 |                              | the SOLIDS solver. The user defined names are used to    |          |          |
 |                              | specify DEM and/or PIC model inputs.                     |          |          |
 +------------------------------+----------------------------------------------------------+----------+----------+
-| damped_newton.absolute_tol   | Define absolute tolerance for Damped-Newton solver       |  Real    |  1.e-6   |
+| newton_solver.absolute_tol   | Define absolute tolerance for Damped-Newton solver       |  Real    |  1.e-6   |
 +------------------------------+----------------------------------------------------------+----------+----------+
-| damped_newton.relative_tol   | Define relative tolerance for Damped-Newton solver       |  Real    |  1.e-6   |
+| newton_solver.relative_tol   | Define relative tolerance for Damped-Newton solver       |  Real    |  1.e-6   |
 +------------------------------+----------------------------------------------------------+----------+----------+
-| damped_newton.max_iterations | Define max number of iterations for Damped-Newton solver |  int     |  100     |
+| newton_solver.max_iterations | Define max number of iterations for Damped-Newton solver |  int     |  100     |
 +------------------------------+----------------------------------------------------------+----------+----------+
 
 The following inputs define the single solids properties.
@@ -530,13 +533,8 @@ For a fluid phase, the following inputs can be defined.
 +------------------------+------------------------------------------------------------------------+-------------+-----------+
 | density                | Fluid density                                                          | Real        | None      |
 +------------------------+------------------------------------------------------------------------+-------------+-----------+
-| pressure               | Fluid pressure                                                         | Real        | None      |
-+------------------------+------------------------------------------------------------------------+-------------+-----------+
 | temperature            | Fluid temperature                                                      | Real        | None      |
 +------------------------+------------------------------------------------------------------------+-------------+-----------+
-| thermodynamic_pressure | Fluid thermodynamic pressure [exactly two between density, temperature | Real        | 0.0       |
-|                        | and thermodynamic pressure required in case of Ideal Gas EOS]          |             |           |
-+------------------------+------------------------------------------------------------------------+-------------+-----------+
 | velocity               | Velocity components                                                    | Reals       | None      |
 +------------------------+------------------------------------------------------------------------+-------------+-----------+
 | species.[species0]     | Species 'species0' mass fraction                                       | Reals       | None      |
@@ -622,7 +620,6 @@ Below is an example for specifying an initial condition for a fluid (fluid) and
    ic.bed.fluid.density   =  1.0
    ic.bed.fluid.velocity  =  0.015  0.00  0.00
    ic.bed.fluid.temperature =  383.0
-   ic.bed.fluid.thermodynamic_pressure =  101325.0
    ic.bed.fluid.species.H20 =  0.3
    ic.bed.fluid.species.He =  0.2
    ic.bed.fluid.species.O2 =  0.5
@@ -685,9 +682,6 @@ For a fluid phase, the following inputs can be defined.
 +------------------------+------------------------------------------------------------------------+-------------+-----------+
 | temperature            | Fluid temperature [required if bc_region_type='mi' or 'pi']            | Real        | 0.0       |
 +------------------------+------------------------------------------------------------------------+-------------+-----------+
-| thermodynamic_pressure | Fluid thermodynamic pressure [exactly two between density, temperature | Real        | 0.0       |
-|                        | and thermodynamic pressure required in case of Ideal Gas EOS]          |             |           |
-+------------------------+------------------------------------------------------------------------+-------------+-----------+
 | velocity               | Velocity components [required if bc_region_type='mi']                  | Reals       | None      |
 +------------------------+------------------------------------------------------------------------+-------------+-----------+
 | delp_dir               | Direction for specified pressure drop. Note that this direction        | Int         | 0         |
-- 
GitLab