|
[Sponsors] |
August 24, 2020, 17:32 |
Dynamic mesh (AMR), dynamicRefineFvMesh
|
#1 |
Member
Nikhil
Join Date: May 2020
Location: Freiburg
Posts: 43
Rep Power: 6 |
Hallo foamers,
I am trying to run a case, the domain is created using blockMesh, then using snappyhex, geometry of the body is captured with stl. I didn't used any refinement levels too. I tried using different settings in snappyHex, but I keep on getting this following error. Code:
--> FOAM FATAL ERROR: Celllevel does not satisfy 2:1 constraint. On face 76826 owner cell 25718 has refinement 0 neighbour cell 26964 has refinement 2 From function void Foam::hexRef8::checkRefinementLevels(Foam::label, const labelList&) const in file polyTopoChange/polyTopoChange/hexRef8/hexRef8.C at line 4851. Code:
castellatedMesh true; snap false; addLayers false; geometry { pump.stl { type triSurfaceMesh; name walls; } inlet1.stl { type triSurfaceMesh; name inlet; } box1 //refine porous { type searchableBox; min (-0.47 -0.27 -0.47); max (0.47 -0.22 0.47); } box2 //refine hole { type searchableBox; min (-0.05 -0.05 -0.58); max (0.05 0.05 -0.48); } }; castellatedMeshControls { maxLocalCells 100000; maxGlobalCells 2000000; minRefinementCells 10; maxLoadUnbalance 0.10; nCellsBetweenLevels 1; features ( ); refinementSurfaces { inlet { level (1 2); patchInfo { type patch; }} walls { level (1 2); patchInfo { type wall; }} } resolveFeatureAngle 30; refinementRegions { /*box1 { mode inside; levels ((0 2)); } box2 { mode inside; levels ((0 2)); }*/ } locationInMesh (0.15 0.12 0.11); allowFreeStandingZoneFaces true; } /*--------------------------------------------------------*/ snapControls { nSmoothPatch 3; tolerance 2.0; nSolveIter 30; nRelaxIter 5; nFeatureSnapIter 10; implicitFeatureSnap false; //- Use castellatedMeshControls::features (default = true) explicitFeatureSnap true; //- Detect points on multiple surfaces (only for explicitFeatureSnap) multiRegionFeatureSnap false; } /*--------------------------------------------------------*/ addLayersControls { relativeSizes true; layers { } expansionRatio 1.0; finalLayerThickness 0.3; minThickness 0.1; } meshQualityControls { #include "meshQualityDict" // Advanced //- Number of error distribution iterations nSmoothScale 4; //- Amount to scale back displacement at error points errorReduction 0.75; } I tried turning snap on, and used refinements, did changes in geometry. I am out of ideas, what am I doing wrong, any ideas to troubleshoot this? Thankyou, cheers, nikhil. |
|
December 29, 2022, 07:33 |
|
#2 |
New Member
srikanth
Join Date: Sep 2021
Location: India
Posts: 2
Rep Power: 0 |
Hi Nikhil,
Have you resolved this issue? I ran a simulation considering dynamicmesh. I've run it successfully up to a particular time & reconstructed it. Now, I'm trying to start the simulation from the latest time. At this point, I'm also facing the same issue as you were facing. Thanks in advance ....! |
|
Tags |
dynamic mesh adaption, dynamicrefinefvmesh, meshing 3d, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ship resistance shows wiggles when using Overset mesh and dynamic mesh in Fluent | Qingsong | FLUENT | 2 | March 21, 2022 16:08 |
Dynamic Mesh on Pintle type injector. | herntan | FLUENT | 16 | September 4, 2020 09:27 |
[Other] Dynamic mesh (AMR), snappyhex | nikhil108 | OpenFOAM Meshing & Mesh Conversion | 0 | August 24, 2020 17:31 |
Sliding / Dynamic Mesh in heat transfer problem | platzhalter | FLUENT | 0 | May 7, 2018 06:25 |
dynamic mesh case: dynamicRefineFvMesh | razi.me05 | OpenFOAM | 1 | October 25, 2016 06:21 |