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

vtk via python script and not command line #169

Open
geowomen opened this issue May 8, 2024 · 1 comment
Open

vtk via python script and not command line #169

geowomen opened this issue May 8, 2024 · 1 comment

Comments

@geowomen
Copy link

geowomen commented May 8, 2024

Sure, here's a corrected version:


Dear Keurfonluu, Dear all,

I'm using these two commands at the terminal:

toughio-export OUTPUT_ELEME.csv -m mesh_2.pickle -f xdmf
toughio-extract TH_T1_12_02.inp.out TH_T1_12_02.inp

and everything works fine.

I want to know how I can export to an xdmf file with a script in Python to automate things.

@keurfonluu
Copy link
Owner

Hi,

You can use the function toughio.write_time_series.

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