Which file is read in restart for velocity and pressure?

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Tsubasa
Posts: 73
Joined: Fri Nov 20, 2020 4:09 am

Which file is read in restart for velocity and pressure?

Post by Tsubasa »

Hello,

Now I am wondering which files are read for velocity and pressure when we set restart calculation.
I mean that when we select "check point" in GUI, which files of velocity and pressure are refererred in restart calculation?

In future I will use these files for inverse problem, so I want to know this.

Best regards,
Tusbasa
Luciano Garelli
Posts: 251
Joined: Fri Dec 04, 2015 1:42 pm

Re: Which file is read in restart for velocity and pressure?

Post by Luciano Garelli »

Hello,

Did you check the user guide?

In section 3.9.3.7 Variables saved to allow calculation restarts, you have a detailed description of the saved files in the checkpoint directory and also the variables saved in each file.

Regards,
Luciano
Tsubasa
Posts: 73
Joined: Fri Nov 20, 2020 4:09 am

Re: Which file is read in restart for velocity and pressure?

Post by Tsubasa »

Hello,

As you said, I can find the description for my question.

Let me check just in case.
As far as I understand in Section 3.9.3.7,
"main" file contains variables" value of last time step.

This means, if I need all variables' value at every time step for inverse problem, do I have to use variables' value (such as pressure velocity) in "listing" or "run_solver.log"?

For inverse problem, I will use my code and need variables' value at every time step.

Best regards,
Tsubasa
Yvan Fournier
Posts: 3322
Joined: Mon Feb 20, 2012 3:25 pm

Re: Which file is read in restart for velocity and pressure?

Post by Yvan Fournier »

Hello,

If you need values over the whole domain at every time step, I recommend you look at i-situ methods. Writing values at each time step has a high impact on performance, and will fill up your storage very quickly.

Regards,

Yvan
Tsubasa
Posts: 73
Joined: Fri Nov 20, 2020 4:09 am

Re: Which file is read in restart for velocity and pressure?

Post by Tsubasa »

Hello,

Do you mean "in-situ method"? or "i-situ method"?

Best regards,
Tsubasa
Yvan Fournier
Posts: 3322
Joined: Mon Feb 20, 2012 3:25 pm

Re: Which file is read in restart for velocity and pressure?

Post by Yvan Fournier »

Hello,

Sorry for the typo.

"In-situ" methods.

Best regards,

Yvan
Tsubasa
Posts: 73
Joined: Fri Nov 20, 2020 4:09 am

Re: Which file is read in restart for velocity and pressure?

Post by Tsubasa »

Hello,

If I need only variables' value of average flow fileld at the las step, where can I get them (velocity and pressure)?

Best regards,
Tsubasa
Yvan Fournier
Posts: 3322
Joined: Mon Feb 20, 2012 3:25 pm

Re: Which file is read in restart for velocity and pressure?

Post by Yvan Fournier »

Hello,

In this case, the best is to activate time moments (in postprocessing) for velocity and pressure. They should then appear in the checkpoint/auxiliary.csc file.

Best regards,

Yvan
Post Reply