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

What software do you guys use for programming?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2011, 12:53
Default What software do you guys use for programming?
  #1
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
I'm curious - what works for you guys?

I'm only using gedit. Sometimes I want to search through the OpenFOAM code to find an example, but I can't easily do that. I wound up creating two massive files - one that contains all /src code, and one with /applications. Then I use gedit's search feature.

I recently learned about 'Ultraedit' (commercial), which would have made much of that easier... that got me wondering what other foamers do.

Open discussion welcome.
marupio is offline   Reply With Quote

Old   June 7, 2011, 13:33
Default
  #2
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23
l_r_mcglashan will become famous soon enough
I use gedit quite often with OpenFOAM, although I do use Eclipse a lot for other projects. Eclipse links in really well with CMake and Git so that you can do everything within the Eclipse IDE.

I think IDEs are especially useful when you start out (at least, new people in my group find code easier to get to know and navigate via an IDE).

I'm looking forward to the emacs/vi crew to pile in now.
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is offline   Reply With Quote

Old   June 7, 2011, 14:08
Default
  #3
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Of course Emacs! Is there anything else?


Martin
mbeaudoin is offline   Reply With Quote

Old   June 7, 2011, 14:55
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by mbeaudoin View Post
Of course Emacs! Is there anything else?
Yeah. XEmacs
gschaider is offline   Reply With Quote

Old   June 8, 2011, 04:25
Default
  #5
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
I use vim to edit code, grep to find in files and meld for diffs. Might be tough for beginners, but it works pretty well once you're used to it
akidess is offline   Reply With Quote

Old   June 8, 2011, 07:44
Default
  #6
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by marupio View Post
I'm curious - what works for you guys?

I'm only using gedit. Sometimes I want to search through the OpenFOAM code to find an example, but I can't easily do that. I wound up creating two massive files - one that contains all /src code, and one with /applications. Then I use gedit's search feature.
You can also use 'git grep' or 'git grep --cached' for general searching. This can be useful independent of your editor.
olesen is offline   Reply With Quote

Old   June 9, 2011, 07:18
Default
  #7
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,290
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
use notepad++, you will never use anything else after that.
arjun is offline   Reply With Quote

Old   June 9, 2011, 08:44
Default
  #8
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 24
santiagomarquezd will become famous soon enough
FYI, recently we release the first public version of gdbOF a tool to debug OpenFOAM attachable to gdb. It does easier to extract data formatting it to use Octave/Matlab, check BC's, dump matrices etc.

Check it out at: http://openfoamwiki.net/index.php/Contrib_gdbOF

Any new ideas o contributors are welcome!

Regards
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Research Scientist
Research Center for Computational Methods (CIMEC) - CONICET/UNL
Tel: 54-342-4511594 Int. 7032
Colectora Ruta Nac. 168 / Paraje El Pozo
(3000) Santa Fe - Argentina.
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Old   June 9, 2011, 11:53
Default
  #9
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
@Mark - grep - yeah, I've used it a little. I don't speak regexp very fluently... git grep would be useful if I used version control...

@Arjun - I use notepad++ on all my windows machines. I was looking for a version for Ubuntu.

@Santiago - I use gdb... a version that can make more sense of the objects in memory would be awesome! Thanks! I will check it out.
marupio is offline   Reply With Quote

Old   June 9, 2011, 20:06
Default
  #10
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,290
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by marupio View Post
@Mark - grep - yeah, I've used it a little. I don't speak regexp very fluently... git grep would be useful if I used version control...

@Arjun - I use notepad++ on all my windows machines. I was looking for a version for Ubuntu.

@Santiago - I use gdb... a version that can make more sense of the objects in memory would be awesome! Thanks! I will check it out.

i have started using it on ubuntu too. It works well with the help of wine. It is little bit hampered compared to windows version but still better than using gedit.

Install it with the help of wine and you will be able to run it.
arjun is offline   Reply With Quote

Old   June 10, 2011, 08:55
Default
  #11
Senior Member
 
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21
kalle is on a distinguished road
For small modifications I usually go with vi. For larger stuff gedit.

grep / find / diff are good friends too!
kalle is offline   Reply With Quote

Old   June 10, 2011, 13:46
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
I've had good experiences with Ultraedit in the past, but in Linux I usually resort to:
  • The most familiar to me as Ultraedit is Kate, which I use for massive editing and searching in files - I only use gedit if Kate is out of reach;
  • nano for quick editing;
  • and for some corner cases, I resort to: sed, find, grep, xargs, and some other bash/sh internal commands.
  • as for file comparison, diff or git diff, depending on the work layer.
__________________
wyldckat 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
[CAD formats] Hexahedral meshing of CAD files - Which free software? Wolle OpenFOAM Meshing & Mesh Conversion 14 November 22, 2014 22:40
Water mist modelling capabilities of any software. Iqbal FLUENT 0 January 13, 2011 03:59
CAD integrated CFD Software kostikr Main CFD Forum 3 February 4, 2010 15:38
Need help in proper CFD software AMusteykis Main CFD Forum 0 September 6, 2009 09:28
Visualization Software for CFD Paul Main CFD Forum 3 March 25, 2006 18:16


All times are GMT -4. The time now is 22:58.