Optimisation of CPU time : number of BC

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Cbarnaud
Posts: 36
Joined: Tue Oct 22, 2019 10:28 am

Optimisation of CPU time : number of BC

Post by Cbarnaud »

Hello all,

I was wondering about boundary conditions and their influence on CPU time.
In CS (7.0.0 for my version): Is it better to have 10 BC with a wall condition or one unique BC with all the 10 faces, always with a wall condition ? I mean, with the hypothesis the 10 faces are not adjacent/continuous?

I'm trying just to optimise my CPU time, you can imagine this case with over 50 faces.

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

Re: Optimisation of CPU time : number of BC

Post by Yvan Fournier »

Hello,

You may have a slight penalty if you defined hundreds of different boundary condition zones, but between 1 and 10, I do not expect that you will have a significant difference, especially since boundary conditions are usually far from the dominant aspect regarding computational cost.

Best regards,

Yvan
Post Reply