Guest Mr. YONG CHIANG LIEW Report post Posted February 5, 2016 Hi, I'm trying out the Lackenby shift and can i inquire what if i only need the aft body to be adjusted? Is there a way to fix the forebody and only adjust the curve for the aft body? I've been trying but can't seems to find a way. Thank you! Warmest Regards,Jeff Share this post Link to post Share on other sites
Matthias Maasch 21 Report post Posted February 5, 2016 Dear Jeff, in the Lackenbyshift Transformation you can set values for the Delta Curve of the aftbody and the forbody. A possible solution would be to set those values in way, that only your aftbody is influenced by the delta curve. Please see the screenshot below which shows you our Lackenby-sample modified to your requirements. Best regards Matthias Share this post Link to post Share on other sites
Guest Mr. YONG CHIANG LIEW Report post Posted February 15, 2016 Thank you so much Matthias! it helped! :) Share this post Link to post Share on other sites
Guest Mr. YONG CHIANG LIEW Report post Posted February 18, 2016 Hi, Matthias, Apologies for the trouble, is there a way for me to export the Lackenby Data? Such as PDF, etc? Warmest Regards,Jeff Share this post Link to post Share on other sites
Matthias Maasch 21 Report post Posted February 18, 2016 Hi Jeff, what data do you want to export? Numbers and curves? When running one of our design engines you'll have the option to export the results table as pdf. If you set some of your input paramters of your Lackenby as engine evaluation, you will have those numbers in the pdf report as well. Another option would be to code a feature which creates a *.txt output with the numbers you specify in the code. The *.txt output could look like: Lpp ...Delta CP ...Delta XCB ...... In addition you could add output from your hydrostatics as well (e.g. volume,...). In the feature documentation which you can find in the documentation browser you'll find a small piece of code which shows you how to create a feature which exports data into a file. Best Regards Matthias Share this post Link to post Share on other sites
Mr. Carlo Pasquinucci 1 Report post Posted March 11, 2016 Hi Jeff,if you need to export as.txt file, here there's a sample how to do this: The idea is to put all your values and all the name of the values in a objectlist and the write them with writeline(string) //objectlist text_coef()objectlist values_coef()double los_los(los/(los_ship))text_coef.add("L/LOS")values_coef.add(los_los)double cb(volume/(los*beam*draft))text_coef.add("CB")values_coef.add(cb)double b_t(beam/draft)text_coef.add("b/t")values_coef.add(b_t)double cobx_los(cob:x/los)text_coef.add("XCB/LOS")values_coef.add(cobx_los)//file.openReadWrite()file.readAll()loop(values.getSize())file.writeLine(text.at($$i).castto(fstring)+" "+values.at($$i).castto(fdouble).toString())endlooploop(values_coef.getSize())file.writeLine(text_coef.at($$i).castto(fstring)+" "+values_coef.at($$i).castto(fdouble).toString())endloopfile.close() Best regards, Carlo Share this post Link to post Share on other sites