multicomponent

  • ex19.c Solves nonlinear driven cavity with multigrid.

    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
    Parallelism can be invoked based on the DA construct:
    -Nx <npx>, where <npx> = number of processors in the x-direction
    -Ny <npy>, where <npy> = number of processors in the y-direction
  • ex7.c Solves a nonlinear system in parallel with SNES.
    We solve the driven cavity problem in a streamfunction-vorticity formulation.
    -mx <xg>, where <xg> = number of grid points in the x-direction
    -my <yg>, where <yg> = number of grid points in the y-direction
    -Nx <npx>, where <npx> = number of processors in the x-direction
    -Ny <npy>, where <npy> = number of processors in the y-direction
  • ex8.c Solves a nonlinear system in parallel with SNES.

    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
    Parallelism can be invoked based on the DA construct:
    -Nx <npx>, where <npx> = number of processors in the x-direction
    -Ny <npy>, where <npy> = number of processors in the y-direction
  • ex9.c Solves a nonlinear system in parallel with SNES.

    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 sequencing is available, starting coarse and recursively doubling:
    -mx <xg>, where <xg> = initial number of grid points in the x-direction
    -my <yg>, where <yg> = initial number of grid points in the y-direction
    -nlevels <nlevels>, where <nlevels> = number of refinement levels
    -printg : print grid information
    Graphics of the contours of (U,V,Omega,T) are available on each grid:
    -contours : draw contour plots of solution
    Parallelism can be invoked based on the DA construct:
    -Nx <npx>, where <npx> = number of processors in the x-direction
    -Ny <npy>, where <npy> = number of processors in the y-direction