CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] CFMesh: Interrupted Refinement using TetMesh in Elbow Geometry

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2024, 05:51
Default CFMesh: Interrupted Refinement using TetMesh in Elbow Geometry
  #1
Member
 
Join Date: May 2024
Location: France
Posts: 35
Rep Power: 2
rocketLauncher is on a distinguished road
Hi, all.

I am testing cfMesh as an open source mesher on a mixing elbow. No issues in terms of workflow, the stl file from SALOME have been converted into an .fms file and the simulations are running smoothly.

However, when I am using the tetMesh, the object refinement I have placed in the bend of the elbow works well, then stops and then it refines again. Has anyone encountered such an issue? I have attached an image for clarity.

I don't encounter this necessarily with cartesianMesh or pMesh. Any suggestions are welcome. This issue increases my mesh skewness a lot.

Mesh dict is here:
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;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

//By default I think the dimensions are in metres.

surfaceFile "elbow_90degree.fms";
maxCellSize 0.02;
boundaryCellSize 0.02;
keepCellsIntersectingBoundary 1;
objectRefinements
{
	elbow_refinement
	{
	  type	sphere;
	  cellSize	0.012;
	  centre	(0.04 0 0.04);
	  radius	0.05;
	  refinementThickness	0.1;
	}

}

boundaryLayers
{
	nLayers	5;
	thicknessRatio	1.2;
	maxFirstLayerThickness 0.0015;
	allowDiscontinuity 0;
}
     


renameBoundary
{
    defaultName        walls;
    defaultType        patch;

    newPatchNames
    {
        inlet1
        {
            newName     inlet1;
            type     patch;
        }

        outlet
        {
            newName     outlet;
            type     patch;
        }
        
        symmetry_plane
        {
            newName    symmetry_plane;
            type     symmetry;
        }

        walls
        {
            newName     walls;
            type     wall;
        }

        inlet2
        {
            newName     inlet2;
            type     patch;
        }
    }
}
// ************************************************************************* //
Attached Images
File Type: png cfmesh_tetrahedral_interrupted.png (179.0 KB, 7 views)
rocketLauncher is offline   Reply With Quote

Reply

Tags
cfmesh, refinement, tetmesh


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] FOAM Warnings leading to no geometry, yet OpenFOAM says meshing finished w/o error edomalley1 OpenFOAM Meshing & Mesh Conversion 2 October 28, 2024 03:21
[Other] dynamic mesh not showing in paraview joshmccraney OpenFOAM Meshing & Mesh Conversion 7 April 12, 2023 12:38
problem with parallel calculations OF8 mpirun otaolafr OpenFOAM Programming & Development 0 January 5, 2021 08:33
[snappyHexMesh] Not Able to Refine Mesh in Refinement Box noodleluvmay OpenFOAM Meshing & Mesh Conversion 2 January 27, 2020 11:55
[Other] Multilevels Refinement with cfMesh RemyCavecchia OpenFOAM Meshing & Mesh Conversion 2 September 18, 2018 18:08


All times are GMT -4. The time now is 11:50.