|
[Sponsors] |
March 23, 2012, 03:48 |
How to give enough info to get help
|
#1 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
This is a repost of another post hoping that it can be made sticky.
An example on how to get proper help following the guideline shown. I will try to give an example taken purely from my own imagination that show the kind of info I would like in order to help people. === 0 === Prepare for getting help. cfd-online does not provide large filesize uploads so registering a dropbox/box account and use a public link to the picture/file makes it a lot easier to share files/pics or the full case. === 1 === First give it a relevant name in the title of the thread simpleFoam pipe case diverges What this little information tells us is that the solver is simpleFoam, the geometry is a pipe and we know that the problem is that it diverges. === 2 === Second give a sketch of the geometry, a screendump of the mesh and maybe even a cut through the mesh. Paraview and the Clip filter works good here. This helps immensely when trying to visualise the case in others brains. The "a picture says more than a thousand words" quote springs to mind here Below is an example of a picture inserted using a public link from dropbox. Also the first info you need to give is the output from checkMesh put into a log file Code:
checkMesh > checkMesh.log Ok now people know that you have a pipe with two bends and that the mesh is fully structured (paraview shows some as tets, but that is a render issue). The dimensions of the pipe is also known now. Also from the header files people know that you are using OpenFOAM version 2.1.x, this is relevant since there can be some bugs in the version used. === 3 === Ok now we are ready to start identifying the problem. You know that you have divergence problems and if you have opened just one book about CFD, you know that stability is related to a number of things.
fvSolution fvSchemes This will allow people to see if you have the correct setup for the type of case/mesh you have. === 4 === Also some good information to give is the output from the terminal, but please don't post 10+ iterations. Post only the relevant bits, for example the 2-3 iterations where the solver start to diverge. Another options would be to give the log file as a upload/link. The output can be put into a file using. Code:
simpleFoam > simpleFoam.log 2>&1 Code:
Time = 11 smoothSolver: Solving for Ux, Initial residual = 0.0394701, Final residual = 0.00283316, No Iterations 4 smoothSolver: Solving for Uy, Initial residual = 0.0244406, Final residual = 0.00163773, No Iterations 4 smoothSolver: Solving for Uz, Initial residual = 0.211626, Final residual = 0.0144428, No Iterations 4 GAMG: Solving for p, Initial residual = 0.332445, Final residual = 0.0124884, No Iterations 7 time step continuity errors : sum local = 0.0803619, global = 0.0111056, cumulative = 0.0907056 smoothSolver: Solving for epsilon, Initial residual = 0.0137779, Final residual = 0.000915039, No Iterations 3 smoothSolver: Solving for k, Initial residual = 0.0205267, Final residual = 0.00103642, No Iterations 4 ExecutionTime = 6.07 s ClockTime = 6 s Time = 12 smoothSolver: Solving for Ux, Initial residual = 0.0966665, Final residual = 0.00756253, No Iterations 4 smoothSolver: Solving for Uy, Initial residual = 0.103096, Final residual = 0.00828772, No Iterations 4 smoothSolver: Solving for Uz, Initial residual = 0.122408, Final residual = 0.00767765, No Iterations 4 GAMG: Solving for p, Initial residual = 0.181939, Final residual = 0.00707472, No Iterations 5 time step continuity errors : sum local = 0.0780837, global = -0.0134194, cumulative = 0.0772862 smoothSolver: Solving for epsilon, Initial residual = 0.0127022, Final residual = 0.000977349, No Iterations 3 smoothSolver: Solving for k, Initial residual = 0.0222577, Final residual = 0.00121352, No Iterations 4 ExecutionTime = 6.46 s ClockTime = 7 s This might seem like a lot of work, but if you want people to invest time on you, you must invest at least as much time in asking the right question and give sufficient input to allow people to help you. I'm sure that if you follow this simple guide you will get the help you need.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. Last edited by Tobi; September 21, 2017 at 14:39. Reason: Updated Links |
|
March 23, 2012, 10:33 |
|
#2 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
I made this thread sticky.
And some other points. Don't hijack other threads and don't post the same question multiple times. I see that some people post new questions in active threads cause they think this will attract more readers. Do not do this, since it makes it really hard to search the forum. And heads up. If you post a question in this thread I will just remove it. So don't do that either. |
|
March 31, 2012, 07:47 |
|
#3 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Linnemann's sample post and some more tips can be found on the wiki as well: http://openfoamwiki.net/index.php/Ho..._Message_Board
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
August 9, 2012, 06:23 |
|
#4 |
Member
Amin Shariat KHah
Join Date: Apr 2011
Location: Shiraz
Posts: 86
Rep Power: 15 |
It's a good job that people doing in other forums always.
Summarizing all different thread about one subject. It will be more perfect with attached simple cases for download for new users. And finally some threds like it could became a pdf file for users. |
|
February 10, 2013, 07:52 |
|
#5 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Relevant: doi:10.1371/journal.pcbi.1002202 (http://www.ploscompbiol.org/article/...l.pcbi.1002202)
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
May 1, 2013, 18:13 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Section "3.3.3 Solver output" at openfoamwiki.net already explains the following, but feel free to point people to this post for instructions on how to post code in the forum.
__________________ Take for example this piece of code: Code:
nSend = 0; forAll(complexData, i) { label procI = complexData[i].first(); sendMap[procI][nSend[procI]++] = i; } nSend = 0; forAll(complexData, i) { label procI = complexData[i].first(); sendMap[procI][nSend[procI]++] = i; } So, to avoid messy looking posts with ugly code in the middle of a post, use the "[CODE]" tag. There are two ways to do this:
__________________
Last edited by wyldckat; March 6, 2018 at 16:58. Reason: fixed image link |
|
June 20, 2013, 20:59 |
|
#7 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Two more things of a more technical nature (that are bothering me sometimes):
Maybe these points can be added if the original article is updated/extended (along with other valuable remarks in this thread like on citing code etc)
__________________
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 |
|
February 22, 2015, 13:10 |
|
#8 | |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Quote:
Last edited by wyldckat; March 6, 2018 at 16:58. Reason: fixed image link |
||
September 20, 2017, 10:19 |
|
#9 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi mods, is it possible i can get to edit the first post updating the links to pictures and files?
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] "Perhaps you have not exported the 3D elements?" | j_moulton | OpenFOAM Meshing & Mesh Conversion | 14 | October 6, 2022 22:58 |
[Gmsh] 3D coil mesh: can't create the volume? | RomainBou | OpenFOAM Meshing & Mesh Conversion | 3 | July 18, 2016 06:09 |
OpenFoam error | kvk | OpenFOAM | 0 | February 21, 2016 08:57 |
[Gmsh] Vertex numbering is dense | KateEisenhower | OpenFOAM Meshing & Mesh Conversion | 7 | August 3, 2015 11:49 |
How to give volume fraction in multiphase models | chhanwal | FLUENT | 0 | August 13, 2009 01:07 |