|
[Sponsors] |
[cfMesh] objectRefinements dosent applied in the mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 29, 2019, 10:57 |
objectRefinements dosent applied in the mesh
|
#1 |
Member
Join Date: Feb 2018
Posts: 58
Rep Power: 8 |
I got a new problem with cfMesh and the Object Refiniment.
I make a Box in Paraview and use that Properties in cfMesh, but i dont see any refinements in this area. What do i wrong ? Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | cfMesh: A library for mesh generation | | \\ / O peration | | | \\ / A nd | Author: Franjo Juretic | | \\/ M anipulation | E-mail: franjo.juretic@c-fields.com | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object meshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // //surfaceFile "HWE_symmetrie_II_cropped.stl"; surfaceFile "HWE.stl"; maxCellSize 0.09; // 0.09 //minCellSize 0.05; //boundaryCellSizeRefinementThickness 0.05; //boundaryCellSize 0.02; //localRefinement { defaultFaces0006 { cellSize 0.01; } } //boundaryLayers { nLayers 3; thicknessRatio 1.3; maxFirstLayerThickness 0.02; //patchBoundaryLayers { "patch0_1" { nLayers 9; thicknessRatio 1.3; maxFirstLayerThickness 0.002; allowDiscontinuity 0; } } //optimiseLayer 1; } objectRefinements { Arch { type box; cellSize 0.000003; centre (-1 0 0); lengthX 4; lengthY 6; lengthZ 5; } } // ************************************************************************* // Kai |
|
December 29, 2019, 16:40 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 12 |
relatively simple geo, mind to consider snappy? (i dont know cfmesh, im afraid).
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
December 30, 2019, 03:40 |
|
#3 |
Member
Join Date: Feb 2018
Posts: 58
Rep Power: 8 |
There should be added boundary layers, to capture the wall law. With SHM they collapse suddenly, and the simulation get diverget every time, so i decided to try it with cfMesh. Best regards Kai
|
|
February 14, 2020, 02:15 |
|
#4 |
New Member
Join Date: Nov 2017
Posts: 11
Rep Power: 8 |
Have you tried to remove everything else from your meshDict? I saw you commented much of it somewhat out. Maybe try to remove it because I'm not sure if the way you comment it out works well.
Anyway I basically do the same thing and it works. I'm using surfaceFeatureEdges and then use the resulting ftr file in the meshDict instead of directly the stl as you do. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SnappyHexMesh/splitMeshRegion : region1 in zone "-1" | GuiMagyar | OpenFOAM Meshing & Mesh Conversion | 3 | August 4, 2023 12:38 |
foam-extend-4.1 release | hjasak | OpenFOAM Announcements from Other Sources | 19 | July 16, 2021 05:02 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 09:38 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 03:52 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 18:10 |