How to open an old file

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Shayor
Posts: 24
Joined: Tue Jan 05, 2021 3:40 pm

How to open an old file

Post by Shayor »

Sorry for my almost foolish question.The thing is though I have learnt a lot about Code Saturne and it's capabilites and run 2-3 simulations I cannot reopen the previous file that I have finished running/solving.How can I do that?I don't find any *hdf file,that is there in File Type when clicking "Open" in the CFD STUDY module,in the case file.

***Note:I am using Salome CFD and have that only and no other option to install Code Saturne separately due to my inexperience and the complexity for involving MED file support,etc while installing.So I am using CFD_STUDY module from Salome CFD.

Thank you.
Yvan Fournier
Posts: 4220
Joined: Mon Feb 20, 2012 3:25 pm

Re: How to open an old file

Post by Yvan Fournier »

Hello,

Using Salome_CFD, you do not need to open an HDF file, simply choose to reopen an existing study under CFD study instead of creating a new one).

Also, if using a Linux terminal is OK for you, running "salome shell" allows you to use the Salome installation but just usie the regular code_saturne commands inside that session.

Best regards,

Yvan
Shayor
Posts: 24
Joined: Tue Jan 05, 2021 3:40 pm

Re: How to open an old file

Post by Shayor »

Thanks a lot.I figured it out.The problem was due to not being able to find anything when clicking "Open" after first entering CFD_STUDY module and also when clicking on "Load existing study" after clicking "New" instead of "Open",but rather another option inside.

I did not understand properly the second part.Could you please explain it more?I am a layman in the Linux OS environment.
Yvan Fournier
Posts: 4220
Joined: Mon Feb 20, 2012 3:25 pm

Re: How to open an old file

Post by Yvan Fournier »

Hello,

For the second part, if you run "salome shell" in a terminal, you will load the correct environment to run all the tools bundled with salome_cfd from the terminal.

This means learning to use "command-line" commands, which may take a bit of time, but then makes it quite easy to navigate. If you can use "cd" to navigate directories and "ls" to list files (and the "man" command for on-line help), you can simply run "code_saturne gui" from within a study to run the code_saturne interface, which will be lighter and more responsive than under the full workbench. You can also run visualizations directly with "paraview", which will be less cluttered than under the workbench. For meshing though, you need the full workbench, unless you use scripts.

Best regards,

Yvan
Shayor
Posts: 24
Joined: Tue Jan 05, 2021 3:40 pm

Re: How to open an old file

Post by Shayor »

Once again can't express my gratitude in words.Thanks a lot for your time and help.I understand everything crytsal clear now.Will be looking into it.
Post Reply