Skip to content
Discussion options

You must be logged in to vote

If you want to load a csv file, you can use the "lookuptable" class https://idefix.readthedocs.io/latest/programmingguide.html#lookuptable-class
Initialise a lookup table in Setup::Initflow and then use the lookup table to initialise the Vc(RHO....) variable, as shown in the many examples (note that all the examples provided use a host copy of the DataBlock, you should do the same).

Alternatively, you can initialise the flow in python as in this example: test/IO/pydefix

Without showing us your code and the exact error you have, we can't really help.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Rodrigo04-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants