CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[cfMesh] objectRefinements dosent applied in the mesh

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Kahnbein.Kai
  • 1 Post By nope

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 29, 2019, 10:57
Default objectRefinements dosent applied in the mesh
  #1
Member
 
Join Date: Feb 2018
Posts: 58
Rep Power: 8
Kahnbein.Kai is on a distinguished road
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;
    }
}
 
// ************************************************************************* //
Best regards
Kai
Attached Images
File Type: jpg Bildschirmfoto vom 2019-12-29 16-54-50.jpg (108.7 KB, 36 views)
Kahnbein.Kai is offline   Reply With Quote

Old   December 29, 2019, 16:40
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
relatively simple geo, mind to consider snappy? (i dont know cfmesh, im afraid).
HPE is offline   Reply With Quote

Old   December 30, 2019, 03:40
Default
  #3
Member
 
Join Date: Feb 2018
Posts: 58
Rep Power: 8
Kahnbein.Kai is on a distinguished road
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
HPE likes this.
Kahnbein.Kai is offline   Reply With Quote

Old   February 14, 2020, 02:15
Default
  #4
New Member
 
Join Date: Nov 2017
Posts: 11
Rep Power: 8
nope is on a distinguished road
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.
Kahnbein.Kai likes this.
nope is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 08:09.