The new flexible and extensible modular solvers structure already provides most
of the simulation functionality needed for single phase, multiphase,
multicomponent etc. fluid flow problems as well as a very effective method of
combining these with solid heat transfer, solid stress, surface film to solve
complex multi-region, multi-physics problems and are now the primary mechanism
for the further development of OpenFOAM simulation capability in future. To
emphasis this for both users and developers the applications/solvers directory
has been separated into applications/modules containing all the solver modules:
├── modules
│ ├── compressibleMultiphaseVoF
│ ├── compressibleVoF
│ ├── film
│ ├── fluid
│ ├── fluidSolver
│ ├── functions
│ ├── incompressibleDenseParticleFluid
│ ├── incompressibleDriftFlux
│ ├── incompressibleFluid
│ ├── incompressibleMultiphaseVoF
│ ├── incompressibleVoF
│ ├── isothermalFilm
│ ├── isothermalFluid
│ ├── movingMesh
│ ├── multicomponentFluid
│ ├── multiphaseEuler
│ ├── multiphaseVoFSolver
│ ├── shockFluid
│ ├── solid
│ ├── solidDisplacement
│ ├── twoPhaseSolver
│ ├── twoPhaseVoFSolver
│ ├── VoFSolver
│ └── XiFluid
applications/solvers containing the foamRun and foamMultiRun solver applications
which instantiate and execute the chosen solver modules and also standalone
solver applications for special initialisation and test activities:
├── solvers
│ ├── boundaryFoam
│ ├── chemFoam
│ ├── foamMultiRun
│ ├── foamRun
│ └── potentialFoam
and applications/legacy containing legacy solver applications which are not
currently being actively developed but the functionality of which will be merged
into the solver modules or form the basis of new solver modules as the need
arises:
├── legacy
│ ├── basic
│ │ ├── financialFoam
│ │ └── laplacianFoam
│ ├── combustion
│ │ └── PDRFoam
│ ├── compressible
│ │ └── rhoPorousSimpleFoam
│ ├── electromagnetics
│ │ ├── electrostaticFoam
│ │ ├── magneticFoam
│ │ └── mhdFoam
│ ├── incompressible
│ │ ├── adjointShapeOptimisationFoam
│ │ ├── dnsFoam
│ │ ├── icoFoam
│ │ ├── porousSimpleFoam
│ │ └── shallowWaterFoam
│ └── lagrangian
│ ├── dsmcFoam
│ ├── mdEquilibrationFoam
│ └── mdFoam
Correspondingly the tutorials directory structure has been reorganised with the
modular solver directories at the top level with names that make it easier for
users to find example cases relating to their particular requirements and a
legacy sub-directory containing cases corresponding to the legacy solver
applications listed above:
├── compressibleMultiphaseVoF
│ └── damBreak4phaseLaminar
├── compressibleVoF
│ ├── ballValve
│ ├── climbingRod
│ ├── damBreak
│ ├── depthCharge2D
│ ├── depthCharge3D
│ ├── sloshingTank2D
│ └── throttle
├── film
│ └── rivuletPanel
├── fluid
│ ├── aerofoilNACA0012
│ ├── aerofoilNACA0012Steady
│ ├── angledDuct
│ ├── angledDuctExplicitFixedCoeff
│ ├── angledDuctLTS
│ ├── annularThermalMixer
│ ├── BernardCells
│ ├── blockedChannel
│ ├── buoyantCavity
│ ├── cavity
│ ├── decompressionTank
│ ├── externalCoupledCavity
│ ├── forwardStep
│ ├── helmholtzResonance
│ ├── hotRadiationRoom
│ ├── hotRadiationRoomFvDOM
│ ├── hotRoom
│ ├── hotRoomBoussinesq
│ ├── hotRoomBoussinesqSteady
│ ├── hotRoomComfort
│ ├── iglooWithFridges
│ ├── mixerVessel2DMRF
│ ├── nacaAirfoil
│ ├── pitzDaily
│ ├── prism
│ ├── shockTube
│ ├── squareBend
│ ├── squareBendLiq
│ └── squareBendLiqSteady
├── incompressibleDenseParticleFluid
│ ├── column
│ ├── cyclone
│ ├── Goldschmidt
│ ├── GoldschmidtMPPIC
│ └── injectionChannel
├── incompressibleDriftFlux
│ ├── dahl
│ ├── mixerVessel2DMRF
│ └── tank3D
├── incompressibleFluid
│ ├── airFoil2D
│ ├── ballValve
│ ├── blockedChannel
│ ├── cavity
│ ├── cavityCoupledU
│ ├── channel395
│ ├── drivaerFastback
│ ├── ductSecondaryFlow
│ ├── elipsekkLOmega
│ ├── flowWithOpenBoundary
│ ├── hopperParticles
│ ├── impeller
│ ├── mixerSRF
│ ├── mixerVessel2D
│ ├── mixerVessel2DMRF
│ ├── mixerVesselHorizontal2DParticles
│ ├── motorBike
│ ├── motorBikeSteady
│ ├── movingCone
│ ├── offsetCylinder
│ ├── oscillatingInlet
│ ├── pipeCyclic
│ ├── pitzDaily
│ ├── pitzDailyLES
│ ├── pitzDailyLESDevelopedInlet
│ ├── pitzDailyLTS
│ ├── pitzDailyPulse
│ ├── pitzDailyScalarTransport
│ ├── pitzDailySteady
│ ├── pitzDailySteadyExperimentalInlet
│ ├── pitzDailySteadyMappedToPart
│ ├── pitzDailySteadyMappedToRefined
│ ├── planarContraction
│ ├── planarCouette
│ ├── planarPoiseuille
│ ├── porousBlockage
│ ├── propeller
│ ├── roomResidenceTime
│ ├── rotor2DRotating
│ ├── rotor2DSRF
│ ├── rotorDisk
│ ├── T3A
│ ├── TJunction
│ ├── TJunctionFan
│ ├── turbineSiting
│ ├── waveSubSurface
│ ├── windAroundBuildings
│ └── wingMotion
├── incompressibleMultiphaseVoF
│ ├── damBreak4phase
│ ├── damBreak4phaseFineLaminar
│ ├── damBreak4phaseLaminar
│ └── mixerVessel2DMRF
├── incompressibleVoF
│ ├── angledDuct
│ ├── capillaryRise
│ ├── cavitatingBullet
│ ├── climbingRod
│ ├── containerDischarge2D
│ ├── damBreak
│ ├── damBreakLaminar
│ ├── damBreakPorousBaffle
│ ├── damBreakWithObstacle
│ ├── DTCHull
│ ├── DTCHullMoving
│ ├── DTCHullWave
│ ├── floatingObject
│ ├── floatingObjectWaves
│ ├── forcedUpstreamWave
│ ├── mixerVessel
│ ├── mixerVessel2DMRF
│ ├── mixerVesselHorizontal2D
│ ├── nozzleFlow2D
│ ├── planingHullW3
│ ├── propeller
│ ├── sloshingCylinder
│ ├── sloshingTank2D
│ ├── sloshingTank2D3DoF
│ ├── sloshingTank3D
│ ├── sloshingTank3D3DoF
│ ├── sloshingTank3D6DoF
│ ├── testTubeMixer
│ ├── waterChannel
│ ├── wave
│ ├── wave3D
│ └── weirOverflow
├── isothermalFilm
│ └── rivuletPanel
├── isothermalFluid
│ ├── potentialFreeSurfaceMovingOscillatingBox
│ └── potentialFreeSurfaceOscillatingBox
├── legacy
│ ├── basic
│ │ ├── financialFoam
│ │ │ └── europeanCall
│ │ └── laplacianFoam
│ │ └── flange
│ ├── combustion
│ │ └── PDRFoam
│ │ └── flamePropagationWithObstacles
│ ├── compressible
│ │ └── rhoPorousSimpleFoam
│ │ ├── angledDuctExplicit
│ │ └── angledDuctImplicit
│ ├── electromagnetics
│ │ ├── electrostaticFoam
│ │ │ └── chargedWire
│ │ └── mhdFoam
│ │ └── hartmann
│ ├── incompressible
│ │ ├── adjointShapeOptimisationFoam
│ │ │ └── pitzDaily
│ │ ├── dnsFoam
│ │ │ └── boxTurb16
│ │ ├── icoFoam
│ │ │ ├── cavity
│ │ │ └── elbow
│ │ ├── porousSimpleFoam
│ │ │ ├── angledDuctExplicit
│ │ │ └── angledDuctImplicit
│ │ └── shallowWaterFoam
│ │ └── squareBump
│ ├── lagrangian
│ │ ├── dsmcFoam
│ │ │ ├── freeSpacePeriodic
│ │ │ ├── freeSpaceStream
│ │ │ ├── supersonicCorner
│ │ │ └── wedge15Ma5
│ │ ├── mdEquilibrationFoam
│ │ │ ├── periodicCubeArgon
│ │ │ └── periodicCubeWater
│ │ └── mdFoam
│ │ └── nanoNozzle
├── mesh
│ ├── blockMesh
│ │ ├── pipe
│ │ ├── sphere
│ │ ├── sphere7
│ │ └── sphere7ProjectedEdges
│ ├── refineMesh
│ │ └── refineFieldDirs
│ └── snappyHexMesh
│ ├── flange
│ └── pipe
├── movingMesh
│ └── SnakeRiverCanyon
├── multicomponentFluid
│ ├── aachenBomb
│ ├── counterFlowFlame2D
│ ├── counterFlowFlame2D_GRI
│ ├── counterFlowFlame2D_GRI_TDAC
│ ├── counterFlowFlame2DLTS
│ ├── counterFlowFlame2DLTS_GRI_TDAC
│ ├── DLR_A_LTS
│ ├── filter
│ ├── lockExchange
│ ├── membrane
│ ├── nc7h16
│ ├── parcelInBox
│ ├── SandiaD_LTS
│ ├── simplifiedSiwek
│ ├── smallPoolFire2D
│ ├── smallPoolFire3D
│ ├── verticalChannel
│ ├── verticalChannelLTS
│ └── verticalChannelSteady
├── multiphaseEuler
│ ├── bed
│ ├── bubbleColumn
│ ├── bubbleColumnEvaporating
│ ├── bubbleColumnEvaporatingDissolving
│ ├── bubbleColumnEvaporatingReacting
│ ├── bubbleColumnIATE
│ ├── bubbleColumnLaminar
│ ├── bubbleColumnLES
│ ├── bubblePipe
│ ├── damBreak4phase
│ ├── fluidisedBed
│ ├── fluidisedBedLaminar
│ ├── Grossetete
│ ├── hydrofoil
│ ├── injection
│ ├── LBend
│ ├── mixerVessel2D
│ ├── mixerVessel2DMRF
│ ├── pipeBend
│ ├── steamInjection
│ ├── titaniaSynthesis
│ ├── titaniaSynthesisSurface
│ ├── wallBoilingIATE
│ ├── wallBoilingPolydisperse
│ └── wallBoilingPolydisperseTwoGroups
├── multiRegion
│ ├── CHT
│ │ ├── circuitBoardCooling
│ │ ├── coolingCylinder2D
│ │ ├── coolingSphere
│ │ ├── heatedDuct
│ │ ├── heatExchanger
│ │ ├── multiphaseCoolingCylinder2D
│ │ ├── reverseBurner
│ │ ├── shellAndTubeHeatExchanger
│ │ ├── VoFcoolingCylinder2D
│ │ └── wallBoiling
│ └── film
│ ├── cylinder
│ ├── cylinderDripping
│ ├── cylinderVoF
│ ├── hotBoxes
│ ├── rivuletBox
│ ├── rivuletPanel
│ ├── splashPanel
│ └── VoFToFilm
├── potentialFoam
│ ├── cylinder
│ └── pitzDaily
├── resources
│ ├── blockMesh
│ ├── geometry
│ └── thermoData
├── shockFluid
│ ├── biconic25-55Run35
│ ├── forwardStep
│ ├── LadenburgJet60psi
│ ├── movingCone
│ ├── obliqueShock
│ ├── shockTube
│ └── wedge15Ma5
├── solidDisplacement
│ ├── beamEndLoad
│ └── plateHole
└── XiFluid
├── kivaTest
└── moriyoshiHomogeneous
216 lines
5.3 KiB
C++
216 lines
5.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
object blockMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
convertToMeters 1;
|
|
|
|
vertices
|
|
(
|
|
(1 0 -1)
|
|
(1.4 0 -1)
|
|
(5 0 -1)
|
|
(5 0.989949 -1)
|
|
(0.989949 0.989949 -1)
|
|
(0.707107 0.707107 -1)
|
|
(5 2.5 -1)
|
|
(0.989949 2.5 -1)
|
|
(0 2.5 -1)
|
|
(0 1.4 -1)
|
|
(0 1 -1)
|
|
(-1 0 -1)
|
|
(-1.4 0 -1)
|
|
(-5 0 -1)
|
|
(-5 0.989949 -1)
|
|
(-0.989949 0.989949 -1)
|
|
(-0.707107 0.707107 -1)
|
|
(-5 2.5 -1)
|
|
(-0.989949 2.5 -1)
|
|
(5 -0.989949 -1)
|
|
(0.989949 -0.989949 -1)
|
|
(0.707107 -0.707107 -1)
|
|
(5 -1.5 -1)
|
|
(0.989949 -1.5 -1)
|
|
(0 -1.5 -1)
|
|
(0 -1.4 -1)
|
|
(0 -1 -1)
|
|
(-5 -0.989949 -1)
|
|
(-0.989949 -0.989949 -1)
|
|
(-0.707107 -0.707107 -1)
|
|
(-5 -1.5 -1)
|
|
(-0.989949 -1.5 -1)
|
|
(1 0 1)
|
|
(1.4 0 1)
|
|
(5 0 1)
|
|
(5 0.989949 1)
|
|
(0.989949 0.989949 1)
|
|
(0.707107 0.707107 1)
|
|
(5 2.5 1)
|
|
(0.989949 2.5 1)
|
|
(0 2.5 1)
|
|
(0 1.4 1)
|
|
(0 1 1)
|
|
(-1 0 1)
|
|
(-1.4 0 1)
|
|
(-5 0 1)
|
|
(-5 0.989949 1)
|
|
(-0.989949 0.989949 1)
|
|
(-0.707107 0.707107 1)
|
|
(-5 2.5 1)
|
|
(-0.989949 2.5 1)
|
|
(5 -0.989949 1)
|
|
(0.989949 -0.989949 1)
|
|
(0.707107 -0.707107 1)
|
|
(5 -1.5 1)
|
|
(0.989949 -1.5 1)
|
|
(0 -1.5 1)
|
|
(0 -1.4 1)
|
|
(0 -1 1)
|
|
(-5 -0.989949 1)
|
|
(-0.989949 -0.989949 1)
|
|
(-0.707107 -0.707107 1)
|
|
(-5 -1.5 1)
|
|
(-0.989949 -1.5 1)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (5 4 9 10 37 36 41 42) (10 10 1) simpleGrading (1 1 1)
|
|
hex (0 1 4 5 32 33 36 37) (10 10 1) simpleGrading (1 1 1)
|
|
hex (1 2 3 4 33 34 35 36) (10 10 1) simpleGrading (1 1 1)
|
|
hex (4 3 6 7 36 35 38 39) (10 10 1) simpleGrading (1 1 1)
|
|
hex (9 4 7 8 41 36 39 40) (10 10 1) simpleGrading (1 1 1)
|
|
hex (15 16 10 9 47 48 42 41) (10 10 1) simpleGrading (1 1 1)
|
|
hex (12 11 16 15 44 43 48 47) (10 10 1) simpleGrading (1 1 1)
|
|
hex (13 12 15 14 45 44 47 46) (10 10 1) simpleGrading (1 1 1)
|
|
hex (14 15 18 17 46 47 50 49) (10 10 1) simpleGrading (1 1 1)
|
|
hex (15 9 8 18 47 41 40 50) (10 10 1) simpleGrading (1 1 1)
|
|
hex (26 25 20 21 58 57 52 53) (10 10 1) simpleGrading (1 1 1)
|
|
hex (21 20 1 0 53 52 33 32) (10 10 1) simpleGrading (1 1 1)
|
|
hex (20 19 2 1 52 51 34 33) (10 10 1) simpleGrading (1 1 1)
|
|
hex (23 22 19 20 55 54 51 52) (10 5 1) simpleGrading (1 1 1)
|
|
hex (24 23 20 25 56 55 52 57) (10 5 1) simpleGrading (1 1 1)
|
|
hex (28 29 11 12 60 61 43 44) (10 10 1) simpleGrading (1 1 1)
|
|
hex (25 26 29 28 57 58 61 60) (10 10 1) simpleGrading (1 1 1)
|
|
hex (27 28 12 13 59 60 44 45) (10 10 1) simpleGrading (1 1 1)
|
|
hex (30 31 28 27 62 63 60 59) (10 5 1) simpleGrading (1 1 1)
|
|
hex (31 24 25 28 63 56 57 60) (10 5 1) simpleGrading (1 1 1)
|
|
);
|
|
|
|
edges
|
|
(
|
|
arc 5 0 (0.92388 0.382683 -1)
|
|
arc 5 10 (0.382683 0.923879 -1)
|
|
arc 1 4 (1.29343 0.535757 -1)
|
|
arc 4 9 (0.535757 1.29343 -1)
|
|
arc 32 37 (0.92388 0.382683 1)
|
|
arc 37 42 (0.382683 0.923879 1)
|
|
arc 33 36 (1.29343 0.535757 1)
|
|
arc 36 41 (0.535757 1.29343 1)
|
|
arc 11 16 (-0.923879 0.382683 -1)
|
|
arc 16 10 (-0.382683 0.923879 -1)
|
|
arc 12 15 (-1.29343 0.535757 -1)
|
|
arc 15 9 (-0.535757 1.29343 -1)
|
|
arc 43 48 (-0.923879 0.382683 1)
|
|
arc 48 42 (-0.382683 0.923879 1)
|
|
arc 44 47 (-1.29343 0.535757 1)
|
|
arc 47 41 (-0.535757 1.29343 1)
|
|
arc 0 21 (0.923879 -0.382683 -1)
|
|
arc 21 26 (0.382683 -0.923879 -1)
|
|
arc 1 20 (1.29343 -0.535757 -1)
|
|
arc 20 25 (0.535757 -1.29343 -1)
|
|
arc 32 53 (0.923879 -0.382683 1)
|
|
arc 53 58 (0.382683 -0.923879 1)
|
|
arc 33 52 (1.29343 -0.535757 1)
|
|
arc 52 57 (0.535757 -1.29343 1)
|
|
arc 11 29 (-0.923879 -0.382683 -1)
|
|
arc 29 26 (-0.382683 -0.923879 -1)
|
|
arc 12 28 (-1.29343 -0.535757 -1)
|
|
arc 28 25 (-0.535757 -1.29343 -1)
|
|
arc 43 61 (-0.923879 -0.382683 1)
|
|
arc 61 58 (-0.382683 -0.923879 1)
|
|
arc 44 60 (-1.29343 -0.535757 1)
|
|
arc 60 57 (-0.535757 -1.29343 1)
|
|
);
|
|
|
|
defaultPatch
|
|
{
|
|
type empty;
|
|
}
|
|
|
|
boundary
|
|
(
|
|
left
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(17 14 46 49)
|
|
(14 13 45 46)
|
|
(13 27 59 45)
|
|
(27 30 62 59)
|
|
);
|
|
}
|
|
right
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(22 19 51 54)
|
|
(19 2 34 51)
|
|
(2 3 35 34)
|
|
(3 6 38 35)
|
|
);
|
|
}
|
|
down
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(30 31 63 62)
|
|
(31 24 56 63)
|
|
(24 23 55 56)
|
|
(23 22 54 55)
|
|
);
|
|
}
|
|
up
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(6 7 39 38)
|
|
(7 8 40 39)
|
|
(8 18 50 40)
|
|
(18 17 49 50)
|
|
);
|
|
}
|
|
cylinder
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(0 5 37 32)
|
|
(5 10 42 37)
|
|
(10 16 48 42)
|
|
(16 11 43 48)
|
|
(11 29 61 43)
|
|
(29 26 58 61)
|
|
(26 21 53 58)
|
|
(21 0 32 53)
|
|
);
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|