Compute boundary conditions with data from other calculation

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Roxan
Posts: 5
Joined: Tue Mar 01, 2022 3:07 pm

Compute boundary conditions with data from other calculation

Post by Roxan »

Dear all,

We have 2 different mesh with a common surface, see as outlet for one mesh and inlet for the other one. After a first calculation on the first mesh is it possible to use outlet data to compute inlet condition for a new calculation on the other mesh?
The objective being to separate space in two different mesh and then only made a single calculation on the first mesh part.

Best regards,
Roxan
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Compute boundary conditions with data from other calculation

Post by Yvan Fournier »

Hello,

Yes, this should be possible. The easiest solution is to use MEDCoupling (assuming you built code_saturne with MEDCoupling support). See example here: https://www.code-saturne.org/documentat ... er_2d.html

Without this, you could use the build-in PLE library and checkpoint meshes, but this would involve significantly more programming.

Best regards,

Yvan
Roxan
Posts: 5
Joined: Tue Mar 01, 2022 3:07 pm

Re: Compute boundary conditions with data from other calculation

Post by Roxan »

Hello Yvan,

Thank you very much for your reply. Unfortunately my version of code-saturn is not installed with MEDcoupling but we are on it.

Best regards,
Roxan
Post Reply