Provide Simulator's Dynamic CTF in data::Connection

This is in preparation of implementing the WELPI feature.
This commit is contained in:
Bård Skaflestad
2020-10-05 23:14:24 +02:00
parent 14e34378b0
commit e39333895c
3 changed files with 8 additions and 4 deletions
+2
View File
@@ -168,6 +168,8 @@ Opm::data::Connection getConnection()
con1.cell_saturation_water = 5.0;
con1.cell_saturation_gas = 6.0;
con1.effective_Kh = 7.0;
con1.trans_factor = 8.0;
return con1;
}
+3 -3
View File
@@ -240,8 +240,8 @@ void test_readWriteWells()
* the connection keys (active indices) and well names correspond to the
* input deck. All other entries in the well structures are arbitrary.
*/
w1.connections.push_back( { 88, rc1, 30.45, 123.45, 0.0, 0.0, 0.0, 0.0 } );
w1.connections.push_back( { 288, rc2, 33.19, 67.89, 0.0, 0.0, 0.0, 0.0 } );
w1.connections.push_back( { 88, rc1, 30.45, 123.45, 0.0, 0.0, 0.0, 0.0, 123.456 } );
w1.connections.push_back( { 288, rc2, 33.19, 67.89, 0.0, 0.0, 0.0, 0.0, 123.456 } );
w2.rates = r2;
w2.bhp = 2.34;
@@ -249,7 +249,7 @@ void test_readWriteWells()
w2.control = 1;
//w1.injectionControl = 2;
//w1.productionControl = 2;
w2.connections.push_back( { 188, rc3, 36.22, 19.28, 0.0, 0.0, 0.0, 0.0 } );
w2.connections.push_back( { 188, rc3, 36.22, 19.28, 0.0, 0.0, 0.0, 0.0, 123.456 } );
Opm::data::Wells wellRates;