# - warmup (pyTree) - import Converter.PyTree as C import Generator.PyTree as G import FastS.PyTree as FastS import FastC.PyTree as FastC import Initiator.PyTree as I ni = 155; dx = 100./(ni-1); dz = 0.01 a = G.cart((-50,-50,0.), (dx,dx,dz), (ni,ni,2)) a = C.fillEmptyBCWith(a, 'far', 'BCFarfield', dim=2) I._initConst(a, MInf=0.4, loc='centers') C._addState(a, 'GoverningEquations', 'Euler') C._addState(a, MInf=0.4) t = C.newPyTree(['Base', a]) # Numerics numb = {} numb["temporal_scheme"] = "explicit" numb["ss_iteration"] = 20 numz = {} numz["time_step"] = 0.00004444 numz["scheme"] = "ausmpred" FastC._setNum2Zones(t, numz); FastC._setNum2Base(t, numb) (t, tc, metrics) = FastS.warmup(t, None)