Viewing 8 posts - 1 through 8 (of 8 total)
• Author
Posts
• #1978
chris
Member

Hello, 🙂

I would like to know about the function incEquilibrium. 😮 Which physical value is related to the return value of the function?

Chris

#2839
mathias
Keymaster

Hi,

incEquilibrium computes f^eq_inc – t_i, where t_i are the lattice weights. That is a model for incombressible flows. The units are the some as for the the standard LBM f^eq. Please have a look in the book of Krüger. There is a section un unit conversation.

Best
Mathias

#2841
chris
Member

Thank you again for your help!

In the line 353 of dynamics.hh, the pressure is calculated as p = rho / invCs2, which is calculated as I expect.
However, in the line 450 of util.h, the lattice pressure is calculated by p = (rho-1) * Cs2.
The difference between rho and rho-1 comes from the difference between pressure and lattice pressure?
Then, is there any reason that the lattice pressure is defined by using the factor of rho-1 instead of rho?

Best,
Chris

#2842
mathias
Keymaster

No, the difference come from that in OpenLB the distribution is stored as f_OpenLB = f – f^eq. Therefore, also the collision operation is presented in a different way.

Best
Mathias

#2844
chris
Member

Your equation f_OpenLB = f – f^eq means Cell[iPop] = f_iPop – t_iPop? or it is something else?

In openLB, I have found two expressions to calculate pressure.
1) p = rho / invCs2 which can be reduced to p = rho * Cs2
2) p = (rho-1) * Cs2.
Do you mean 1) is the usual pressure and 2) is the special pressure only for the codes of openLB?

Best
Chris

#2845
mathias
Keymaster

Your equation f_OpenLB = f – f^eq means Cell[iPop] = f_iPop – t_iPop? or it is something else?
A: That is right!

In openLB, I have found two expressions to calculate pressure.
1) p = rho / invCs2 which can be reduced to p = rho * Cs2
2) p = (rho-1) * Cs2.
Do you mean 1) is the usual pressure and 2) is the special pressure only for the codes of openLB?
A: No, that depends on the actall model.

#2846
chris
Member

Thank you, Mathias!

I have found the functions “incBgkCollision” and “constRhoBgkCollision”. I suppose that the former is related to the incEquilibrium [Zou et al., 1995]. Is this correct?

Then, what is the related work to the latter?

Best,
Chris

#2847
mathias
Keymaster

Hi Chris,

The first is right if I remember well. The latter is just a projection to a mean pressure=0 (rho=1). It is quite natual to do, so I have no idea where it comes form. I think, I have a little not on that in my thesis.

Best
Mathias

Viewing 8 posts - 1 through 8 (of 8 total)
• You must be logged in to reply to this topic.