ana1Tests.simiSolTest.prepareParticlesFieldscom1DFA

prepareParticlesFieldscom1DFA(fields, particles, header, simiDict, axis)[source]

get fields and particles dictionaries for given time step, for com1DFA domain origin is set to 0,0 for particles - so info on domain is required

Parameters
  • Fields (dictionary) – fields dictionary

  • Particles (dictionary) – particles dictionary

  • header (dict) – header dictionary with info about the extend and cell size

  • simiDict (dict) – dictionary with center location in x for similarity solution

  • axis (str) – axis (x or y) for profile

Returns

com1DFASol – dictionary with location of particles, flow thickness, flow velocity, fields, and index for x or y cut of domain at the required time step

Return type

dict