CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   BC (http://www.cfd-online.com/Forums/openfoam-pre-processing/125161-bc.html)

m5m5kh October 20, 2013 23:48

BC
 
1 Attachment(s)
Hi dear foamers
I have a problem I have a porous sphere which was located in a porous domain. I have some problems
1. what condition should I use for the surface of sphere?
2. how should I define the porous domain while I used sphereToCell in topoSetDict for defining the sphere az a porous zone.

I meshed my case in gambit.
see the attached picture.

any help would be greatly appreciated.

Mohsen

nimasam October 21, 2013 06:11

which solver do you use?

if you are using *porous*solver in OpenFOAM, then you need just define your zone in topoSet, then appropriate source term will be applied in conservative Eq.s and no specific BC needed.
To find out how to create a zone look at following tutorials:
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/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/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


All times are GMT -4. The time now is 05:38.