Skip to content

Re: multicomponent with different densities

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums OpenLB General Topics multicomponent with different densities 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