Scaling issues with STL file and snappy hex mesh .
1 Attachment(s)
I am very new to OpenFoam :o
I am trying to put a stl file in domain space created by blockMesh utility. However , snapping isn't really happening . The mesh generated after snapping dosent really have my model from the stl file. I have scaled both blockMesh and Snappy Hex Dict to 0.001 as mentioned below to mm . The domain space was very carefully made , i suspect that I am having a scaling issue. I am also attaching the files. Thanks for taking time to help me out :) BloxkMeshDict backgroundMesh { xMin -260; // xMax 26; yMin -5; // yMax 66; zMin -5; zMax 37; xCells 286; yCells 71; zCells 10; } convertToMeters 0.001; // for mm 0.001 SnappyHexMeshDict geometry { hemisphere.stl { type triSurfaceMesh; scale 0.001; name hemisphere; } //refinementBox //{ //type searchableBox; //min (-0.5 -0.2 -0.5); //max (2.5 0.5 2.5); //} }; castellatedMeshControls { maxLocalCells 1000000; maxGlobalCells 2000000; minRefinementCells 100; resolveFeatureAngle 42; nCellsBetweenLevels 10; features ( { file "hemisphere.eMesh"; scale 0.001; level 1; } ); refinementSurfaces { hemisphere { // Surface-wise min and max refinement level level (1 1); } // } |
Quote:
|
Quote:
I did figure out the issue a while ago and it was exactly as you said. The stl file was in binaries and I needed to convert it into ASCII . It works like a charm now. |
All times are GMT -4. The time now is 19:51. |