CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Please recommend compile tool eclipse or Qt-creator?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By marc.immer

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2014, 01:17
Question Please recommend compile tool eclipse or Qt-creator?
  #1
New Member
 
Park sangbin
Join Date: Dec 2013
Location: South Korea
Posts: 3
Rep Power: 12
sangbin.hana is on a distinguished road
I am a new bee to know nothing about openfoam

I just finished install openfoam and do some simple tutorial

My major is coal combustion-> I heard that openfoam combustion library not good. But I have to do it

I knew that most important part of openfoam is making a library and compile.

But there are many way to compile openfoam library, like a eclipse ande Qt creator, and even someone use specific type of own program.

I knew this is some stupid question. But I want to have clean start, If I choose wrong program to compile openfoam at first time, It could be disaster for my work later.

Please answer my question. I am sorry to my poor English Thanks.
sangbin.hana is offline   Reply With Quote

Old   May 13, 2014, 04:46
Default
  #2
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
My advice will start a flame war probably, but I would suggest that you just work in the console and use Vim text editor together with the plugins:

  • ack.vim
  • nerdcommenter
  • nerdtree
  • snipmate.vim
  • vim-colors-solarized
  • vim-fswitch
  • vim-fugitive
  • vim-taglist
There is a benefit in IDEs, e.g. Eclipse, when it comes to refactoring (that's the only one I can see). However working with a text editor (read Vim ) keeps you close to the code - it forces you to learn where what is in the code base and how it's named, be it class, function, etc.


Vim takes some time to learn, but once you do, your editing speed will xplode. If that what you edit will compile + run, that's up to you


Good luck!
__________________
When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   May 13, 2014, 04:58
Default
  #3
New Member
 
hana
Join Date: May 2014
Posts: 23
Rep Power: 11
bluenail is on a distinguished road
I appreciate your answer.

Thank you ^^

I start work using .txt based.

Thank you for your help.

(I change ID)
bluenail is offline   Reply With Quote

Old   May 13, 2014, 07:39
Default
  #4
New Member
 
Marc
Join Date: Sep 2012
Posts: 17
Rep Power: 13
marc.immer is on a distinguished road
Hi,

I prefer QtCreator.
Here is a nice tutorial on how to set it up:
http://openfoamwiki.net/index.php/Ho...with_QtCreator

Hint: create an alias to qt-creator in your .bashrc. Open a terminal, load your openfoam environment, then execute qtcreator. This will give you all the path working, and in your projects build settings, your can just use foamExec without the full path.

To get code completion, open a terminal, navigate to the OpenFoam installation folder and type:
find $PWD -type d -name lnInclude > pathfile
Copy to content of the pathfile to the projects xx.includes file.

Cheers
Marc
anperri likes this.
marc.immer is offline   Reply With Quote

Old   May 13, 2014, 08:22
Default
  #5
New Member
 
hana
Join Date: May 2014
Posts: 23
Rep Power: 11
bluenail is on a distinguished road
Thank you for answer.
I appreciate your hint.

This could be helpful tip for everyone thanks ^^
bluenail is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Eclipse flags errors even though Compile works banji OpenFOAM Programming & Development 6 November 4, 2016 09:50
OpenFoam & Eclipse gary7 OpenFOAM Programming & Development 4 March 19, 2012 11:29
[Other] Can anyone recommend a decent meshing tool ? Marineboy OpenFOAM Meshing & Mesh Conversion 4 August 30, 2010 17:49
PV3FoamReader compile error.... PEM_GUY OpenFOAM Installation 6 April 5, 2010 17:22
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51


All times are GMT -4. The time now is 19:29.