Difference between revisions of "Template:Fixed body 2d bem code"
From WikiWaves
Jump to navigationJump to searchLine 1: | Line 1: | ||
− | + | [[Image:wave_bem_example_domain.jpg|300px|right|thumb|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.]] |
+ | |||
+ | [[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]] | ||
+ | |||
+ | *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] | ||
* 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] | ||
* 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] | * 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] | ||
− | |||
− | |||
− | |||
− | |||
[[Category:Pages with Matlab Code]] | [[Category:Pages with Matlab Code]] |
Revision as of 03:09, 7 September 2009
- A program to solve this problem can be found here 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