OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
ChannelThermalData.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2
11
12#pragma once
13#include <string>
14#include <vector>
15namespace openswmm {
16// Solver-neutral finite channel water. Region IDs belong to the actual
17// transport engine; ARD regions are cells, LEGACY/LARD regions are links.
18// Along-reach fractions map hydraulic discretization onto the full polyline.
20 int link = -1, region = -1;
21 double begin = 0, end = 1;
22 double volume = 0, temperature = 0; // SI m3 and degC
23 double length = 0, surface_area = 0, bed_area = 0, depth = 0; // SI m, m2, m2, m
24};
26 int link = -1, region = -1;
27 double celsius = 0;
28};
29// Finite channel region and signed concentration update for reciprocal 2D
30// porewater contacts. Rows use the channel transport owner's pollutant, age,
31// temperature ordering; temperature is carried separately by the heat API.
33 int link = -1, region = -1;
34 double begin = 0, end = 1, volume = 0;
35 std::vector<std::string> row_names;
36 std::vector<double> concentration;
37};
39 int link = -1, region = -1;
40 std::vector<double> concentration_delta;
41};
42} // namespace openswmm
Definition ExchangeLaw.hpp:60
Definition ChannelThermalData.hpp:38
int link
Definition ChannelThermalData.hpp:39
std::vector< double > concentration_delta
Definition ChannelThermalData.hpp:40
int region
Definition ChannelThermalData.hpp:39
Definition ChannelThermalData.hpp:32
int link
Definition ChannelThermalData.hpp:33
double begin
Definition ChannelThermalData.hpp:34
std::vector< std::string > row_names
Definition ChannelThermalData.hpp:35
std::vector< double > concentration
Definition ChannelThermalData.hpp:36
double end
Definition ChannelThermalData.hpp:34
int region
Definition ChannelThermalData.hpp:33
double volume
Definition ChannelThermalData.hpp:34
Definition ChannelThermalData.hpp:25
double celsius
Definition ChannelThermalData.hpp:27
int region
Definition ChannelThermalData.hpp:26
int link
Definition ChannelThermalData.hpp:26
Definition ChannelThermalData.hpp:19
int link
Definition ChannelThermalData.hpp:20
double end
Definition ChannelThermalData.hpp:21
double temperature
Definition ChannelThermalData.hpp:22
double depth
Definition ChannelThermalData.hpp:23
double surface_area
Definition ChannelThermalData.hpp:23
double bed_area
Definition ChannelThermalData.hpp:23
double begin
Definition ChannelThermalData.hpp:21
double volume
Definition ChannelThermalData.hpp:22
int region
Definition ChannelThermalData.hpp:20
double length
Definition ChannelThermalData.hpp:23