A little project I've been working on the last two days:
Some people prefer spreadsheets for these kinds of things but I usually go on the web searching for them, so I thought I'd put them all in one place.
Calculations implemented so far:
- spars (mass and breaking strength of hollow, solid, straight and tapered spars)
- hull (sa/disp and disp/lwl)
- spar dimensions according to sail type (idea blatantly stolen from Karlis Kalnins)
The user interface hasn't been given much thought yet, and it will soon become bloated if/when features are added. Some kind of menu system will probably be implemented.
I also have some issues with calculating breaking strength of tapered spars, as pointed out in
this post. For now I've simply settled for using 95% of the base diameter as a base for calculating the breaking strength, given it should be somewhat close to the diameter at the partners. Thinking about it now, 90% would probably be better (given the usual 10% bury).
Any suggestions/additions/questions/ideas are welcome. Source code is hosted on
Bitbucket (it's written in Javascript in somewhat of a haste over the last two days so formatting/comments isn't up to par but it should be readable).