Page 1 of 1

Can I change the way .vtu files are saved within the project directory?

Posted: 04 Apr 2021, 22:13
by ScientistRenzo
Hiya :).

When I solve, I end up with 100+ .vtu files in my project folder.
It would be nice to have them organized into a /vtufiles folder.
Can I change/specify the way .vtu files are saved within the project directory?

Thanks :D
:D

Re: Can I change the way .vtu files are saved within the project directory?

Posted: 04 Apr 2021, 22:42
by Rich_B
Within ElmerGUI, take a look at 'Model', 'Setup', and in the header section you can enter the results directory. That should do what you want?

Rich.

Re: Can I change the way .vtu files are saved within the project directory?

Posted: 04 Apr 2021, 23:07
by kevinarden
Header
CHECK KEYWORDS Warn
Mesh DB "." ""
Include Path ""
Results Directory "myresultsdirectoryname"
End

Re: Can I change the way .vtu files are saved within the project directory?

Posted: 05 Apr 2021, 21:01
by ScientistRenzo
Yessssssssirrrrr

Thanks Rich Perfect!

You did it! :D :D

Thanks kevin!!!!

Re: Can I change the way .vtu files are saved within the project directory?

Posted: 07 Apr 2021, 07:10
by ScientistRenzo
Hmm, now I have an error, maybe you can help.
ParaView used to automatically load the .vtu files: I would click Run -> Start ParaView and the .vtu files would be loaded up

Now, after saving the .vtu files to a new directory (/elmerproject/vtufiles) I get an error on ParaView and I have to navigate to the .vtu files.

After asking ParaView about this, https://discourse.paraview.org/t/simple ... files/6875, I think automating this process can be figured out Here. Hopefully.

Thanks.

Re: Can I change the way .vtu files are saved within the project directory?

Posted: 07 Apr 2021, 17:08
by raback
Hi

I think ElmerGUI assumes that the files are written to the working directory. It does not follow the "Results Directory". But you can always open the files in Paraview were they happen to recide. No need to start the paraview from ElmerGUI. Just have it persistently open.

-Peter

Re: Can I change the way .vtu files are saved within the project directory?

Posted: 07 Apr 2021, 20:12
by ScientistRenzo
Alright. It's no problem. Thanks 8-)