Difference between revisions of "Template:Fixed body 2d bem code"
From WikiWaves
Jump to navigationJump to search(3 intermediate revisions by the same user not shown) | |||
Line 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]] | ||
+ | |||
+ | * {{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/ | + | * 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/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]] |
Latest revision as of 22:49, 23 February 2010
- 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