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

From WikiWaves
Jump to navigationJump to search
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
A program to solve this problem can be found here
+
[[Image:wave_bem_example_domain.jpg|300px|right|thumb|Plot of the panels used to calculate the solution. Red shows the vertical boundaries,
[http://www.math.auckland.ac.nz/~meylan/code/boundary_element/fixed_body_twod.m fixed_body_twod.m]
+
blue the surfaces with vanishing normal derivative and green the free surface.]]
  
 +
[[Image:wave_bem_example_RT.jpg|300px|right|thumb|Curve of <math>R</math> and <math>T</math> for the geometry shown in the previous figure]]
 +
 +
 +
* {{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_two.m semicircles_two.m]
* a program to calculate the solution for a specific geometry (with two plots as output as shown) can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/fixed_body_twod.m fixed_body_twod.m]
+
* a program to calculate the solution for a specific geometry (with two plots as output as shown) can be found here [http://www.math.auckland.ac.nz/~meylan/code/boundary_element/wave_bem_example.m wave_bem_example.m]  
 
 
[[Image:wave_bem_example_domain.jpg|300px|right|thumb|Curve of <math>R</math> and <math>T</math> for the geometry shown in the previous figure]]
 
  
[[Image:wave_bem_example_RT.jpg|300px|left|thumb|Curve of <math>R</math> and <math>T</math> for the geometry shown in the previous figure]]
 
  
 
[[Category:Pages with Matlab Code]]
 
[[Category:Pages with Matlab Code]]

Latest revision as of 22:49, 23 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_two.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