Fluid Properties System Requirement Specification
Introduction
The Software Requirement Specification (SRS) for Fluid Properties describes the system functional and non-functional requirements that describe the expected interactions that the software shall provide.
Dependencies
The Fluid Properties application is developed using MOOSE and is based on various modules, as such the SRS for Fluid Properties is dependent upon the following documents.
Requirements
The following is a complete list for all the functional requirements for Fluid Properties.
Functional Requirements
- fluid_properties: Auxkernels
- 6.1.1
- 6.1.2
- 6.1.3
- 6.1.4The system shall compute fluid density from pressure and temperature.
- fluid_properties: Brine
- 6.2.1The system shall compute properties of brine
- 6.2.2The system shall compute properties of brine using tabulated water properties
- fluid_properties: Co2
- 6.3.1
- fluid_properties: Fp Interrogator
- 6.4.1The fluid properties interrogator shall output static-state fluid properties for (p, T) input.
- 6.4.2The fluid properties interrogator shall output static-state fluid properties for (p, T) input in JSON format.
- 6.4.3The fluid properties interrogator shall output static-state fluid properties for (rho, e) input.
- 6.4.4The fluid properties interrogator shall output static-state fluid properties for (rho, e) input in JSON format.
- 6.4.5The fluid properties interrogator shall output static-state fluid properties for (rho, p) input.
- 6.4.6The fluid properties interrogator shall output static-state fluid properties for (rho, p) input in JSON format.
- 6.4.7The fluid properties interrogator shall output static-state and stagnation-state fluid properties for (rho, rhou, rhoE) input with a single-phase fluid properties object.
- 6.4.8The fluid properties interrogator shall output static-state and stagnation-state fluid properties for (rho, rhou, rhoE) input with a single-phase fluid properties object in JSON format.
- 6.4.9The fluid properties interrogator shall output two-phase and static-state, single-phase fluid properties for (p, T) input with a two-phase fluid properties object.
- 6.4.10The fluid properties interrogator shall output two-phase and static-state, single-phase fluid properties for (p, T) input with a two-phase fluid properties object in JSON format.
- 6.4.11The fluid properties interrogator shall output two-phase and static-state, single-phase fluid properties for (p, T) input with a two-phase NCG fluid properties object.
- 6.4.12The fluid properties interrogator shall output two-phase and static-state, single-phase fluid properties for (p, T) input with a two-phase NCG fluid properties object in JSON format.
- 6.4.13The fluid properties interrogator shall output static-state, single-phase fluid properties for (rho, e) input with a vapor mixture fluid properties object.
- 6.4.14The fluid properties interrogator shall output static-state, single-phase fluid properties for (rho, e) input with a vapor mixture fluid properties object in JSON format.
- 6.4.15The fluid properties interrogator shall output two-phase fluid properties for (p) input with a two-phase fluid properties object.
- 6.4.16The fluid properties interrogator shall output two-phase fluid properties for (p) input with a two-phase fluid properties object in JSON format.
- 6.4.17The fluid properties interrogator shall output two-phase fluid properties for (T) input with a two-phase fluid properties object.
- 6.4.18The fluid properties interrogator shall output two-phase fluid properties for (T) input with a two-phase fluid properties object in JSON format.
- 6.4.19The fluid properties interrogator shall throw an error if an incompatible fluid properties object is supplied.
- 6.4.20The fluid properties interrogator shall throw an error if an extraneous parameter(s) are supplied.
- 6.4.21The fluid properties interrogator shall throw an error if an no valid input sets were supplied.
- fluid_properties: Functions
- 6.5.1The system shall provide a function that computes saturation pressure from a temperature function
- 6.5.2The system shall provide a function that computes saturation temperature from a pressure function
- fluid_properties: Ics
- 6.6.1The system shall be able to set an initial condition for density given pressure and temperature as variables
- 6.6.2The system shall be able to set an initial condition for density of vapor mixture given pressure and temperature as variables
- 6.6.3The system shall be able to set an initial condition for specific enthalpy given pressure and temperature as variables
- fluid_properties: Ideal Gas
- 6.7.1
- 6.7.2
- fluid_properties: Interfaces
- 6.8.1The system should produce a warning when a scalar NaN is produced and user required that the execution would not terminate
- 6.8.2The system should produce a warning when a vector NaN is produced and user required that the execution would not terminate
- 6.8.3The system should report an error when a NaN is produced by a computation in DEBUG mode, by default
- 6.8.4The system should not report an error when a NaN is produced by a computation in OPT mode, by default
- fluid_properties: Materials
- 6.9.1The system shall provide an AD material that computes saturation temperature.
- 6.9.2The system shall provide an AD material that computes surface tension.
- 6.9.3The system shall provide a material that computes saturation pressure using automatic differentiation material properties.
- 6.9.4The system shall provide a material that computes saturation pressure using non-automatic differentiation material properties.
- fluid_properties: Methane
- 6.10.1
- fluid_properties: Sodium
- 6.11.1The system shall be able to compute liquid sodium properties and compare exactly to analytical expressions.
- 6.11.2The system shall be able to compute liquid sodium properties given constant thermal conductivity and specific heat values.
- fluid_properties: Stiffened Gas
- 6.12.1
- fluid_properties: Tabulated
- 6.13.1
- fluid_properties: Two Phase Fluid Properties Independent
- 6.14.1
- 6.14.2
- 6.14.3
- fluid_properties: Water
- 6.15.1