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

General discussion about Elmer
Post Reply
ScientistRenzo
Posts: 57
Joined: 14 Mar 2021, 21:01
Antispam: Yes

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

Post 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
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

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

Post 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.
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

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

Post by kevinarden »

Header
CHECK KEYWORDS Warn
Mesh DB "." ""
Include Path ""
Results Directory "myresultsdirectoryname"
End
ScientistRenzo
Posts: 57
Joined: 14 Mar 2021, 21:01
Antispam: Yes

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

Post by ScientistRenzo »

Yessssssssirrrrr

Thanks Rich Perfect!

You did it! :D :D

Thanks kevin!!!!
ScientistRenzo
Posts: 57
Joined: 14 Mar 2021, 21:01
Antispam: Yes

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

Post 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.
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

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

Post 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
ScientistRenzo
Posts: 57
Joined: 14 Mar 2021, 21:01
Antispam: Yes

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

Post by ScientistRenzo »

Alright. It's no problem. Thanks 8-)
Post Reply