ana1Tests.simiSolTest.getSimiSolParameters¶
- getSimiSolParameters(solSimi, header, indTime, cfgSimi, Hini, gravAcc)[source]¶
get flow depth, flow velocity and center location of flow mass of similarity solution for required time step
- Parameters
solSimi (dict) – similarity solution
header (dict) – header dictionary with info about the extent and cell size
indTime (int) – index for required time step in similarity solution
cfg (dict) – configuration
Hini (float) – initial release depth
gravAcc (float) – gravity acceleration
- Returns
simiDict – dictionary of similiarty solution with flow depth, flow velocity, and center location in x for required time step
- Return type
dict