Difference between revisions of "Template:Fixed body 2d bem code"

From WikiWaves
Jump to navigationJump to search
Line 5: Line 5:
  
  
*A program to solve this problem can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/fixed_body_twod.m fixed_body_twod.m]
+
{{fixed body bem code}}
 
* a program to plot the panels can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/domainplot.m domainplot.m]
 
* a program to plot the panels can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/domainplot.m domainplot.m]
 
* a program to generate the panels for two circles can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/semicircles_twod.m semicircles_twod.m]
 
* a program to generate the panels for two circles can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/semicircles_twod.m semicircles_twod.m]

Revision as of 03:15, 12 February 2010

Plot of the panels used to calculate the solution. Red shows the vertical boundaries, blue the surfaces with vanishing normal derivative and green the free surface.
Curve of [math]\displaystyle{ R }[/math] and [math]\displaystyle{ T }[/math] for the geometry shown in the previous figure


A program to solve for a fixed body fixed_body_twod.m

  • a program to plot the panels can be found here domainplot.m
  • a program to generate the panels for two circles can be found here semicircles_twod.m
  • a program to calculate the solution for a specific geometry (with two plots as output as shown) can be found here wave_bem_example.m