OpenFoam FATAL ERROR SnappyHexMesh search lines never written
Hi all,
I'm using SnappyHexMesh to mesh an stl model I followed this procedure using the tutorial pitzDaily of SimpleFoam:
The problem is that the command Code:
mpirun -np 6 snappyHexMesh-overwrite -parallel Code:
Doing final balancing here is the SnappyHexMeshDict file: How could I find a solution, please?? Let me know if you need other outputs to investigate better, or could indicate me a possible solution? Thanks in advance |
Hi,
By any chance is the mesh in your parallel snappy a lot finer than the one in the single processor case? If so, do you have sufficient space to perform IO operations in the drive where your case is located? Cheers, Antimony |
1 Attachment(s)
Quote:
Sorry, but how to set that? Quote:
By the way, here is the file SnappyHexMeshDict: Attachment 52702 Thanks a lot |
Anyway, even if you cannot help me to get the solution,
could you provide me some papers where it is easy to find an explanation of all functions that could be found in a snappyHexMeshDict file? The common documentation in OpenFOAM website is so bare of descriptions and examples, that is so difficult to understand, especially for more particular meshes. Thanks a lot |
Hi,
Perhaps I should have phrased my question better: You mentioned that snappy works when you mesh in serial correct? And it seems to not work (giving the error messages) when you run it in parallel. Correct? So why is it that you want to mesh in parallel? Is it because the mesh that you plan to generate in parallel is a lot finer than the one on serial? Taking a look at the log file though it doesn't seem to be the case, so this question might be moot. I noticed that you are doing the addLayers part as well. Perhaps the issue comes from there? One thing you can try is to set castellatedMesh and snap to 'true' and addLayers to 'false' and then see if you face the same problem. The second part, on the reference for snappy is here: http://openfoamwiki.net/images/f/f0/...SlidesOFW7.pdf Cheers, Antimony |
Thank you so much for your reply.
Trying and trying I think I'll get soon the solution. Actually I'd already read that paper but not all was clear. Maybe you can clarify the more important doubts about that. Sorry if I'm long and boring. Anyway, in the Castellated sub-dict they are:
Actually I have a lot of other questions, but this will be future questions Thanks again |
Hi,
I am no expert in sHM but will try to answer some of your questions based on my understanding: Quote:
Quote:
Quote:
Quote:
Quote:
If it is the second, that too is doable. I have an exporter for OF that reads your STL file (ASCII format only!) and does this. Take a look at it here: https://github.com/venugopalansgr/OpenFOAM That is about all the questions of yours on sHM that I can answer. Hope it helps. Cheers, Antimony |
1 Attachment(s)
@Antimony,
thanks so much for your explanations You answered to most of issues but not all it is clear. You explained using what it is easy to find on OpenFOAM guide, and I appreciate you, but to be clearer we should use an example. Let's watch this image: Attachment 52883 It has a cylindrical shape with the written dimensions. Consider to create a finer mesh in the narrowing, to manage adequately the reduction of the diameter and to set the surface refinement for the inlet and outlet surfaces. The walls with the red lines need the boundary layers, let's say starting from 0.3mm to 1mm with a growing power of 1.5. So to do that, how do you define all parameters I asked? Do you create different STL files? One for constant diameter inlet and one for outlet? Two separate parts for the reductions and the narrowing? Or what? How do you manage all them in all files (snappyHexMesh, blockMeshDict, surfaceExtractionDict, etc...)? I will appreciate a lot if you try to explain all the procedure to get that cylinder shape meshed Thanks a lot |
Or more useful could be an explanaition for this case: https://www.cfd-online.com/Forums/me...pyhexmesh.html
Thanks again |
All times are GMT -4. The time now is 06:29. |