From 3c086b44603f7316814f4d1756750543dfe88893 Mon Sep 17 00:00:00 2001 From: Patrick McDonagh Date: Tue, 28 Jun 2016 12:48:55 -0500 Subject: [PATCH] removes wellID from ReadData --- ReadData/ReadData/ReadData/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReadData/ReadData/ReadData/Program.cs b/ReadData/ReadData/ReadData/Program.cs index 4ccac4b..ec5e217 100644 --- a/ReadData/ReadData/ReadData/Program.cs +++ b/ReadData/ReadData/ReadData/Program.cs @@ -15,9 +15,9 @@ namespace ReadData well1.clearTopArrays (); DateTime now = DateTime.Now; string dtime = now.ToString("_yyyyMMdd_HHmmss"); - well1.readSetup (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Input\wellParamsIn_" + well1.wellID + ".csv"); + well1.readSetup (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Input\wellParamsIn_0.csv"); well1.taperCompute(well1.buf_dt, well1.buf_tubingHeadPressure, well1.buf_fluidGradient, well1.buf_sbfriction, well1.buf_numTapers, well1.buf_c, well1.buf_rodLength, well1.buf_rodDiameter, well1.buf_rodYM); - well1.writeSetup (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Output\wellParamsOut" + well1.wellID+dtime + ".csv"); + well1.writeSetup (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Output\wellParamsOut" + dtime + ".csv"); var reader = new StreamReader (File.OpenRead (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Input\test_surface.csv")); var csv = new StreamWriter (@"C:\Dropbox (Henry Pump)\Patrick_McDonagh\Customers\Oxy\Downhole Algorithm DLL\Testing\Cards\test_downhole" + dtime + ".csv"); csv.WriteLine ("downhole_position, downhole_load, surface_position,surface_load,status");