|
[Sponsors] |
[snappyHexMesh] Protrusion cells at intersection of surfaces - snappyHexMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 4, 2017, 11:03 |
Protrusion cells at intersection of surfaces - snappyHexMesh
|
#1 |
Member
Katt
Join Date: May 2017
Posts: 30
Rep Power: 9 |
Hi;
-> I want to generate a model, having two cylinders intersecting orthogonally and at the point of contact, there is a sphere as shown in Figure1. [generated using "OpenSCAD"] -> With reference through "motorbike" case and few other tutorials I did make progress extracting the geometry. The problematic region is around the location where the cylinder and sphere surface meet. Please see the outward protrusions in Figure2 after running sHM. I used a refinement level of 1,2 and moved until 6,7 but still these protrusions do exist. I tried several parameters but I do see them (protrusions) at all times. Is there a way to overcome this issue without tremendous rise in the cell count? -> After running sHM, I check the mesh properties using "checkMesh". Every constraint is fine except the "skewness". How is skewness of a mesh computed? Further the cell faces with skewness greater than the tolerance is written as output. How can we visualize these cell faces in paraview? Ideally, lesser the skewness, better the accuracy for the numerical solver. I hit around "skewness: 4 - 4.2" with 4 being the default tolerance set by OpenFoam. Is there a parametric fix to this issue? Katt |
|
October 6, 2017, 06:26 |
|
#2 |
Member
Katt
Join Date: May 2017
Posts: 30
Rep Power: 9 |
Anyone interested in this topic...??
Ideally I would prefer to generate the geometry shown in Figure 1 using blockMesh (using arc edges and so on) and not using sHM. Reason being, I would like to see more of a decent uniform/ structured sort of mesh rather than completely deformed pyramidal shaped control volumes which makes any sort of solver to struggle especially for interFoam solver where the interface smears terribly. I ask this because I see few posts as here https://www.researchgate.net/post/He...Foam_BlockMesh where they have a decent structure to their geometry and used blockMesh to generate cylinders and spheres. |
|
October 6, 2017, 06:57 |
|
#3 |
Member
Charlie Lloyd
Join Date: Feb 2016
Posts: 57
Rep Power: 10 |
Have you used the surfaceFeatureExtract function that the motorBike tutorial uses? You should be able to identify the important features (the intersection lines) using this function and then tell SHM to maintain them. I'm pretty sure the motorbike tutorial does this for reference.
I haven't used blockMesh for anything other than simple cubes/cuboids, but if it is possible to generate that kind of mesh then it would take much longer to do than to use SHM! |
|
October 9, 2017, 06:55 |
|
#4 |
New Member
Join Date: Aug 2017
Location: Milan Area, Italy
Posts: 10
Rep Power: 9 |
Hi Katt,
to get rid of protrusions try to run surfaceFeatureExtract, like Charlie suggested. Then you could increase the refinement level on extracted edges in snappyHexMesh dictionary (castellatedMeshControls.features): Code:
features ( { file "mySTL.eMesh"; level 4; //levels ((0.1 4)); } ); |
|
October 12, 2017, 09:20 |
|
#5 |
Member
Katt
Join Date: May 2017
Posts: 30
Rep Power: 9 |
Hi guys,
Thanks for the explanation. I could generate my mesh well with OpenFoam 3.x but I would like to have it in Foam-Extend 1.6. I see that the "surfaceFeatureExtract" utility has been modified from OpenFOAM 2.2 version and exporting the final mesh from OpenFOAM3.x to FoamExtend1.6 is not straight forward. Though there is surfacefeatureExtract in foam-extend-1.6, its behavior is quite weird. The .eMesh file is generated in an incompatible form that snappyHexMesh complaints. Any advise here. |
|
Tags |
snapphhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SnappyHexMesh running killed! | Mark JIN | OpenFOAM Meshing & Mesh Conversion | 7 | June 14, 2022 02:37 |
Problem with divergence | TDK | FLUENT | 13 | December 14, 2018 07:00 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 04:21 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
[Netgen] Import netgen mesh to OpenFOAM | hsieh | OpenFOAM Meshing & Mesh Conversion | 32 | September 13, 2011 06:50 |