Re: [Sailcut-users] Sailcut program - dimension change
Brought to you by:
jeremy_laine,
sailcuter
|
From: Sheldon H. <she...@gm...> - 2017-03-19 14:53:16
|
Any publicly available RANS simulators out there? I'm looking at OpenFOAM, but would cheerfully use an existing adaptation Sent from my iPhone > On Mar 19, 2017, at 7:22 AM, Robert Lainé <rob...@sa...> wrote: > > Dear All, > > I suggest that 4 decimals is more than enough. On 1 square meter area it > is 1 square centimeter accuracy. > > I am going to update sailcut with that as soon as I have a Windows > compiler... Meanwhile you can tweak the code. > > Regards, > Robert LAINÉ > >> On 15/03/2017 23:11, pa...@tm... wrote: >> On Wed, 15 Mar 2017 22:40:12 +0100 >> Miroslav <mi...@gm...> wrote: >> >>> Don, this is exactly what I want to say for the sail area, I need more precision and more decimals and no matter in what scale, meter or centimetres are. >> Hi, >> >> You could always modify the program to suit your needs. That's the beauty of open source :) The area value is rounded in the last line of the Area() method of sailworker.cpp. If you change it from >> >> return ( .01 * floor(surface /10000) ); >> >> to >> >> return ( .0001 * floor(surface /100) ); >> >> that would give you 2 extra digits of precision - 4 in total. If that's not enough, changing it to >> >> return ( .000001 * floor(surface )); >> >> would give you 6 digits of precision. >> >> Hope this helps >> > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Sailcut-users mailing list > Sai...@li... > https://lists.sourceforge.net/lists/listinfo/sailcut-users |