Boussinesq approximation

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
bachlinh
Posts: 28
Joined: Mon Oct 02, 2017 9:31 am

Boussinesq approximation

Post 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,
roberto.bernetti
Posts: 35
Joined: Tue Apr 16, 2019 10:03 pm

Re: Boussinesq approximation

Post by roberto.bernetti »

I run this tutorial

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

I hope it will help you
Saluti
Roberto
bachlinh
Posts: 28
Joined: Mon Oct 02, 2017 9:31 am

Re: Boussinesq approximation

Post by bachlinh »

Thank you,
Martin FERRAND
Posts: 44
Joined: Wed Mar 14, 2012 10:06 am

Re: Boussinesq approximation

Post 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
luyz07
Posts: 11
Joined: Mon Mar 18, 2019 4:22 pm

Re: Boussinesq approximation

Post 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.
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Boussinesq approximation

Post 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
luyz07
Posts: 11
Joined: Mon Mar 18, 2019 4:22 pm

Re: Boussinesq approximation

Post by luyz07 »

Thank you!
Post Reply