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

A Clinux question

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2005, 16:55
Default HI, I have some knowledge i
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
HI,

I have some knowledge in MS Visual C++. It have a nice GUI. Once a project is open, all classes and functions are there. Is there anything similar under Linux/C++? How do I find something like mesh.updateTopology() in OpenFOAM for example?

Thanks!

Pei
hsieh is offline   Reply With Quote

Old   April 6, 2005, 17:06
Default foamsrc find . -type f -nam
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,904
Rep Power: 33
hjasak will become famous soon enough
foamsrc

find . -type f -name "*.[CH]" -exec grep "::updateTopology()" {} \; -print
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   April 6, 2005, 17:10
Default Have you tried searching the D
  #3
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
Have you tried searching the Doxygen documentation? It is supplied with the release but is also accessible from the openfoam web site with the search-engine setup.
henry is offline   Reply With Quote

Old   April 7, 2005, 06:04
Default You could try KDevelop (I don'
  #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
You could try KDevelop (I don't use it myself; I've only tried to import the OF-sources and that seems to work). It has a built class browser. My experience is that Class browsers (including the one in Visual C++) have problems if templates are used in a non-trivial way, but your milage may vary.

An alternative (for browsing the code) could be to import the sources on a Windows-Machine into Visual C++.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   April 7, 2005, 09:37
Default Hi, Thanks for all the tips
  #5
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi,

Thanks for all the tips.

I did try to use doxygen. Sometimes, I was not able to find what I was looking for - I am not use to it yet.

Hi, Bernhard, I am going to give KDevelop a try. I also have MS Visual C++ on my laptop, so, I will also give this a try. The question is: is there a top level project of OpenFOAM that I can open?

Pei
hsieh is offline   Reply With Quote

Old   April 7, 2005, 11:12
Default When I tried KDevelop I create
  #6
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
When I tried KDevelop I created a new C++-project in the directory OpenFOAM-1.1/src. After that KDevelop asked me whether I wanted to import all the C++-Files in that directory.

Don't know about Visual C++, but it should work similar.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   May 17, 2005, 12:18
Default Hello Is there anybody who
  #7
New Member
 
alain nguenkem kamgang
Join Date: Mar 2009
Location: Stuttgart, Baden würtemberg, Germany
Posts: 3
Rep Power: 17
akamgang is on a distinguished road
Hello

Is there anybody who knows where i can found more informations on how to use Salome. or does some of you knows a book on the Topics , because the help is not Clear enough. please i am waiting for your Answers.
Thanks.
akamgang is offline   Reply With Quote

Old   May 17, 2005, 12:45
Default The 'Programmers C++ Doxygen'
  #8
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
The 'Programmers C++ Doxygen' button on http://www.opencfd.co.uk/openfoam/doc/index.html

works fine for me. Looks like your browser does not recognize javascript.
mattijs is offline   Reply With Quote

Old   May 17, 2005, 19:12
Default I think that PHP is needed in
  #9
nakamura
Guest
 
Posts: n/a
I think that PHP is needed in searching in Doxygen on the local machine.

I set Apache with PHP on my Unix box
and access to http://MyMachine/~Me/OpenFOAM/OpenFO.../Doxygen/html/
and searching goes well.
  Reply With Quote

Old   December 18, 2006, 12:10
Default hi I am new with C++ and Open
  #10
New Member
 
morteza mirsaeedi
Join Date: Mar 2009
Posts: 6
Rep Power: 17
mirsaeedi is on a distinguished road
hi
I am new with C++ and OpenFoam programming.
I searched in doxygen but i can not use it.
How can i starting programming in OpenFoam. Ofcourse i know about OO programming but the names and classes in doxygen are confused me.
How can i start?

thanks
mirsaeedi is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
C question kar OpenFOAM Running, Solving & CFD 26 May 20, 2008 07:05
Question concerning VOF Flora FLUENT 2 July 9, 2007 10:50
question about LES gino briganti FLUENT 3 June 27, 2005 07:05
A question zhhuang Siemens 0 April 29, 2003 02:44
The question about Y+ rambol CFX 2 November 7, 2002 10:40


All times are GMT -4. The time now is 08:57.