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

Using createBafflesDict to create cyclic baffle

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By CFD-HSNR

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2020, 19:36
Default Using createBafflesDict to create cyclic baffle
  #1
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 8
farzadmech is on a distinguished road
Dear friends
Previously, I have used createBafflesDict to create a thin wall and it worked, but when I used this created wall to inject particles, It cant inject particles. Bases on this I want to try to create "cyclic baffle", but I do not know how to generate "neighbourPatch", then I want to use this cyclic baffle to inject particles to my domain. Note that, my main purpose is to inject particles in somewhere close to middle of my domain.



Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  6
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      createBafflesDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

// Whether to convert internal faces only (so leave boundary faces intact).
// This is only relevant if your face selection type can pick up boundary
// faces.
internalFacesOnly true;

// Example using "blades" as name of baffle patch
baffles
{
    baffles  // group name
    {
        //- Use predefined faceZone to select faces and orientation.
        type        faceZone;   //faceZone;
        zoneName    BubblePlXXFaceZone;   //blades;

        patches
        {
            master
            {
                name        blades;  // patch name
                type        cyclic;
                neighbourPatch  *****; 

            }
            slave
            {
                $master;
            }
        }
    }
}


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

Thanks,
Farzad
farzadmech is offline   Reply With Quote

Old   December 15, 2020, 03:32
Default
  #2
New Member
 
Max
Join Date: Apr 2020
Location: Germany
Posts: 8
Rep Power: 6
CFD-HSNR is on a distinguished road
Quote:
Originally Posted by farzadmech View Post
Dear friends
Previously, I have used createBafflesDict to create a thin wall and it worked, but when I used this created wall to inject particles, It cant inject particles. Bases on this I want to try to create "cyclic baffle", but I do not know how to generate "neighbourPatch", then I want to use this cyclic baffle to inject particles to my domain. Note that, my main purpose is to inject particles in somewhere close to middle of my domain.



Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  6
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      createBafflesDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

// Whether to convert internal faces only (so leave boundary faces intact).
// This is only relevant if your face selection type can pick up boundary
// faces.
internalFacesOnly true;

// Example using "blades" as name of baffle patch
baffles
{
    baffles  // group name
    {
        //- Use predefined faceZone to select faces and orientation.
        type        faceZone;   //faceZone;
        zoneName    BubblePlXXFaceZone;   //blades;

        patches
        {
            master
            {
                name        blades;  // patch name
                type        cyclic;
                neighbourPatch  *****; 

            }
            slave
            {
                $master;
            }
        }
    }
}


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

Thanks,
Farzad

Hello Farzad,

If I have understood your intention correctly, then you can also use a CellZoneInjection for the injection of the particles, whereby your cell zone must then have the shape of a cylinder. For example you can draw the necessary CellZone in blender, import it as an .stl and define it as a CellZone using snappyHexMesh.
granzer likes this.
CFD-HSNR is offline   Reply With Quote

Reply

Tags
createbafflesdict, cyclic, injection


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
[mesh manipulation] checkMesh error after createBafflesDict sunagra27 OpenFOAM Meshing & Mesh Conversion 1 October 17, 2020 09:00
Possible to create cyliner baffle (internal) using topoSet or stl Mesh? keepfit OpenFOAM 4 February 19, 2017 15:40
[Other] How to create baffle? Elham OpenFOAM Meshing & Mesh Conversion 3 March 6, 2016 12:37
[ANSYS Meshing] ICEM CFD create mesh for OpenFoam cyclic danilo ANSYS Meshing & Geometry 0 August 14, 2012 06:58
[blockMesh] Include list of points Hikachu OpenFOAM Meshing & Mesh Conversion 0 June 20, 2011 10:03


All times are GMT -4. The time now is 12:47.