nickabattista / IB2d

An easy to use immersed boundary method in 2D, with full implementations in MATLAB and Python that contains over 75 built-in examples, including multiple options for fiber-structure models and advection-diffusion, Boussinesq approximations, and/or artificial forcing.
GNU General Public License v3.0
164 stars 90 forks source link

possible bugs in data_analysis_in_python #19

Open cubayang opened 2 years ago

cubayang commented 2 years ago

Hi Nick,

It seems there are some bugs in the data_analysis folder for python:

  1. Line 126: fX_Lag,fY_Lag,fLagMag,fLagNorm,fLagTan = import_Lagrangian_Force_Data(pathForce,numSim) in "Standard_Data_Analysis_Script.py", fLagNorm and fLagTan are no longer used but returned here.
  2. Line 104: U,V = read_Eulerian_Data_From_vtk(path,numSim,strChoice,getxy) in "import_Eulerian_Data.py". Should the return values be like "U,V,x,y"?

Thanks, Yang