ana1Tests.simiSolTest.computeU

computeU(solSimi, x1, y1, i, L_x, U, AminusC)[source]

get flow velocity in x direction from f and g solutions

Parameters
  • solSimi (dictionary) – similarity solution

  • x1 (numpy array) – x coordinate location desiered for the solution

  • y1 (numpy array) – y coordinate location desiered for the solution

  • i (int) – time index

  • L_x (float) – scale in x dir

  • U (float) – x velocity component scale

  • AminusC – A-C coefficient

Returns

u – u similarity solution at (x1, y1)

Return type

numpy array