|
[Sponsors] |
[BEGINNER] Problems running tutorials (incompressible) in OF 2.xx |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 29, 2012, 08:00 |
[BEGINNER] Problems running tutorials (incompressible) in OF 2.xx
|
#1 |
New Member
Jaroslav
Join Date: Nov 2012
Posts: 4
Rep Power: 13 |
Hello everybody!
I am new to Fluid Dynamics and OpenFoam. I like very much OF (have watched videos on YT and I am big fan of Open-Source software). I read CFD-ONLINE from some time and admire what you do here. Sorry to bother you with some very basics.... (you must be tired answering beginners ), but I don't know where to ask for such things. I have installed OF on few platforms: - OF - the newest - on Linux Ubuntu - OF - the newest on Debian (in Windows' VBOX) I have also: - CAELinux 2011 - GEEKO CFD 4.0 - blueCFD SingleCore (on Windows) I have three computers (desktop + 2 laptops) where I have "tested" OF. I haven't any problems with installation OF, but have a lot of with running their tutorials. I have been trying all incompressible tutorials and got many problems (errors, usually runtime errors). Sometimes there is lack of file, sometimes there aren't some attributes, properties or other values set... Some tutorials don't even want to mesh (using BlockMesh or/and snappyHexMesh). I have problems with most tutorials to run, some have went, but I didn't get results in .foam file (only many time-step directories with data I cannot read (or don't know how) in ParaView). I thought that every case solved in result should bring .foam file ??? The only tutorial I got results (from incompressible dir) is pitzDaily (LES). In most situations (I think 50-60%), I didn't get solver running or even mesh applied - because of errors. Maybe you know what I am doing wrong?? I like OF (have read about its capabilities), but the lack of manuals and good documentation is very bad, terrible for beginners.Very hard to start I hope you point me to good directions and maybe advise how to run cases properly. Have you got problems while running OF tutorials?? Or its just me?? I am not giving errors here because in different tutorials I got various errors. I have also followed CAELInux 2011 tutorial (from SALOME to OF using simpleFoam) and......got errors while trying to run solver Regards, Jaroslav |
|
November 29, 2012, 14:14 |
|
#2 |
Senior Member
mauricio
Join Date: Jun 2011
Posts: 172
Rep Power: 18 |
hi!
some hints: read the userguide and the programmers guide within the /openfoam/doc/*.. (i dont remember the path right now) when there's now 'allrun' file it means that all u gotta do is run blockMesh and then the solver.. when the case is over you usually run paraFoam it will touch the files and lauch the paraview... gl
__________________
Best Regards /calim "Elune will grant us the strength" |
|
November 30, 2012, 03:24 |
|
#3 |
New Member
Fergus
Join Date: Sep 2012
Location: Glasgow, UK
Posts: 23
Rep Power: 14 |
Maybe I can post this question in here as it vaguely follows on from the last post. Apologies if this is a very basic question.
After having executed Allrun, I wish to view the progress of my simulation, i.e my residuals. I believe I can use the gnuplot utility but I'm unsure how to implement this. Thanks EDIT: On further reading, it seems pyFoam is the way to go. Last edited by Jaggy_Snake; November 30, 2012 at 04:14. |
|
November 30, 2012, 12:16 |
|
#4 |
Senior Member
mauricio
Join Date: Jun 2011
Posts: 172
Rep Power: 18 |
a simply way to view the residual at the terminal is:
Code:
# <solver> > log & # tail -f log
__________________
Best Regards /calim "Elune will grant us the strength" |
|
November 30, 2012, 14:17 |
|
#5 |
New Member
Jaroslav
Join Date: Nov 2012
Posts: 4
Rep Power: 13 |
Hello! Thanks for reply! I knew about both documents / guides for OF. But they are not too comprehensive, particularly they don't answer why some errors occur and how to solve this problems..... I have make several huge mistakes, that's why I had problems with tutorials. I have solved ALL of them, a now tutorials works fine . If anyone (any beginner - I should say) will have problems with tutorials running in blueCFD (under Windows) I recommend to read their installation guide: http://code.google.com/p/bluecfd-singlecore/ and: http://code.google.com/p/bluecfd-sin...wiki/UserGuide There are interesting informations, like: Adapting simulation cases from Linux to Windows and how to install ParaView under Windows... Regards Jaro
|
|
November 30, 2012, 17:47 |
|
#6 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
To store the residual data you could also use foamJob (e.g. in case of simpleFoam):
Code:
$ foamJob -s simpleFoam After running the solver with foamJob, you can use the foamLog tool to obtain xy-data files of the residuals (simply type foamLog). Plotting can be done with a tool like Gnuplot or any other... More info can be found at http://www.openfoam.org/docs/user/mo...#x35-2010006.6 Regards, L |
|
December 1, 2012, 03:10 |
|
#7 |
New Member
Fergus
Join Date: Sep 2012
Location: Glasgow, UK
Posts: 23
Rep Power: 14 |
OK, thanks for the tips. And it's good that the OP has got things working now.
|
|
December 4, 2012, 21:12 |
|
#8 |
Senior Member
ATM
Join Date: May 2009
Location: United States
Posts: 104
Rep Power: 17 |
This was extensively discussed in the forums earlier. Check out this thread....and I you will learn how to write your own gnuplot commands to plot, or use the existing ones :-)
http://www.cfd-online.com/Forums/ope...residuals.html |
|
March 16, 2016, 08:27 |
How to calculate u max and v max for particular values of x and y in openfoam
|
#9 |
New Member
narayana vekamulla
Join Date: Oct 2015
Posts: 15
Rep Power: 11 |
Good evening friends,
i am doing simulation using buoyantBoussinesqSimpleFoam , i got some results. please tell me how to find U max and V max for a particular values of X and Y ? With respect to time how to calculate velocities ? Thank you |
|
Tags |
openfoam, problems, running, tutorials |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tutorials for incompressible flow and different turbulence models | Sandu69 | OpenFOAM | 2 | April 20, 2010 13:17 |
All Tutorials and Example Problems Definitions | bucksfan | OpenFOAM | 2 | July 6, 2009 09:14 |
All Tutorials and Example Problems Definitions | bucksfan | OpenFOAM | 2 | July 3, 2009 11:25 |
Kubuntu uses dash breaks All scripts in tutorials | platopus | OpenFOAM Bugs | 8 | April 15, 2008 08:52 |
Problem running tutorials | sega | OpenFOAM Pre-Processing | 2 | March 23, 2008 04:48 |