Page 1 of 1

Boussinesq approximation

Posted: Wed May 08, 2019 9:21 am
by bachlinh
Hello everyone,
I have a question about Boussinesq approximation.
I saw in the tutorial that we apply this approximation by defining the variations in density
But in the theory, i read that only the buoyancy term in momentum equation is effected and except this term, all variations in density are neglected (Does it mean that the fluid is incompressible ?)

So, we should apply this method by the change in density (via GUI) or the change in source term of momentum equation (via cs_user_source) ?

Thank you,

Re: Boussinesq approximation

Posted: Wed May 08, 2019 10:06 pm
by roberto.bernetti
I run this tutorial

http://code-saturne.org/cms/sites/defau ... tyFlow.pdf

I hope it will help you

Re: Boussinesq approximation

Posted: Thu May 09, 2019 8:48 am
by bachlinh
Thank you,

Re: Boussinesq approximation

Posted: Thu May 30, 2019 3:56 pm
by Martin FERRAND
Hello, since version 6.0 there is an option to activate the Boussinesq approximation (indeed rho varies only in the buoyancy term and is supposed to be constant everywhere else).
Look for idilat = 0 in cs_user_parameter file.

Best Regards
Martin

Re: Boussinesq approximation

Posted: Tue Jun 25, 2019 1:46 pm
by luyz07
roberto.bernetti wrote: Wed May 08, 2019 10:06 pm I run this tutorial

http://code-saturne.org/cms/sites/defau ... tyFlow.pdf

I hope it will help you
Hello, I have tried to follow the steps in this tutorial, but I can not find the EXAMPLE in the file "cs_user_physical_properties.f90". I just want to figure out to how to programming the Boussinesq Model with User Coding. Thank you.

Re: Boussinesq approximation

Posted: Fri Jun 28, 2019 12:45 am
by Yvan Fournier
Hello,

The tutorial seems to have been only partially updated. The meshing/Salome aspects are up to date relative to Salome 8.x, but the text relative to user subroutines is not. We need to fix this, but in the meantime, following Martin's recommendation is the best solution (and simpler than the original tutorial solution). You will need version 6.0-beta as this feature was not available in v5.0.

Best regards,

Yvan

Re: Boussinesq approximation

Posted: Fri Jun 28, 2019 10:28 am
by luyz07
Thank you!