Create a velocity.
The dimension of the velocity.
The number of the velocity in the numbering convention of Lattice-Boltzmann scheme.
The x component of the velocity vector.
The y component of the velocity vector.
The z component of the velocity vector.
Notes
Examples
Create a velocity with the dimension and the number
>>> v = Velocity(dim=1, num=2)
>>> v
(2: -1)
Create a velocity with a direction
>>> v = Velocity(vx=1, vy=1)
>>> v
(5: 1, 1)
The dimension of the velocity.
The number of the velocity in the numbering convention of Lattice-Boltzmann scheme.
The x component of the velocity vector.
The y component of the velocity vector.
The z component of the velocity vector.
v
listvelocity
Methods
|
return the symmetric velocity. |
Attributes
|
velocity |
|
velocity filled with 0 in 1d and 2d |