Struct palarust::units::Converter [] [src]

pub struct Converter { /* fields omitted */ }

Units converter between physical and lattice units. It takes the characteristic length and velocity in physical and lattice units. Also takes the non dimensional Reynolds number Re=u L / nu.

Methods

impl Converter
[src]

Returns the characteristic velocity in lattice units

Returns the characteristic length in lattice units

Returns the dx=l_phys/l_lb of the simulation

Returns the dt=u_lb / u_phys * dx of the simulation

Returns the kinematic viscosity in physical units

Returns the kinematic viscosity in lattice units

Returns the relaxation frequency in lattice units

Returns an interation from a time in physical units

Returns a length in lattice units

Returns a tuple of lengths in lattice units

Trait Implementations

impl Debug for Converter
[src]

Formats the value using the given formatter.