|
[Sponsors] |
May 7, 2010, 01:46 |
Debug OpenFOAM-1.6 with Netbeans or GDB?
|
#1 |
Member
yijin Mao
Join Date: May 2010
Location: Columbia, MO
Posts: 62
Rep Power: 15 |
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? 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. |
|
May 7, 2010, 16:36 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
||
January 10, 2012, 17:40 |
|
#3 |
Senior Member
|
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.
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
|
January 15, 2012, 07:50 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
January 15, 2012, 10:41 |
|
#5 |
Senior Member
|
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
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
|
January 15, 2012, 12:29 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
||
January 22, 2012, 12:15 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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 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 - 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
__________________
Last edited by wyldckat; January 22, 2012 at 12:33. Reason: see "edit:" and "edit 2:" |
|
January 22, 2012, 17:15 |
|
#8 |
Senior Member
|
Hey, Bruno! it was your reply for my post))))
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
kOmegaSST in openfoam 1.6 | Gearb0x | OpenFOAM | 2 | March 3, 2010 06:02 |
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 7 | January 19, 2010 15:39 |
install openfoam 1.6 on opensuse 11.0 | andresbh | OpenFOAM Installation | 8 | September 30, 2009 00:48 |
OpenFOAM 1.6 package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 36 | September 2, 2009 12:46 |
OpenFOAM Version 1.6 Released | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | July 27, 2009 17:55 |