Debug OpenFOAM-1.6 with Netbeans or GDB?
I follow the instructions posted on this official website.
http://openfoamwiki.net/index.php/Configure_NetBeans But it does not do anything but broken my solvers. In detail, when I build the source program, which is located under $HOME/OpenFOAM/OpenFOAM-1.6/applications/solvers/incompressible/icoFoam, it posted errors like this,can not find /usr/bin ld. But ld do exist under /usr/bin. Then I try to compile it with wmake command. It also posted error 1. What's wrong with my debug version of OpenFOAM-1.6?:confused: As Netbeans is quite familar with VC++, I choose to learn OpenFOAM's codes with this compile tool. Although I am working with GDB currently, I still hope to read those codes with Netbeans. |
Greetings Edward,
Well, that page about Netbeans is quite old now (last change 31 October 2007). Back then the latest OpenFOAM version was 1.4.1. If you can drop NetBeans in exchange for Eclipse, you've got a very recent tutorial (last change 6 May 2010) for it here: Howto Use OpenFOAM with Eclipse Additionally, the support thread for it is this one: Eclipse for OpenFOAM With Eclipse you can also use GDB, so it should work out nicely for what you need :) By the way: Quote:
Best regards, Bruno |
Despite it is unofficial wikki, people behind it are qualified and experienced. And there is too much legal protection issues around OpenFOAM(C)(R) IMHO concerning enthusiast (NONCOMMERCIAL) developers trying to help newbies to get used with OF. It would be much better if Programmers Guide would be finally updated without typo errors and misleading information since 2009.
|
Greetings Dr. Alexander,
The programmer's guide seems to be have had (very) small/minor updates for each released version. Nonetheless, there is a bug report that might interest you (and everybody) to give your opinion on it as well: http://www.openfoam.com/mantisbt/view.php?id=275 The other takes on this are:
Best regards, Bruno |
Hi Bruno!
Thanx for the link, its is useful for clarifying some of my doubts: "is it possible to "close" documentation for open-source or is it restricted by GPL?". Because I ones asked OpenCFD(R) if it is possible to get Programmer Guide sources and also pointed some mistakes in it. They replied that doc sources are not distributed by them. I agree, that if OpenCFD/SGI would just simply allow the community to work on the documentation along with them it will be much more up-to-date. But they suppress such an initiative, I cannot understand that. Regards, Alexander |
Disclaimer: I don't have specific legal experience about this nor have I confirmed any of this with any lawyers, so my word is only barely as solid as anything that is written on wikipedia ;)
The second page of the programmers guide says this: Quote:
Although the "source code" (it's in LaTeX, so it's pretty much all in code ;)) isn't provided, it's still possible to literally copy-paste the whole thing from the PDF file and paste it on the wiki in an editable format. Nonetheless, there are a few details to take into account:
Other than this, once the content is on the wiki, it's all under the GFDL. Additionally, it sort-of falls under the same criteria as journals and papers: mentioning a trademarked name doesn't imply that one should legally pay anything to the trademark holder. Nonetheless, one has to make it perfectly clear that one does not have any rights over the trademark. Anyway, the bottom line might be summed up like this: if the OpenFOAM(R) trademark is mentioned in any other book that details how to use OpenFOAM and if the sole intent of the book is to explain on how to use it, then a percentage of the earnings or a previously agreed contract must be defined and met before and after the book is published and sold. Best regards, Bruno |
Hi,
Just a minor update: I've browsed a bit more the Programmers Guide and it looks like work has continued to be done on it. At least I've seen tutorials on the second half of the guide that have been updated to OpenFOAM's "#codeStream" way of doing business :D So I think that reports on the bug tracker about the typos found will not be in vain! Let me see if I can find the old thread that listed several typos that were found several months ago... edit: I found it: http://www.cfd-online.com/Forums/ope...de-p-40-a.html - :eek: it was you Dr. Alexander who posted that report! I won't post the report on the mantis bug tracker simply because I'm not familiar with these details of OpenFOAM, so I don't know exactly what is wrong and why :( edit 2: Other threads that might of interest: - http://www.cfd-online.com/Forums/ope...mentation.html - http://www.cfd-online.com/Forums/ope...uide-bugs.html Best regards, Bruno |
Hey, Bruno! it was your reply for my post))))
|
All times are GMT -4. The time now is 16:35. |