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

Getting stared with OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2012, 06:10
Question Getting stared with OpenFOAM
  #1
Senior Member
 
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 14
Djub is on a distinguished road
Hi dear all,
I would like to have some tips about starting with OpenFOAM. I have read the User Guide and fallow some tutorials, but I am still not autonome with this computing toobox. Where to find some info? Some help? I am a expert in MatLab; and typing help function gives me the syntaxe and so on. Something equivalent in OpenFOAM?
I apologize for this very "low-rated" question, but I did not find any answer on the web...
Djub is offline   Reply With Quote

Old   June 7, 2012, 06:36
Default
  #2
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
HI,

sorry I'm afraid that information about openFoam are rarely. but as start you can specify your case and begin to select solver, block your mesh,...etc. in your way you will find questions, you can search for it and consult cfd-online members. by time your knowledge will be accumulated. that is how i started.

good luck
Ahmed Khattab is offline   Reply With Quote


Old   June 7, 2012, 06:47
Thumbs up
  #4
Senior Member
 
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 14
Djub is on a distinguished road
Thanks a lot, anon_a. It was obvious this question had been allready asex, but I didn't find where!
Have a nice day!
Djub is offline   Reply With Quote

Old   June 7, 2012, 13:14
Default
  #5
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Hi,

by the way there are some tutorial videos on youtube website.
Ahmed Khattab is offline   Reply With Quote

Old   June 8, 2012, 06:25
Red face Installation problems
  #6
Senior Member
 
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 14
Djub is on a distinguished road
hi dear helpers,
I may add that both "users" and "programmers" guides are usefull. I thought the only first was necessary for me, but the the second is also very usefull... Maybe I was over confident about my skills...

By the way, I have new problems, about programming.
First, I had to change
allowSystemOperations from 0 to 1
in the file /opt/openfoam201/etc/controlDict
(I had to connect as SuperUser 'cause I didn't have correct rights).

But now, when I run potentialFoam from the cylinder tutorial, it stops with the error:
Code:
 
--> FOAM FATAL IO ERROR: 
cannot find file
file: /media/230Go/Etudes/Julien/OpenFOAM/TutoAmoi/cylinder/0/p at line 0.
    From function regIOobject::readStream()
    in file db/regIOobject/regIOobjectRead.C at line 73.
I think something's wrong in the installation of OF; do you have any idea to help me?
Djub is offline   Reply With Quote

Old   June 13, 2012, 12:55
Default
  #7
Senior Member
 
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 14
Djub is on a distinguished road
I don't know what I did, but it works now...
Thanks!
Djub is offline   Reply With Quote

Old   June 18, 2012, 06:11
Default
  #8
Senior Member
 
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 14
Djub is on a distinguished road
Hi dear Foamers,

how to get info on a specific tool?
For example, I would like to know how to use turbulentInlet (user guide p. U-137); none of CFDOnline and OpenFoamWiki searching tools give results...
Djub is offline   Reply With Quote

Old   June 18, 2012, 06:32
Default
  #9
Disabled
 
Join Date: Mar 2011
Posts: 174
Rep Power: 15
anon_a is on a distinguished road
You might not like the answer:

a) The doxygen documentation, found in
http://www.openfoam.org/docs/cpp/
Just write turbulentInlet in the search box and explore.

b) The code itself. Using "find ./ -name *turbulentInlet*" from src/ I got this
src/finiteVolume/fields/fvPatchFields/derived/turbulentInlet
Off course, you will see practically the same as in the doxygen guide.

If nothing is available in cfd-online or in people's blogs (which is usually not for very specialized stuff) you are on your own.

Good luck...
anon_a is offline   Reply With Quote

Old   June 18, 2012, 08:08
Default
  #10
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
My starting point for these kind of things is going to the tutorials (type 'tut') and then find out where the turbulentInlet is used: grep turbulentInlet `find`. This gives you some more information about how things are handled in a case. Next step is to browse the source code, where you can find what is being done if you learn to read the code. Also, the .H files give some comments about what is implemented.
Bernhard is offline   Reply With Quote

Old   June 18, 2012, 08:11
Default
  #11
Disabled
 
Join Date: Mar 2011
Posts: 174
Rep Power: 15
anon_a is on a distinguished road
Bernhard is right about the tutorials. I just took it for granted that you have already searched them and there is nothing related. Not as unusual as it sounds.
anon_a is offline   Reply With Quote

Old   June 25, 2012, 10:42
Question Forces, probes,...
  #12
Senior Member
 
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 14
Djub is on a distinguished road
Hi!

I would like to take info, post processed data from a case (unsteady LES).
Could anyone teaches me:
  1. How to use a probe? I would like to see the pressure at one point, depending on the time.
  2. How to calculate the forces? (I don't understand the motorbike tuto)
Thanks
Djub is offline   Reply With Quote

Reply

Tags
beginner, starting


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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06:56
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 14:50


All times are GMT -4. The time now is 15:02.