|
| static void | get_input (string filename, out double A_C, out double C_W, out double h_C, out double T_init, out double t_final, out double L, out double T_C, out double t_step, out double rho_W, out double D, out double A_tol, out double R_tol, out double E_W) |
| | Reads input from a file with the given file name.
|
| static double | derived_values (double D, double L) |
| | Calculates values that can be immediately derived from the inputs.
|
| static void | input_constraints (double A_C, double C_W, double h_C, double T_init, double t_final, double L, double T_C, double t_step, double rho_W, double D, double E_W) |
| | Verifies that input values satisfy the physical constraints and software constraints.
|
◆ derived_values()
| double InputParameters.derived_values |
( |
double | D, |
|
|
double | L ) |
|
inlinestatic |
Calculates values that can be immediately derived from the inputs.
- Parameters
-
| D | diameter of tank (m) |
| L | length of tank (m) |
- Returns
- volume of the cylindrical tank (m^3)
◆ get_input()
| void InputParameters.get_input |
( |
string | filename, |
|
|
out double | A_C, |
|
|
out double | C_W, |
|
|
out double | h_C, |
|
|
out double | T_init, |
|
|
out double | t_final, |
|
|
out double | L, |
|
|
out double | T_C, |
|
|
out double | t_step, |
|
|
out double | rho_W, |
|
|
out double | D, |
|
|
out double | A_tol, |
|
|
out double | R_tol, |
|
|
out double | E_W ) |
|
inlinestatic |
Reads input from a file with the given file name.
- Parameters
-
| filename | name of the input file |
| A_C | heating coil surface area (m^2) |
| C_W | specific heat capacity of water (J/(kg degreeC)) |
| h_C | convective heat transfer coefficient between coil and water (W/(m^2 degreeC)) |
| T_init | initial temperature (degreeC) |
| t_final | final time (s) |
| L | length of tank (m) |
| T_C | temperature of the heating coil (degreeC) |
| t_step | time step for simulation (s) |
| rho_W | density of water (kg/m^3) |
| D | diameter of tank (m) |
| A_tol | absolute tolerance |
| R_tol | relative tolerance |
| E_W | change in heat energy in the water (J) |
◆ input_constraints()
| void InputParameters.input_constraints |
( |
double | A_C, |
|
|
double | C_W, |
|
|
double | h_C, |
|
|
double | T_init, |
|
|
double | t_final, |
|
|
double | L, |
|
|
double | T_C, |
|
|
double | t_step, |
|
|
double | rho_W, |
|
|
double | D, |
|
|
double | E_W ) |
|
inlinestatic |
Verifies that input values satisfy the physical constraints and software constraints.
- Parameters
-
| A_C | heating coil surface area (m^2) |
| C_W | specific heat capacity of water (J/(kg degreeC)) |
| h_C | convective heat transfer coefficient between coil and water (W/(m^2 degreeC)) |
| T_init | initial temperature (degreeC) |
| t_final | final time (s) |
| L | length of tank (m) |
| T_C | temperature of the heating coil (degreeC) |
| t_step | time step for simulation (s) |
| rho_W | density of water (kg/m^3) |
| D | diameter of tank (m) |
| E_W | change in heat energy in the water (J) |
The documentation for this class was generated from the following file: