Skip to content

Re: multicomponent with different densities

#2738
lollipopcorn
Participant

Thanks a lot for your reply. your reply solves my problem, except that it seems the first value pushed back is for the second lattce, i.e.

std::vector<T> rho0;
rho0.push_back( 1 ); //this rho is for second lattice
rho0.push_back( 1 ); //first lattice

I noticed that I can implement MRT, just wondering does openLB support MRT with multicomponents? if so, do you have any examples that I can study?

Thanks a lot for sharing this excellent library.

John