snappy works but does not add layers...why?
2 Attachment(s)
Dear foamers,
Please any body can help me. My snappy utility for my work, but it does not add layers. My geometry and the snappy is like in photos, can any one have a go on my snappy dictionary below.. /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object snappyHexMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // castellatedMesh true; snap true; addLayers true; geometry { injector.stl { type triSurfaceMesh; name injector; } } castellatedMeshControls { maxLocalCells 500000; maxGlobalCells 1000000; minRefinementCells 100; nCellsBetweenLevels 6; features (); refinementSurfaces { injector { level (4 3); } } refinementRegions { } resolveFeatureAngle 200; locationInMesh (0 0 0); allowFreeStandingZoneFaces false; } snapControls { nSmoothPatch 3; tolerance 4; nSolveIter 60; nRelaxIter 5; } addLayersControls { relativeSizes true; layers { injector { nSurfaceLayers 4; } }/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object snappyHexMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // castellatedMesh true; snap true; addLayers true; geometry { injector.stl { type triSurfaceMesh; name injector; } } castellatedMeshControls { maxLocalCells 500000; maxGlobalCells 1000000; minRefinementCells 100; nCellsBetweenLevels 6; features (); refinementSurfaces { injector { level (4 3); } } refinementRegions { } resolveFeatureAngle 200; locationInMesh (0 0 0); allowFreeStandingZoneFaces false; } snapControls { nSmoothPatch 3; tolerance 4; nSolveIter 60; nRelaxIter 5; } addLayersControls { relativeSizes true; layers { injector { nSurfaceLayers 4; } } expansionRatio 1.0; finalLayerThickness 0.3; minThickness 0.1; nGrow 1; featureAngle 30; nRelaxIter 3; nSmoothSurfaceNormals 1; nSmoothNormals 3; nSmoothThickness 10; maxFaceThicknessRatio 0.5; maxThicknessToMedialRatio 0.3; minMedianAxisAngle 130; nBufferCellsNoExtrude 1; nLayerIter 50; } meshQualityControls { maxNonOrtho 65; maxBoundarySkewness 20; maxInternalSkewness 4; maxConcave 80; minVol 1e-13; minTetQuality 1e-30; minArea -1; minTwist 0.05; minDeterminant 0.001; minFaceWeight 0.05; minVolRatio 0.01; minTriangleTwist -1; nSmoothScale 4; errorReduction 0.75; minFlatness 0.5; } debug 0; mergeTolerance 1e-6; expansionRatio 1.0; finalLayerThickness 0.3; minThickness 0.1; nGrow 1; featureAngle 30; nRelaxIter 3; nSmoothSurfaceNormals 1; nSmoothNormals 3; nSmoothThickness 10; maxFaceThicknessRatio 0.5; maxThicknessToMedialRatio 0.3; minMedianAxisAngle 130; nBufferCellsNoExtrude 1; nLayerIter 50; } meshQualityControls { maxNonOrtho 65; maxBoundarySkewness 20; maxInternalSkewness 4; maxConcave 80; minVol 1e-13; minTetQuality 1e-30; minArea -1; minTwist 0.05; minDeterminant 0.001; minFaceWeight 0.05; minVolRatio 0.01; minTriangleTwist -1; nSmoothScale 4; errorReduction 0.75; minFlatness 0.5; } debug 0; mergeTolerance 1e-6; Sandy, |
Quick answer: Check the second tutorial at this page: http://openfoamwiki.net/index.php/Sn...als_and_Guides - namely the one from the 7th OpenFOAM Workshop
|
help
hi sandy
i create geometry in solid and save it .stl but when open in linux its there is wrong can you help me? |
ascci stl
Quote:
In fact I do not why your file does not open with linux, but have you saved your file as an ascci format stl file. I think you should pick ascci when you save the file If you did not and I wish If I can help you more. Sandy, |
help
Hi sandy
Thank you very much for answering my question. But I do not know how to save your file format ascci? Do you know? |
ascii format
Quote:
Sandy, |
Quote:
|
1 Attachment(s)
Quote:
i import my geometry in blender but i cant see it!!!!!!!!!!!!!!!!!! ? :( i open it the all normal face is (0 0 0) is it right? |
It is working
Quote:
Sandy |
Hi Sandy
Do you know how to use Add layer? thanks a lot |
Add layers
Quote:
Sandy, |
Quote:
Code:
addLayers true; Code:
|
Quote:
Sandy, |
1 Attachment(s)
Hello
look at the following test case: |
hi sandi
probably your name of addlayer is wrong i think its true: injector.stl_injector second injector is the name in .stl file and not geometry |
1 Attachment(s)
hello
sandy look at the .stl file and name it in the file and name add layer in snappyHexMeshDict file |
snap
hi
i want to create 2d mesh around airfoil but when i use checkMesh is this error:Number of edges not aligned with or perpendicular to non-empty directions and the surface of airfoil not snap can you help me please? |
Quote:
|
Quote:
Sorry I can not help you that much about this error, and I did not use extrudeMesh before, sorry again and good luck with your research. Sandy, |
snap
1 Attachment(s)
Hi nimasam
yes i use the extrudMesh please look at the my testcase |
All times are GMT -4. The time now is 04:02. |