From: Andrew S. <ast...@ya...> - 2020-09-21 21:20:32
|
Hello, I am fairly new to ASCEND, and I have just discovered the Data Reader external library function, which seems a good fit for my application. I would like to use Data Reader to interpolate tabulated data from a CSV file with two columns: temperature [K] and thermal conductivity integral [W/m]. I have achieved the desired results so far by creating a separate data reader object for each temperature variable. For instance, if I divide my part of interest into four segments, then I declare four temperature variables and create four data readers to access the same CSV file to return the thermal conductivity for each of the four segments. Upon loading the model, I get four solver messages that basically say "Created data reader at Memory Location" and "Read ### Lines". So it appears that each data reader I create reads in all the information from the CSV file. Now I would like to discretize my part of interest into many more segments (hundreds possibly). Using my current method, I will need to create hundreds of data readers that all read in the same exact information. Is it possible to create a single data reader that can be accessed by multiple temperature variables to return the corresponding interpolated thermal conductivity integral? Thank you,Andrew Stubblefield |