executed with foamRun for single region simulations of foamMultiRun for
multi-region simulations. Replaces multiphaseInterFoam and all the
corresponding tutorials have been updated and moved to
tutorials/modules/incompressibleMultiphaseVoF.
incompressibleMultiphaseVoF is derived from the multiphaseVoFSolver which adds
multiphase capability to the VoFSolver base-class used as the basis of all
two-phase and multiphase VoF solvers.
Class
Foam::solvers::incompressibleMultiphaseVoF
Description
Solver module for the solution of multiple incompressible, isothermal
immiscible fluids using a VOF (volume of fluid) phase-fraction based
interface capturing approach, with optional mesh motion and mesh topology
changes including adaptive re-meshing.
The momentum and other fluid properties are of the "mixture" and a single
momentum equation is solved.
A mixture approach for momentum transport is provided in which a single
laminar, RAS or LES model is selected to model the momentum stress.
Uses the flexible PIMPLE (PISO-SIMPLE) solution for time-resolved and
pseudo-transient and steady simulations.
SourceFiles
incompressibleMultiphaseVoF.C
See also
Foam::solvers::VoFSolver
Foam::solvers::multiphaseVoFSolver
106 lines
2.0 KiB
C++
106 lines
2.0 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 0.146;
|
|
|
|
vertices
|
|
(
|
|
(0 0 0)
|
|
(2 0 0)
|
|
(2.16438 0 0)
|
|
(4 0 0)
|
|
(0 0.32876 0)
|
|
(2 0.32876 0)
|
|
(2.16438 0.32876 0)
|
|
(4 0.32876 0)
|
|
(0 4 0)
|
|
(2 4 0)
|
|
(2.16438 4 0)
|
|
(4 4 0)
|
|
(0 0 0.1)
|
|
(2 0 0.1)
|
|
(2.16438 0 0.1)
|
|
(4 0 0.1)
|
|
(0 0.32876 0.1)
|
|
(2 0.32876 0.1)
|
|
(2.16438 0.32876 0.1)
|
|
(4 0.32876 0.1)
|
|
(0 4 0.1)
|
|
(2 4 0.1)
|
|
(2.16438 4 0.1)
|
|
(4 4 0.1)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 5 4 12 13 17 16) (23 8 1) simpleGrading (1 1 1)
|
|
hex (2 3 7 6 14 15 19 18) (19 8 1) simpleGrading (1 1 1)
|
|
hex (4 5 9 8 16 17 21 20) (23 42 1) simpleGrading (1 1 1)
|
|
hex (5 6 10 9 17 18 22 21) (4 42 1) simpleGrading (1 1 1)
|
|
hex (6 7 11 10 18 19 23 22) (19 42 1) simpleGrading (1 1 1)
|
|
);
|
|
|
|
defaultPatch
|
|
{
|
|
type empty;
|
|
}
|
|
|
|
boundary
|
|
(
|
|
leftWall
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(0 12 16 4)
|
|
(4 16 20 8)
|
|
);
|
|
}
|
|
rightWall
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(7 19 15 3)
|
|
(11 23 19 7)
|
|
);
|
|
}
|
|
lowerWall
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(0 1 13 12)
|
|
(1 5 17 13)
|
|
(5 6 18 17)
|
|
(2 14 18 6)
|
|
(2 3 15 14)
|
|
);
|
|
}
|
|
atmosphere
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(8 20 21 9)
|
|
(9 21 22 10)
|
|
(10 22 23 11)
|
|
);
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|