multicomponent

  • ex19.c Nonlinear driven cavity with multigrid in 2d.

    The 2D driven cavity problem is solved in a velocity-vorticity formulation.
    The flow can be driven with the lid or with bouyancy or both:
    -lidvelocity <lid>, where <lid> = dimensionless velocity of lid
    -grashof <gr>, where <gr> = dimensionless temperature gradient
    -prandtl <pr>, where <pr> = dimensionless thermal/momentum diffusity ratio
    Mesh parameters are:
    -mx <xg>, where <xg> = number of grid points in the x-direction
    -my <yg>, where <yg> = number of grid points in the y-direction
    -printg : print grid information
    Graphics of the contours of (U,V,Omega,T) are available on each grid:
    -contours : draw contour plots of solution