# Simple: I changed the default directory of .vtu files and now I have a small error/have to open the files.

**URL:** https://discourse.paraview.org/t/simple-i-changed-the-default-directory-of-vtu-files-and-now-i-have-a-small-error-have-to-open-the-files/6875
**Category:** ParaView Support
**Created:** [April 5, 2021, 6:10pm UTC](https://discourse.paraview.org/t/simple-i-changed-the-default-directory-of-vtu-files-and-now-i-have-a-small-error-have-to-open-the-files/6875 "2021-04-05T18:10:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ScientistRenzo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/scientistrenzo/32/6271_2.png) [@ScientistRenzo](https://discourse.paraview.org/u/ScientistRenzo)
#### Post date: [April 5, 2021, 6:10pm UTC](https://discourse.paraview.org/t/simple-i-changed-the-default-directory-of-vtu-files-and-now-i-have-a-small-error-have-to-open-the-files/6875/1 "2021-04-05T18:10:59Z")

</div>

Helloo!

So I use Elmer (FEA) with ParaView.

I simulate a project in Elmer, then the files are saved as .vtu files in my /elmerprojectdirectory.  
Then in Elmer, I click Start ParaView, and my .vtu (group) files are loaded up automatically.

Well, for a say 100 second simulation, I would get 100 .vtu files in my /elmerprojectdirectory and I wanted to organize this.

So I did. Now when I simulate in Elmer, the files are saved in a subdirectory /elmerprojectdirectory/vtufiles.

Well, now when I Start ParaView, I get  
critical: In unknown, line 0

critical: Cannot open data file " case\_t0001.vtu "

 ![image](https://discourse.paraview.org/uploads/default/original/2X/4/4724b3c0524e32ebf27dfb3416d9332f405f1a29.png)

and I have to navigate to the .vtu group using File → Open.

Do you know how I can fix this by automating ParaView opening the subdirectory /elmerprojectdirectory/vtufiles rather than searching the Elmer project directory /elmerprojectdirectory for the .vtu group

Thanks!!!

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [April 5, 2021, 8:25pm UTC](https://discourse.paraview.org/t/simple-i-changed-the-default-directory-of-vtu-files-and-now-i-have-a-small-error-have-to-open-the-files/6875/2 "2021-04-05T20:25:09Z")

</div>

Not sure how you got ParaView to automatically load your files on startup…are you loading a state file, using command line arguments? That’s what you need to update to load files from the new location.

---

<div class="post-metadata">

### Author: ![ScientistRenzo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/scientistrenzo/32/6271_2.png) [@ScientistRenzo](https://discourse.paraview.org/u/ScientistRenzo)
#### Post date: [April 7, 2021, 4:30am UTC](https://discourse.paraview.org/t/simple-i-changed-the-default-directory-of-vtu-files-and-now-i-have-a-small-error-have-to-open-the-files/6875/3 "2021-04-07T04:30:07Z")

</div>

In response to your helpful help, I posted on Elmer’s forum. Here [Can I change the way .vtu files are saved within the project directory? - Elmer Discussion Forum (elmerfem.org)](http://www.elmerfem.org/forum/viewtopic.php?f=7&t=7426&p=24826#p24826). I imagine they will be able to help.

Thanks Utkarsh 😃

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [April 7, 2021, 11:28pm UTC](https://discourse.paraview.org/t/simple-i-changed-the-default-directory-of-vtu-files-and-now-i-have-a-small-error-have-to-open-the-files/6875/4 "2021-04-07T23:28:24Z")

</div>

Looks like it’s something to do with how ElmerGUI launcher ParaView – consequently, that question is indeed more suitable for that forum.

---

<div class="post-metadata">

### Author: ![ScientistRenzo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/scientistrenzo/32/6271_2.png) [@ScientistRenzo](https://discourse.paraview.org/u/ScientistRenzo)
#### Post date: [April 8, 2021, 5:04am UTC](https://discourse.paraview.org/t/simple-i-changed-the-default-directory-of-vtu-files-and-now-i-have-a-small-error-have-to-open-the-files/6875/5 "2021-04-08T05:04:56Z")

</div>

Thanks 🙂
