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 Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By Kahnbein.Kai

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 29, 2019, 11:57
Default objectRefinements dosent applied in the mesh
  #1
New Member
 
Kai
Join Date: Feb 2018
Location: Bochum, NRW, Germany
Posts: 24
Rep Power: 4
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, 9 views)
Kahnbein.Kai is offline   Reply With Quote

Old   December 29, 2019, 17:40
Default
  #2
HPE
Senior Member
 
Herpes Free Engineer
Join Date: Sep 2019
Posts: 298
Rep Power: 3
HPE is on a distinguished road
relatively simple geo, mind to consider snappy? (i dont know cfmesh, im afraid).
__________________
Kind regards,
HPE

The OpenFOAM community is the biggest contributor to OpenFOAM; not person A or B. Let's report bugs or issue feature requests in GitLab-OpenFOAM.

Please `design` your questions well. Such effort always pays off well for inquirers and `helpmate`s:
How to create a Minimal, Reproducible Example,
How to give enough info to get help.
HPE is offline   Reply With Quote

Old   December 30, 2019, 04:40
Default
  #3
New Member
 
Kai
Join Date: Feb 2018
Location: Bochum, NRW, Germany
Posts: 24
Rep Power: 4
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, 03:15
Default
  #4
New Member
 
Join Date: Nov 2017
Posts: 10
Rep Power: 4
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.
nope is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
foam-extend-4.1 release hjasak OpenFOAM Announcements from Other Sources 7 Yesterday 11:53
[snappyHexMesh] SnappyHexMesh/splitMeshRegion : region1 in zone "-1" GuiMagyar OpenFOAM Meshing & Mesh Conversion 1 September 10, 2019 10:59
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10


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