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

[cfMesh] Create baffles with cfMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By BenGher

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 19, 2019, 10:12
Default Create baffles with cfMesh
  #1
Member
 
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 11
Swift is on a distinguished road
Dear Foamers,

Is it possible to create baffles with cfMesh?

I am trying to mesh zero thickness walls within the domain. Using surfaceMeshRefinement, it is possible to refine around the wall, but when I check the mesh with checkMesh, the wall has zero faces. I have tried playing with 'keepCellsIntersectingBoundary' and 'keepCellsIntersectingPatchs', but in all cases I get zero faces on the wall patch.

In these slides, it seems that it is possible to create a baffle (see slide 4), but I can'e work it out.

My meshDict is as follows:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
|    _ _ _ _    |                                                              |
| //         \\ | Creative Fields cfMeshPRO                                  |
| | cfMeshPRO | |                                                              |
| \\ _ _ _ _ // | Version: 0.0.99                                            |
|               | Web: www.c-fields.com e-mail: support@c-fields.com           |
\*---------------------------------------------------------------------------*/
FoamFile
{
version	2;
format	ascii;
class	dictionary;
location	"system";
object	meshDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
maxCellSize	0.025;
surfaceFile	"newGeo.fms";


surfaceMeshRefinement
{
    
    baffle1
    {
        surfaceFile "constant/triSurface/baffle1.stl";
        additionalRefinementLevels 1;
        
    }

    
}

edgeMeshRefinement
{
    baffle1
    {
        edgeFile "baffle1.eMesh"
        additionalRefinementLevels 1;
        
    }
    
}

objectRefinements
{

refinement_for_surface
    {
        //cellSize	20.1;
        p0	( -0 0 0.6 );
        p1	( -0 0 0.7 );
        radius0	0.8;
        radius1	0.8;
        additionalRefinementLevels 1;
        type	cone;
    }
/
}
//keepCellsIntersectingBoundary 1;

keepCellsIntersectingPatchs
{
    baffle1
    {
        keepCells 1;
        
    }
    
    
}

workflowControls
{
}

// ************************************************************************* //
Thanks for the help,
Thomas
Swift is offline   Reply With Quote

 


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
SimpleFoam & Theater jipai OpenFOAM Running, Solving & CFD 3 June 18, 2019 10:11
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 08:54
[DesignModeler] Create baffles fluidstu ANSYS Meshing & Geometry 1 May 29, 2016 23:47
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 19:43
Actuator disk model audrich FLUENT 0 September 21, 2009 07:06


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