Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width50%
Panel
titleOverview

This circle boundary layer case involves a heat source being applied to a vortex flow around a circular annulus of radius r = [ 1 , 2 ]. The numerical heat flux at the inner boundary is checked with the analytical heat flux at the inner boundary to a specified tolerance. All boundaries are set to a thermal condition which is a function of r and θ. The applied heat source is also a function of r and θ, and the initial condition is set to 1.

Column
width50%
Panel
titleTemperature Distribution:

Image Added

Section
Column
width50%
Panel
titleFlow Conditions:
  • Vortex Flow
    Image Added
    Image Added
  • Boundary Condition:
    Image Added
  • Heat Source:
    Image Added
    where
    Image Added
  • Non-dimensional viscosity:
    Image Added
Column
width50%
Panel
titleSolver Parameters:
  • Equation Set: Scalar 2D
  • Nonlinear Solver: Newton
  • Basis Type: Hierarchical
  • Initial/Max CFL: 1030
  • Target residual: 10-11
  • Preconditioning:
    • Type: ILU (Left)
    • Reordering: MDF
    • Outer GMRES iterations (# restarts): 20
    • Inner GMRES iterations (# Krylov vectors): 200

Tested Outputs

  • L2 error (compared to an exact solution function)
  • Numerical heat flux on inner boundary
  • Exact heat flux error on inner boundary
    Image Added
  • L of the exact heat flux error

Case Specific Details

Section
Column
width50%
Panel
titleCase 1 (Non-Adaptive):
  • Solution Order: 2
  • Iterations to solve: 2
  • All outputs tested to a tolerance of 10-12

Job File:

Column
width50%
Panel
titleCase 1 Mesh

Image Added

Section
Column
width50%
Panel
titleCase 2 (Adaptive):
  • Solution Order = 1
  • Additional tested outputs: Heat flux adjoint residual
  • Adaptation parameters:
    • Adaptation Iterations: 2
    • Adaptation Method: Fixed fraction
    • Output Adapted: Heat flux
    • Anisotropy Method: Hessian
  • Iterations to solve on each mesh: 2
  • All outputs tested to a tolerance of 10-10

Job File:

Column
width50%
Panel
titleCase 2 Adapted Meshes:

Image Added
Image Added

graphs:

  • geom
  • grids
  • solution

what is tested?

  • Heat Flux on Boundary Group 1
  • L2 error of ExactSolutionFunction = ScalarBoundaryLayer2

equations

  • Scalar 2D
  • Solution order = 2
  • Basis Type = Lagrange

flow conditions

  • SourceFunction = ScalarBoundaryLayer2Source
  • Viscosity = 1e-2
  • VelocityFunction = Horizontal

numerical parameters

  • CFL = 1e30
  • # of Iterations = 5
  • Nonlinear Solver = Newton
  • Direct
    • Preconditioner = UMFPACK
  • GMRES ILU
    • Preconditioner = ILU
    • Preconditioner Side = Left
    • # GMRES outer iterations = 20
    • # GMRES inner iterations = 20
  • GMRES Jacobi
    • Preconditioner = Jacobi
    • Preconditioner Side = Left
    • # GMRES outer iterations = 20
    • # GMRES inner iterations = 200

results or convergence

...

  • Residual Norm = e-16 in 2 iterations
  • Heat Flux converges to 3.745e-04 in 2 iterations
  • L2Error converges to 2.533e-09 in 2 iterations

...

Case Details

MixedMesh_Scalar2d_Direct

...