How to apply the EOS(equation of state) in LBM

Hello all.

I want to apply the Peng-Robinson EOS in LBM code

but,

It is hard to apply. Especially, unit conversion.

How to convert the gas constant and molar volume.

please, tell me.

thanks.

Hi

You can use the PR eos in physical units.
Than calculate the gradients of it, for adding its contribution to the total acting force.
Than calculate the physical velocity jump in physical units.

And finally, transfer it to lu velocity:

U[lu]=u[p] / (dx/dt)

hello Tali
I am new in palabos. what do u mean???’ ‘’ And finally, transfer it to lu velocity: U[lu]=u[p] / (dx/dt)’’ ???
for example in multiphase code( segregation2D) it uses sai function so i add EOS as a new sai in physical units and then calculate gradient and calculate the force contribution
what shall i do ???
thanks for your comment