|
[Sponsors] |
June 9, 2015, 07:56 |
|
#41 |
New Member
John Smith
Join Date: Jun 2015
Posts: 4
Rep Power: 11 |
Is it possible in the blockMeshDict to create two areas in effect, one close to the turbine where I can impose much more vertices and a larger one to deal with the macro flow effects? Or is this what the refinement is supposed to do?
Thanks, Mark |
|
June 9, 2015, 10:17 |
|
#42 |
Senior Member
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12 |
Hi Mark;
It basically gets complex if you have an irregular shape. Incase if you have a chance to split into hexahedral polygons then it is easy as explained in the cavity tutorial. Also I just saw several videos in Youtube which shows the usage of "Adaptive meshes". {I didn't start working with that as of now may be someone can shed some light on that}. I just have an impression it is just a library so it shall be easy to use an adaptive grid also. Saideep |
|
July 21, 2015, 16:24 |
|
#43 | |
New Member
Regis
Join Date: Jan 2012
Posts: 24
Rep Power: 14 |
Quote:
Regis |
||
July 25, 2015, 16:04 |
|
#44 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Regis_: Quote:
Code:
// NOTE: This point should never be on a face, always inside a cell, even // after refinement. // This is an outside point locationInMesh (-0.033 -0.033 0.0033); locationInMesh (-9.23149e-05 -0.0025 -0.0025); // Inside point Best regards, Bruno Last edited by wyldckat; July 25, 2015 at 16:05. Reason: added a few missing words |
||
March 17, 2018, 15:08 |
|
#45 | |
Member
Join Date: Oct 2017
Posts: 52
Rep Power: 9 |
Quote:
Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object snappyHexMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // Which of the steps to run castellatedMesh true; snap true; addLayers false; geometry { mysurf.stl { type triSurfaceMesh; regions { input {name input;} walls {name walls;} output {name output;} } } cylinder.stl { type triSurfaceMesh; name cylinder; } }; // Settings for the castellatedMesh generation. castellatedMeshControls { maxLocalCells 100000; maxGlobalCells 2000000; minRefinementCells 10; maxLoadUnbalance 0.10; nCellsBetweenLevels 1; features ( ); refinementSurfaces { regional.stl { // Surface-wise min and max refinement level level (2 2); input { level (2 2); patchInfo {type patch;} } walls { level (2 2); patchInfo {type patch;} } output { level (2 2); patchInfo {type patch;} } } } // Resolve sharp angles resolveFeatureAngle 24; refinementRegions { cylinder.stl { levels (2 2); } } locationInMesh (0 0 10); allowFreeStandingZoneFaces true; } snapControls { nSmoothPatch 3; tolerance 2.0; nSolveIter 30; nRelaxIter 5; nFeatureSnapIter 10; implicitFeatureSnap true; explicitFeatureSnap false; multiRegionFeatureSnap false; } // Settings for the layer addition. addLayersControls { relativeSizes true; layers { } expansionRatio 1.0; finalLayerThickness 0.3; minThickness 0.1; nGrow 0; featureAngle 60; slipFeatureAngle 30; nRelaxIter 3; nSmoothSurfaceNormals 1; nSmoothNormals 3; nSmoothThickness 10; maxFaceThicknessRatio 0.5; maxThicknessToMedialRatio 0.3; minMedianAxisAngle 90; nBufferCellsNoExtrude 0; nLayerIter 50; } meshQualityControls { #include "meshQualityDict" // Advanced //- Number of error distribution iterations nSmoothScale 4; //- Amount to scale back displacement at error points errorReduction 0.75; } writeFlags ( scalarLevels layerSets layerFields // write volScalarField for layer coverage ); mergeTolerance 1e-6; // ************************************************************************* // |
||
March 17, 2018, 17:43 |
|
#46 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
__________________
|
||
March 18, 2018, 09:56 |
|
#47 | |
Member
Join Date: Oct 2017
Posts: 52
Rep Power: 9 |
Quote:
Last edited by wyldckat; March 18, 2018 at 15:15. Reason: repaired link |
||
March 18, 2018, 15:19 |
|
#48 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Run snappyHexMesh steps (castellated, snap, addlayer) separately | Glc | OpenFOAM Meshing & Mesh Conversion | 6 | October 8, 2021 03:50 |
[snappyHexMesh] only snap edges of specific region with snappyHexMesh | mike.franky | OpenFOAM Meshing & Mesh Conversion | 0 | July 19, 2017 07:56 |
[snappyHexMesh] snappyHexMesh. irregular cells on snap stage | Svensen | OpenFOAM Meshing & Mesh Conversion | 0 | April 3, 2015 04:12 |
[snappyHexMesh] SnappyHexMesh refine but does not snap | malaboss | OpenFOAM Meshing & Mesh Conversion | 6 | December 10, 2014 06:31 |
[snappyHexMesh] snappyHexMesh failure to snap to geometry | Yadasol | OpenFOAM Meshing & Mesh Conversion | 1 | November 17, 2014 06:00 |