On Sun, Jun 3, 2012 at 6:32 PM, Fabíola <
fabiol...@gmail.com> wrote:
> Using equation: visc=1/3*(tau-1/2) (Lattice Boltzmann Modeling, Sukop,
> M.C and Thorne, D.T., Springer)
> There, it is said that tau>1/2 and tau=1 is the safest (then visc=1/6
> lu²/ts).
Yeah, generally tau \in (0.5, 1], which corresponds to visc \in (0, 0.1666].
> I have:
> Fluid 1 rho=957 kg/m³, velocity=0.00111 m/s
> Fluid 2 rho=789 kg/m³, velocity=0.000556 m/s
> L=0.25e-3 m (each fluid enters half of the path, so L_total = 0.5e-3
> m)
> Re_avg = 0.0917
>
> I did for fluid 1:
> delta_x = L/(Ny-1) = 0.25e-3/21 = 11.905e-6 m/lu
Why is Ny = 22 here? Didn't you want a 320x320 lattice?
> 0.00111 m/s = 0.1 lu/lt * 11.905e-6 m/lu * 1/delta_t => delta_t =
> 1.073e-3 s/lt
> visc = delta_t * u_phys * L / (delta_x² * Re) = 1.073e-3 * 0.00111 *
> 0.25e-3 / (11.905e-6² * 0.0917) = 23 lu²/lt
>
> and tau = 69.5
>
> Do these values make sense? Because when I use them in the simulation,
> it goes to NaN values.
Your calculations look correct, but the tau value is too large. What
is driving it up is the relatively high LB velocity u_lb = 0.1. If
you dial this down to, say u_lb = 0.0005, you will get a viscosity
that is within the range of the capabilities of the model. In fact,
you could also just start from visc_lb = 1/6. (the most stable one),
and choose a matching u_lb.