clear all
close all

%A2  
  for b = 0:1000:10000
    ratio = 0.25
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 2*ratio/.4
    TD_FlappingFoil_BuoyA2
    close all
    clear all
  end
  
  for b = 0:1000:10000
    ratio = 0.5
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 2*ratio/.4
    TD_FlappingFoil_BuoyA2
    close all
    clear all
  end
  
  for b = 0:1000:10000
    ratio = 1.0
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 2*ratio/.4
    TD_FlappingFoil_BuoyA2
    close all
    clear all
  end
 
  for b = 0:1000:10000
    ratio = 2.0
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 2*ratio/.4
    TD_FlappingFoil_BuoyA2
    close all
    clear all
  end
  
  for b = 0:1000:10000
    ratio = 4.0
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 2*ratio/.4
    TD_FlappingFoil_BuoyA2
    close all
    clear all
  end
 
  for b = 0:1000:10000
    ratio = 6.0
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 2*ratio/.4
    TD_FlappingFoil_BuoyA2
    close all
    clear all
  end
  
  for b = 0:1000:10000
    ratio = 8.0
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 2*ratio/.4
    TD_FlappingFoil_BuoyA2
    close all
    clear all
  end
  
  for b = 0:1000:10000
    ratio = 10.0
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 2*ratio/.4
    TD_FlappingFoil_BuoyA2
    close all
    clear all
  end

  
  
%A10     
  for b = 0:1000:10000
    ratio = 0.25
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 10*ratio/.4
    TD_FlappingFoil_BuoyA10
    close all
    clear all
  end
  
  for b = 0:1000:10000
    ratio = 0.5
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 10*ratio/.4
    TD_FlappingFoil_BuoyA10
    close all
    clear all
  end
  
  for b = 0:1000:10000
    ratio = 1.0
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 10*ratio/.4
    TD_FlappingFoil_BuoyA10
    close all
    clear all
  end
 
  for b = 0:1000:10000
    ratio = 2.0
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 10*ratio/.4
    TD_FlappingFoil_BuoyA10
    close all
    clear all
  end
  
  for b = 0:1000:10000
    ratio = 4.0
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 10*ratio/.4
    TD_FlappingFoil_BuoyA10
    close all
    clear all
  end
 
  for b = 0:1000:10000
    ratio = 6.0
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 10*ratio/.4
    TD_FlappingFoil_BuoyA10
    close all
    clear all
  end
  
  for b = 0:1000:10000
    ratio = 8.0
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 10*ratio/.4
    TD_FlappingFoil_BuoyA10
    close all
    clear all
  end  
  
  for b = 0:1000:10000
    ratio = 10.0
    Hs = 1; Lc = 0.4; tf = 500; dt = 0.05;
    Ls = 10*ratio/.4
    TD_FlappingFoil_BuoyA10
    close all
    clear all
  end 
    
    
  