# LAVA Cartesian quick start: the Taylor-Green vortex. # A periodic box with no geometry; the initial condition is built into the solver. exact flow name = taylorgreenvortex time { steady = false number of steps = 7900 # roughly 20 convective time units at CFL 0.8 cfl = 0.8 } solver defaults { explicit { method = ssprk33 } # 3rd-order strong-stability-preserving Runge-Kutta } reference conditions { velocity = [1.0, 0, 0] density = 6.283185307179586 # 2 pi temperature = 71.4285714285714 # gives Mach 0.1 length = 0.15915494309189535 # 1 / (2 pi): one classic TGV time unit per ctu } fluid { species = tg # calorically perfect gas with constant viscosity 1/1600 (Re = 1600) } cartesian { convective terms { scheme = hwcns # low-dissipation central scheme fluxfunction = ausmpw+ limiter = none centralcomponents = [q] fluxorder = 2 } navier stokes { viscous = true viscous order = 2 } output { monitor { interval = 10 variables = [nt, time, ctu, dt, maxcfl, maxmach, integratedke, integratedentropy, mups] } flow_stats { interval = 10 } surface probe_1 { # mid-plane cut for visualization point = [0.5, 0.5, 0.5] normal = [0, 0, 1] interval = 500 variables = [q] format = vtk } isosurfaces_1 { # Q-criterion iso-surface, colored by velocity magnitude contour = qcriterion isovalue = 5.0 colorfields = [umag] interval = 500 format = vtk } } bcs { domain face type lo = [periodic, periodic, periodic] domain face type hi = [periodic, periodic, periodic] } grid { number of levels = 1 first level dimension = [64^3] domain min = [0.0, 0.0, 0.0] domain max = [1.0, 1.0, 1.0] max box size = 8 } }