Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INCON block data #39

Open
jousheinfo opened this issue May 7, 2022 · 1 comment
Open

INCON block data #39

jousheinfo opened this issue May 7, 2022 · 1 comment

Comments

@jousheinfo
Copy link

Hi, I am trying to set my INCON block data up, but I have the following problem: I have 2 separated dataframes Pwell for pressure (X1) and Twell for temperature (X4) and want to iterate though all the element of each dataframe and take those values as X1 and X4. Here is part of the code:

PYTOUGH INCON

But, for any reason it only takes the first value of the DataFrame even though it is been iterated.

INCON input file

I have been trying everything, I converted the DataFrame to list or array, but nothing works. I also tried the function extend(), but it takes the first 4 elements of the first dataframe Pwell horizontally and then it repeats in all rows. I would very much appreciate your help. Thank you for your time!

@acroucher
Copy link
Owner

It looks to me like you are using PyTOUGH correctly in the script. But I am not that familiar with DataFrames, so I don't know if how you are getting the data out of Pwell and Twell is correct or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants