Skip to content

A simple OpenFOAM case for a baffled channel meshed using blockMesh

Notifications You must be signed in to change notification settings

ctdegroot/baffledChannelCase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Domain

The domain under consideration is a baffled contact tank, as shown in the image below:

Domain

The blue surface is the inlet of the domain (patch inlet) and the green surface is the outlet (patch outlet). All of the magenta surfaces are walls (patches walls, bottom, baffle_0, baffle_1, baffle_2). There is also a wall at the top of the domain, which is not shown (patch top).

The mesh is created using blockMesh. Baffles are created by finding common faces between adjacent blocks using topoSet and creating the baffles using createBaffles.

Boundary Conditions

Boundary Name Velocity BC Pressure BC k BC epsilon BC
inlet flowRateInletVelocity fixedFluxPressure turbulentIntensityKineticEnergyInlet turbulentMixingLengthDissipationRateInlet
oulet zeroGradient fixedValue zeroGradient zeroGradient
top slip fixedFluxPressure kLowReWallFunction epsilonWallFunction
bottom noSlip fixedFluxPressure kLowReWallFunction epsilonWallFunction
walls noSlip fixedFluxPressure kLowReWallFunction epsilonWallFunction
baffle.\* noSlip fixedFluxPressure kLowReWallFunction epsilonWallFunction

Solver

This case is solved using the steady state solver simpleFoam using the realizableKE turbulence model. Runtime function objects are used to monitor flow rates on the inlet and outlet patches, the residuals of the p and U equations, and the pressure difference from inlet to outlet.

About

A simple OpenFOAM case for a baffled channel meshed using blockMesh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published