CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] OpenFoam 2.1.0/x: creation of sets and cellZones. (https://www.cfd-online.com/Forums/openfoam-meshing/99331-openfoam-2-1-0-x-creation-sets-cellzones.html)

s.m August 8, 2013 11:53

Quote:

Originally Posted by nimasam (Post 352548)
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

nimasam August 8, 2013 16:24

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

atoof November 20, 2013 09:05

Quote:

Originally Posted by mm.abdollahzadeh (Post 353952)
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

Budlo November 21, 2013 12:56

Quote:

Originally Posted by atoof (Post 462714)
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.

junarzt February 14, 2014 13:34

hei.. sorry for interrupt.. i also not so understand how the setSet work... can somebody help?

da14 June 21, 2014 21:51

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

wyldckat June 28, 2014 16:55

Greetings to all!

@Diogo:
Quote:

Originally Posted by da14 (Post 498117)
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

MaralMohajer March 11, 2016 06:28

How to define cellZone using topoSet?
 
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

reza1980 March 11, 2016 07:51

Quote:

Originally Posted by MaralMohajer (Post 589161)
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

Struggle_Achieve July 12, 2016 05:16

Similar error please help!
 
Quote:

Originally Posted by maHein (Post 376842)
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.

anufagbemi January 31, 2018 17:56

3 Attachment(s)
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


All times are GMT -4. The time now is 22:13.