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

[mesh manipulation] OpenFoam 2.1.0/x: creation of sets and cellZones.

Register Blogs Community New Posts Updated Threads Search

Like Tree44Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2013, 10:53
Default
  #41
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14
s.m is on a distinguished road
Quote:
Originally Posted by nimasam View Post
send me a private message contains your email to send you a tutorial in persian
Hi Dear Nima,
would you please send me this tutorial.
it may help me a lot.
thank you very much.
email: saeidehmohamadi@yahoo.com
s.m is offline   Reply With Quote

Old   August 8, 2013, 15:24
Default
  #42
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
Dear Saeide

that tutorial was for OpenFOAM-1.6 standard , now its not useful anymore, you can study those tutorials which contain topoSetDict such as:
Quote:
./lagrangian/reactingParcelFilmFoam/splashPanel/system/wallFilmRegion.topoSet
./lagrangian/reactingParcelFilmFoam/splashPanel/system/wallFilmRegion/createWallFilmRegionPatches.topoSet
./lagrangian/reactingParcelFilmFoam/hotBoxes/system/topoSetDict
./lagrangian/reactingParcelFilmFoam/cylinder/system/topoSetDict
./lagrangian/reactingParcelFilmFoam/rivuletPanel/system/wallFilmRegion.topoSet
./lagrangian/coalChemistryFoam/simplifiedSiwek/system/topoSetDict
./lagrangian/reactingParcelFoam/filter/system/topoSetDict
./mesh/moveDynamicMesh/simpleHarmonicMotion/system/topoSetDict
./multiphase/MRFMultiphaseInterFoam/mixerVessel2D/system/topoSetDict
./multiphase/twoPhaseEulerFoam/mixerVessel2D/system/topoSetDict
./multiphase/interDyMFoam/ras/damBreakWithObstacle/system/topoSetDict
./multiphase/interDyMFoam/ras/floatingObject/system/topoSetDict
./multiphase/MRFInterFoam/mixerVessel2D/system/topoSetDict
./multiphase/interFoam/ras/damBreakPorousBaffle/system/topoSetDict
./multiphase/interFoam/les/nozzleFlow2D/system/topoSetDict.2
./multiphase/interFoam/les/nozzleFlow2D/system/topoSetDict.1
./multiphase/compressibleTwoPhaseEulerFoam/mixerVessel2D/system/topoSetDict
./multiphase/cavitatingFoam/ras/throttle/system/topoSetDict.3
./multiphase/cavitatingFoam/ras/throttle/system/topoSetDict.2
./multiphase/cavitatingFoam/ras/throttle/system/topoSetDict.1
./multiphase/cavitatingFoam/les/throttle3D/system/topoSetDict.3
./multiphase/cavitatingFoam/les/throttle3D/system/topoSetDict.2
./multiphase/cavitatingFoam/les/throttle3D/system/topoSetDict.1
./multiphase/cavitatingFoam/les/throttle/system/topoSetDict.3
./multiphase/cavitatingFoam/les/throttle/system/topoSetDict.2
./multiphase/cavitatingFoam/les/throttle/system/topoSetDict.1
./multiphase/multiphaseEulerFoam/mixerVessel2D/system/topoSetDict
./combustion/PDRFoam/flamePropagationWithObstacles/system/topoSetDict
./combustion/fireFoam/les/smallPoolFire3D/system/topoSetDict
./combustion/fireFoam/les/oppositeBurningPanels/f.topoSetDict
./combustion/fireFoam/les/oppositeBurningPanels/fBurner.topoSetDict
./combustion/fireFoam/les/oppositeBurningPanels/cRefine.topoSetDict
./combustion/fireFoam/les/smallPoolFire2D/system/topoSetDict
./incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/topoSetDict
./incompressible/pimpleDyMFoam/propeller/system/createAMIFaces.topoSetDict~
./incompressible/pimpleDyMFoam/propeller/system/createInletOutletSets.topoSetDict
./incompressible/pimpleDyMFoam/propeller/system/removeRedundantZones.topoSetDict
./incompressible/pimpleDyMFoam/propeller/system/createAMIFaces.topoSetDict
./incompressible/simpleFoam/turbineSiting/system/topoSetDict
./incompressible/simpleFoam/pipeCyclic/system/topoSetDict
./incompressible/pimpleFoam/TJunctionFan/system/topoSetDict
./incompressible/pimpleFoam/elipsekkLOmega/system/topoSetDict
./incompressible/potentialFreeSurfaceFoam/oscillatingBox/system/topoSetDict
./heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/log.topoSet.air.2
./heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/log.topoSet.air.1
./heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/air/topoSetDict.2
./heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/air/topoSetDict.1
./heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/system/topoSetDict
./heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/system/topoSetDict
./heatTransfer/buoyantSimpleFoam/circuitBoardCooling/system/topoSetDict
./heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/topoSetDict
./heatTransfer/chtMultiRegionFoam/multiRegionLiquidHeater/system/topoSetDict
or you can read the chapter 4 of this book
s.m likes this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   November 20, 2013, 08:05
Default
  #43
Member
 
Hossein
Join Date: Apr 2010
Posts: 65
Rep Power: 16
atoof is on a distinguished road
Send a message via Yahoo to atoof
Quote:
Originally Posted by mm.abdollahzadeh View Post
if u want conjugate heat transfer at an interface use this boundary condition other wise use other boundary condition:
**** it is the boundary in solid zone
heater_to_surrondingAir2
{
type compressible::turbulentTemperatureCoupledBaffleMix ed;
neighbourFieldName T;
K solidThermo;
KName none;
value uniform 300;
}
}
Dear Mahdi,

Did you recognize other boundary condition like above that suitable for a laminar flow?

Regards,
Hossein
atoof is offline   Reply With Quote

Old   November 21, 2013, 11:56
Default
  #44
New Member
 
namdar
Join Date: Mar 2012
Posts: 17
Rep Power: 14
Budlo is on a distinguished road
Quote:
Originally Posted by atoof View Post
Dear Mahdi,

Did you recognize other boundary condition like above that suitable for a laminar flow?

Regards,
Hossein
salam Hossein

This bounfary condition work probably for both laminar and turbulent flow, I used it.

Best wishes
Ali Budlo.
Budlo is offline   Reply With Quote

Old   February 14, 2014, 12:34
Default
  #45
New Member
 
arzt
Join Date: Oct 2013
Posts: 2
Rep Power: 0
junarzt is on a distinguished road
hei.. sorry for interrupt.. i also not so understand how the setSet work... can somebody help?
junarzt is offline   Reply With Quote

Old   June 21, 2014, 20:51
Default
  #46
New Member
 
Join Date: Apr 2014
Posts: 6
Rep Power: 12
da14 is on a distinguished road
Hii

Im try to simulate a porous breakwater with wave generation on waves2foam using porousWaveFoam with Gambi mesh (msh file).

My problem is that when i run fluentMeshToFoam to convert the msh file the porosity zone is not defined at cellZones. I try to use selSet newBoxToCell but my cell is not a square.

Any idea how i solve that?

Regards

Diogo Afonso
da14 is offline   Reply With Quote

Old   June 28, 2014, 15:55
Default
  #47
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@Diogo:
Quote:
Originally Posted by da14 View Post
My problem is that when i run fluentMeshToFoam to convert the msh file the porosity zone is not defined at cellZones. I try to use selSet newBoxToCell but my cell is not a square.

Any idea how i solve that?
  1. Instructions are given at the file "$FOAM_SRC/applications/utilities/mesh/conversion/fluentMeshToFoam/README.txt"
  2. This has already been discussed at a thread dedicated to this topic, if I can find it... I think it's this one: http://www.cfd-online.com/Forums/ope...eshtofoam.html
  3. If you Google with this search string:
    Code:
    site:www.cfd-online.com fluent3DMeshToFoam writeSets
    you'll find a few more threads about this.
Best regards,
Bruno
da14 likes this.
wyldckat is offline   Reply With Quote

Old   March 11, 2016, 05:28
Default How to define cellZone using topoSet?
  #48
New Member
 
Maral Mohajer
Join Date: Jan 2016
Location: Stuttgart
Posts: 18
Rep Power: 10
MaralMohajer is on a distinguished road
Hi everyone,

I read the discussion here but I need more info on how to create cellZone using topoSet as I'm using MRFInterFoam and it seems that I have not defined cellZone.

Can anyone experienced suggest me something to go forward?

Regards
Maral
MaralMohajer is offline   Reply With Quote

Old   March 11, 2016, 06:51
Default
  #49
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13
reza1980 is on a distinguished road
Quote:
Originally Posted by MaralMohajer View Post
Hi everyone,

I read the discussion here but I need more info on how to create cellZone using topoSet as I'm using MRFInterFoam and it seems that I have not defined cellZone.

Can anyone experienced suggest me something to go forward?

Regards
Maral
----------------------------------------
Please Check out your Box
Reza
reza1980 is offline   Reply With Quote

Old   July 12, 2016, 04:16
Default Similar error please help!
  #50
Member
 
Sing
Join Date: Jan 2016
Posts: 30
Rep Power: 10
Struggle_Achieve is on a distinguished road
Quote:
Originally Posted by maHein View Post
When I try directMappedWall, I get an error message:

Code:
--> FOAM FATAL ERROR: 

    patch type 'genericPatch' not type 'mappedPatchBase'
    for patch contact_fluid of field T in file "/disk401/home/heinri8/Simulation/FlatPlate/flatPlate_LTS/0/fluid/T"

    From function turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::turbulentTemperatureCoupledBaffleMixedFvPatchScalarField
(
    const fvPatch& p,
    const DimensionedField<scalar, volMesh>& iF,
    const dictionary& dict
)

    in file derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C at line 99.

FOAM exiting
Looks like directMappedWall has been renamed to mappedWall in 2.1.0, (see official 2.1.0 release announcement)

Hey have you found anything which might help on this as I am getting a similar error from ages and I have tried several different things but this error still persists.

Please help!!

Thanks and regards,
Singh.
Struggle_Achieve is offline   Reply With Quote

Old   January 31, 2018, 16:56
Default
  #51
New Member
 
Sam
Join Date: Nov 2017
Posts: 24
Rep Power: 8
anufagbemi is on a distinguished road
Dear foamers,
I am performing a fluid structure interaction problem in a porous media from McT images which consists of both the solid and fluid domains. Where the solid is just an inversion of the fluid domain. I'm trying to mesh objects based on stl files by using snappyHexMesh as follows:

1. blockMesh operation
2. snappyHexMesh operation
3. SplitMeshRegions -cellZones -overwrite

Unfortunately some fragments form. I can't delete the fragments because they help ensure conformity at the interface. Otherwise I'll be having a "Master point Addressing" problem. You can find my preProcessing case file here https://yadi.sk/d/yXwpAv8_3Ry3W7
If you observe in the FLUID "boundary" file I'm supposed to just have the inlet, outlet, wall and interface conditions but there is an extra patch represents the fragments named "Out"

Code:
5
(
    Out
    {
        type            patch;
        nFaces          322;
        startFace       1101291;
    }
    inlet
    {
        type            patch;
        nFaces          8889;
        startFace       1101613;
    }
    outlet
    {
        type            wall;
        inGroups        1(wall);
        nFaces          6859;
        startFace       1110502;
    }
    wall
    {
        type            wall;
        inGroups        1(wall);
        nFaces          23046;
        startFace       1117361;
    }
    domain0_to_SOLID
    {
        type            mappedWall;
        inGroups        1(wall);
        nFaces          148834;
        startFace       1140407;
        sampleMode      nearestPatchFace;
        sampleRegion    SOLID;
        samplePatch     SOLID_to_domain0;
    }
)
And similar for the SOLID folder.

I've tried to stitch those fragments using both stitchMesh and stitchMesh -partial, but none seemed to be working.

Please can anyone help or show me another method to achieve this?

Thanks
Samuel
Attached Images
File Type: png interface.png (81.1 KB, 4 views)
File Type: jpg fragments.jpg (15.7 KB, 3 views)
File Type: png both Regions.png (55.8 KB, 3 views)
anufagbemi 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
Getting Started with OpenFOAM wyldckat OpenFOAM 25 August 14, 2022 13:55


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