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

Get PVT model information in the plugin #407

Open
ckiyono opened this issue Sep 18, 2024 · 0 comments
Open

Get PVT model information in the plugin #407

ckiyono opened this issue Sep 18, 2024 · 0 comments

Comments

@ckiyono
Copy link

ckiyono commented Sep 18, 2024

  • alfasim-sdk version: latest
  • Python version: 3.10
  • Operating System: linux, win

Description

In the plugin, I need to associate the non-newtonian parameters to a pvt model that already exists.
Right now, I'm using the exact name of the pvt model, but it is error prone.
image

We need this field to be a Reference to all the PVT models defined in the project
image

Also, when calling the following hooks [HOOK_CALCULATE_UCM_FRICTION_FACTOR_STRATIFIED, HOOK_CALCULATE_UCM_FRICTION_FACTOR_ANNULAR], we need to know wich pvt model is being used at that UCM,
so we can pick the properties from the correct non-newtonian fluid.

What I Did

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
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

1 participant