Page 1 of 1

Density in the governing equations

Posted: Thu Apr 28, 2022 4:52 pm
by Ruonan
Dear developers,

Could you please help to confirm the form of the momentum equation in Code_Saturne?



or



Because I want to add a centrifugal buoyancy source term in the momentum equation. I want to make sure whether to add or , depending on which form the momentum equation is.

Thank you!

Bonne journée,
Ruonan

Re: Density in the governing equations

Posted: Fri Apr 29, 2022 2:46 pm
by Yvan Fournier
Hello,

I do not think we use adimensioned equations, so the second option would be correct (though i invite you to check on a verification case with rho much greater that or much smaller than 1 once you have added your term).

I'll let others more expert in the numerical aspects of the code correct me if needed.

Best regards,

Yvan