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

Like Tree1Likes
  • 1 Post By BenGher

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2019, 10:12
Default Create baffles with cfMesh
  #1
Member
 
Thomas Sprich
Join Date: Mar 2015
Posts: 68
Rep Power: 7
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

Old   August 6, 2019, 05:55
Default
  #2
Senior Member
 
Kmeti Rao
Join Date: May 2019
Posts: 145
Rep Power: 4
Krao is on a distinguished road
Hi Thomas,

Did you manage to figure out creating baffles? It would be interesting to know if you have succeeded. Thank you

Krao
Krao is offline   Reply With Quote

Old   August 8, 2019, 03:28
Default
  #3
Member
 
Thomas Sprich
Join Date: Mar 2015
Posts: 68
Rep Power: 7
Swift is on a distinguished road
Hi Krao,

Sadly not...

Thomas
Swift is offline   Reply With Quote

Old   May 22, 2020, 11:34
Default
  #4
New Member
 
Ben Gherardi
Join Date: Jun 2016
Posts: 2
Rep Power: 0
BenGher is on a distinguished road
Hi,

Landed on this post while looking for how to do baffles in cfmesh, and then found out they had an example on their website using sails.

In case someone else lands on this post seeking the same answer, here is the link to the downloadable examples (then click on the sails picture to get a .zip):

https://cfmesh.com/download-examples/

Enjoy,

Ben
arvindpj likes this.
BenGher 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
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 12:29.