No. The size of the box is specified with four parameters, Lx,Lz,a,b, and then a ⇐ y ⇐ b and Ly = b-a. FlowField initialization
looks like this
FlowField u(Nx,Ny,Nz,Nd,Lx,Lz,a,b);
Nd is the vector dimension: 3 for velocity fields, 1 for pressure, 9 for stress tensor, etc. Most codes would specify Ly and set
the bounds on y to be -Ly/2 ⇐ y ⇐ Ly/2; channelflow uses [a,b] to allow representation of fields on subdomains of other fields,
like the boundary layer.
John
programming/is_ly_2_hard-coded_into_channelflow.txt · Last modified: 2010-02-02 07:55 (external edit)
Discussion
No. The size of the box is specified with four parameters, Lx,Lz,a,b, and then a ⇐ y ⇐ b and Ly = b-a. FlowField initialization looks like this
Nd is the vector dimension: 3 for velocity fields, 1 for pressure, 9 for stress tensor, etc. Most codes would specify Ly and set the bounds on y to be -Ly/2 ⇐ y ⇐ Ly/2; channelflow uses [a,b] to allow representation of fields on subdomains of other fields, like the boundary layer.
John