Hi,
an other problem relate
Hi,
an other problem related to the patch concerns curved surfaces. For example, i have an inlet which is a curved sufrace. Using snappyHexMesh, i can see that a important part of my inlet is made of holes! I think it comes form hexahedral cells which have been removed when 50% or more of their volume lies out of the region of interest. Could it be due to bad snapping parameters? I'm using this ones: // Settings for the snapping. snapControls { //- Number of patch smoothing iterations before finding correspondence // to surface nSmoothPatch 3; //- Relative distance for points to be attracted by surface feature point // or edge. True distance is this factor times local // maximum edge length. tolerance 4.0; //- Number of mesh displacement relaxation iterations. nSolveIter 30; //- Maximum number of snapping relaxation iterations. Should stop // before upon reaching a correct mesh. nRelaxIter 5; } Could someone help me? Thank you Bastien |
Hello bholbek,
you mentioned an interesting point. What is supposed to to with defualtPatches defined by the blockMeshDict. Have you already gotten some answer or how you have solved this problem. kind rigards |
help on creating patches
2 Attachment(s)
I'm trying to create patches from multiple stl files
I tried as posted in the previous post but I get the error: keyword castellatedMeshControl is undefined Is there something wrong with the file? |
2 Attachment(s)
Dear All,
I'm new to snappyhexmesh and me too I hit the same problem (holes into the patches). See pictures. I'm still doing tests but if someone knows the solution I appreciate, thanks. Daniele |
This is strange, did you set up different levels at the inlet?
Maybe try the same level of refinement and a bit higher level of refinement? |
Even with the same refinement setup I've got the same problem.
A little explanation of what I'm doing: I'm trying to setup patches using a stl files. It's just a simple pipe with an inlet and an outlet (oh, yes, what else...;)) I defined the faces in Salome and exported three different files: one is for full geometry, one for the inlet face and the other for the outlet one. In snappyHexMeshDict I use: Code:
geometry Code:
refinementSurfaces Maybe the holes are caused by the file of the full geometry that already contains the faces included in the inlet/outlet stl files. I do this way because, in general, I think it would be more comfortable to define just the patches and leave the other faces undefined. I don't know whether I was able to explain... In order to define patches in stl geometry, do I have to export all and only the surfaces (sure, grouped by their function, in my case still 3 files) ? Daniele |
Yes, you have to define a stl file for each of the patches.
No overlapping faces seem to be allowed. This way I solved the holes problem. Daniele |
Quote:
|
Well, I'm just a beginner so be carefull with my advices.
Anyway ,my problem was having several overlapping surfaces. I think there's no problem in having multiple not-overlapping patches. Daniele |
thanks Daniele
|
hi,Pei. I have the same problem with you. Have you solved your problem at last. If so, could you please tell me how is that solved?
|
Hi Daniele,
I'm facing same problem, do you mean work-flow should be like this? - realize your CAD geometry - explode into faces - make group of faces (inlet, outlet, walls) - export every single group of faces as STL ascii - write every geometry file into SHM dict. sounds correct to you? |
Yes. These are the steps I follow.
|
Non-closedness after removing patch surfaces
1 Attachment(s)
Dear all,
2014 is long gone - still, I am thankful for your thread since I have the same issues: a fractured patch, just like user danvicas images show. I have compressed a minimal working example (MWE) below. Yes, I use individual .stl files for each patch. Yes, I use the same refinement levels. But geometrically speaking, it is impossible to remove overlapping surfaces - and that's a problem: I have the whole geometry (wall+inlet+outlet) as an .stl file. When I try to remove the outlet face in the whole file manually, e.g. by using blender, I create a non-closed geometry. Code:
snappyHexMesh -checkGeometry I even tried redistributing the nodes in the whole geometry:
How did you all get past this? Thanks again for the previous discussion! Yeru |
All times are GMT -4. The time now is 22:04. |