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

[Commercial meshers] createBaffles for fluent3DMeshToFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2013, 10:26
Default createBaffles for fluent3DMeshToFoam
  #1
Senior Member
 
cfdonline2mohsen's Avatar
 
Mohsen KiaMansouri
Join Date: Jan 2010
Location: CFD Lab
Posts: 118
Rep Power: 16
cfdonline2mohsen is on a distinguished road
Dear Foamers

I want to define an interior plane inside my domain for my inlet boundary condition (for using mappedVelocityFlux B.C. we need an interior patch). I searched the whole forums and found that there is no such a concept in OpenFOAM. one way is to create a cyclic baffle (createBaffles).
I've also studied all the posts regarding createBaffles and also all the tutorials in openFoam:
Code:
find $FOAM_TUTORIALS -name Allrun | xargs grep -sl createBaffles
which are:
Code:
/opt/openfoam211/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/Allrun
/opt/openfoam211/tutorials/incompressible/pimpleFoam/TJunctionFan/Allrun
/opt/openfoam211/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/filter/Allrun
/opt/openfoam211/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/Allrun
in order to use the createBaffles utility we need to define 2 cyclic patches and a faceZone to use the following command:
Code:
createBaffles [OPTIONS] <faceZone> <(masterPatch slavePatch)>
All the tutorials use blockMeshDict and topoSetDict for this purpose.
But I generated my mesh in Gambit so I can not define the required boxes that are needed by topoSetDict.
I defined an interior plane in Gambit. then export it to OpenFOAM using fluent3DMeshToFoam. the interior plane converted to faceZone automatically. so I have a faceZone that is needed for createBaffles. I also need 2 cyclic patches too. I added them manually into my boundary
Code:
type cyclic;
nFaces 0;
startFace ???;
I don't know how to set startFace?
is there any simpler method for creating a cyclic baffle using Gambit?
can this cyclic baffle be created in Gambit and then be exported to OpenFOAM?

Any help will be appreciated.
__________________
“If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas.”
cfdonline2mohsen is offline   Reply With Quote

Old   October 6, 2013, 12:50
Default
  #2
Senior Member
 
cfdonline2mohsen's Avatar
 
Mohsen KiaMansouri
Join Date: Jan 2010
Location: CFD Lab
Posts: 118
Rep Power: 16
cfdonline2mohsen is on a distinguished road
I've found that if we manually add two cyclic patches with nFaces=0 into the boundary of polyMesh just like in TJunctionFan:(a cyclic baffle for fan b.c.)
Code:
    fan_half0
    {
        type            cyclic;
        nFaces          0;
        startFace       10125;
        matchTolerance  0.0001;
        neighbourPatch  fan_half1;
    }
    fan_half1
    {
        type            cyclic;
        nFaces          0;
        startFace       10125;
        matchTolerance  0.0001;
        neighbourPatch  fan_half0;
    }
It will also require blockMesh so that these two new patches can be recognoized by OpenFOAM.
I meshed my Geometry in Gambit so I don't have a blockMeshDict.

If I only add the above lines into my boundary without blockMesh , The CheckMesh Gives Error
What can I do??
__________________
“If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas.”
cfdonline2mohsen is offline   Reply With Quote

Old   August 14, 2015, 05:02
Default
  #3
Senior Member
 
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 13
BlnPhoenix is on a distinguished road
Hey,

i am faceing a similar problem at the moment! Did u find a solution to this?

Or to other users, can u give a hint. I imported an external mesh and want to create baffles from faces. How can one do that? thx!!
BlnPhoenix is offline   Reply With Quote

Reply


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
Problem with createBaffles - want to make master and slave internal patches artymk4 OpenFOAM 1 May 22, 2021 05:45
CreateBaffles on open/closed models wouterremmerie OpenFOAM Post-Processing 1 June 18, 2018 05:38
Problems using createBaffles to create a 3D thermal baffle zfaraday OpenFOAM Running, Solving & CFD 10 September 6, 2017 17:07
Is there a bug when running createBaffles in parallel??? zfaraday OpenFOAM Pre-Processing 1 May 12, 2015 13:32
Error in using createBaffles lakeat OpenFOAM Bugs 22 June 14, 2010 03:31


All times are GMT -4. The time now is 20:34.