# LAVA Unstructured quick start: the Taylor-Green vortex. # A triply periodic box meshed with the Voronoi mesher; the initial condition # is built into the solver. exact flow name = taylorgreenvortex time { steady = false finish ctu = 20 # run for 20 convective time units cfl = 0.8 } 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) } unst { grid { file = tgv_box.cgns } periodic { do lava voro periodic = true # the mesh was built periodic by the Voronoi mesher xmin = 0.0 xmax = 1.0 ymin = 0.0 ymax = 1.0 zmin = 0.0 zmax = 1.0 } explicit { method = ssprk33 # 3rd-order strong-stability-preserving Runge-Kutta } convective terms { scheme = keepblend # kinetic-energy/entropy-preserving flux blended with upwind order = 2 limiter = none flux function = ausmpw+ upwind blending sensors = [ducrosmod] } navier stokes { viscous = true } output { monitor { interval = 10 variables = [nt, time, ctu, dt, maxcfl, maxmach, integratedke, mups] } flow_stats { interval = 10 } volume { # full-volume CGNS snapshots for visualization interval = 500 variables = [q, density, mach] } } }