|
[Sponsors] |
May 31, 2012, 07:23 |
OpenFOAM and KDevelop
|
#1 |
New Member
Michal
Join Date: Apr 2012
Location: Czech Republic
Posts: 27
Rep Power: 14 |
Hello,
I'm new user of OpenFOAM. I've installed KDevelop (4.3.5) and I will use it for making changes, running and screening, .. in the OF. The problem is with the compiler.. I can't say the KDevelop to use wmake instead of make. I've tried this one http://www.cfd-online.com/Forums/ope...m-project.html but without succes. (There is no Build options). Can anyone help me? Thanks. Majkl |
|
May 31, 2012, 15:38 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Majkl,
I've never used KDevelop (as far as I can remember), so the closest I can suggest is this: Howto Use OpenFOAM with Eclipse edit: wait, here's another one that should be better:Howto Use OpenFOAM with Kdevelop4 Good luck! Bruno
__________________
Last edited by wyldckat; May 31, 2012 at 15:40. Reason: see "edit:" |
|
June 1, 2012, 06:53 |
|
#3 | |
New Member
Michal
Join Date: Apr 2012
Location: Czech Republic
Posts: 27
Rep Power: 14 |
Quote:
Now, I'm using eclipse. Thanks for advice. Michal |
||
June 18, 2012, 07:40 |
|
#4 | |
New Member
Michal
Join Date: Apr 2012
Location: Czech Republic
Posts: 27
Rep Power: 14 |
Quote:
I've returned to the KDevelop (ver. 4.2.3) because of some constrain in Eclipse. I've found very good description of usage KDevelop with OpenFOAM: http://dealii.sourceforge.net/index.php/Kdevelop My problem with the compiler solved: Menu -> Project -> Open Configuration -> Item Make executable - I put "wmake". Best regards, Michal |
||
June 18, 2012, 16:01 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Michal,
Nice! And feel free to update the wiki page at openfoamwiki.net: http://openfoamwiki.net/index.php/Ho...with_Kdevelop4 ! Best regards, Bruno
__________________
|
|
February 21, 2014, 15:17 |
KDevelop4 and OpenFOAM
|
#6 | |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
hi,
I installed and configured KDevelop as described here http://openfoamwiki.net/index.php/Ho...with_Kdevelop4 Unfortunately when building the main of the multiphaseEulerFoam solver I only get the error Quote:
greetings maybee |
||
February 21, 2014, 16:59 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings maybee,
I've moved your post to this thread, since it's the exact same topic In addition, have a look into post #4: http://www.cfd-online.com/Forums/ope...tml#post366990 Best regards, Bruno
__________________
|
|
April 28, 2015, 15:44 |
|
#8 | |
Senior Member
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12 |
Hi,
I have followed the tutorials mentioned on this thread but I can't yet get KDevelop to build the project using wmake. Aparently, majkl suggestion: Quote:
The project can be built successfully by running "wmake". I loaded it on KDevelop, went to Project > Open Configuration, item Custom BuildSystem and fill in the fields: Build Configuration: wmake Build Directory: <base_dir> Action: Build Enable: Yes Executable: /home/thomas/OpenFOAM/OpenFOAM-2.3.1/wmake/wmake Arguments: [blank] Environment: default However, when I press the button "Build", nothing happens: no compilation, no warnings, no errors, nothing at all. Am I missing something? Is KDevelop working for you? Best regards, Oliveira |
||
May 21, 2015, 16:11 |
|
#10 |
Senior Member
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12 |
Thank you. If I remember correctly, your suggestion worked. However, I faced other problems and limitations. Finally, I turned to Qt Creator: https://openfoamwiki.net/index.php/H...with_QtCreator
Last edited by t.oliveira; May 21, 2015 at 20:43. |
|
May 25, 2015, 06:39 |
|
#11 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 848
Rep Power: 18 |
Whats the merits of using KDevelop or eclipse for OpenFOAM?
|
|
May 29, 2015, 11:06 |
|
#12 |
Senior Member
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12 |
Sorry for the late reply. I didn't get if you ask for a comparison about
- (using KDevelop for OpenFOAM) vs (using eclipse for OpenFOAM) or - (using KDevelop or eclipse OpenFOAM) vs (not using an IDE for OpenFOAM). |
|
June 3, 2015, 14:12 |
General doubt
|
#13 |
Member
Lisandro Maders
Join Date: Feb 2013
Posts: 98
Rep Power: 13 |
Hi, I will start developing and programming in OpenFOAM. Do the experienced guys recommend or not to use some IDE like Eclipse to do it? What do you recommend me to use as development tool to make life easier?
Thanks, Lisandro |
|
June 3, 2015, 20:02 |
|
#14 |
Senior Member
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12 |
I always recommend using an IDE for programming, but I am not sufficiently experienced in OpenFOAM to know if it would be an exception to this general recommendation. Since my first contact with it, I opted to use an IDE.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wmake C and KDevelop for a Foam project | roncresswell | OpenFOAM Installation | 21 | January 27, 2010 13:00 |
How should one debug a solver using KDevelop | kar | OpenFOAM Installation | 5 | July 28, 2008 17:36 |
Manage openfoam solver project in KDevelop probably the last linker error any suggestion is welcome | lakeat | OpenFOAM Installation | 0 | July 7, 2007 11:01 |