immiscibleIncompressibleTwoPhaseMixture.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ========= |
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4 \\ / O peration |
5 \\ / A nd | www.openfoam.com
6 \\/ M anipulation |
7-------------------------------------------------------------------------------
8 Copyright (C) 2014-2017 OpenFOAM Foundation
9 Copyright (C) 2019 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27Class
28 Foam::immiscibleIncompressibleTwoPhaseMixture
29
30Description
31 An immiscible incompressible two-phase mixture transport model
32
33SourceFiles
34 immiscibleIncompressibleTwoPhaseMixture.C
35
36\*---------------------------------------------------------------------------*/
37
38#ifndef immiscibleIncompressibleTwoPhaseMixture_H
39#define immiscibleIncompressibleTwoPhaseMixture_H
40
42#include "interfaceProperties.H"
43
44// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45
46namespace Foam
47{
48
49/*---------------------------------------------------------------------------*\
50 Class immiscibleIncompressibleTwoPhaseMixture Declaration
51\*---------------------------------------------------------------------------*/
54:
57{
58
59public:
60
61 // Constructors
62
63 //- Construct from components
65 (
66 const volVectorField& U,
68 );
69
70
71 //- Destructor
73
74
75 // Member Functions
76
77 //- Correct the transport and interface properties
78 virtual void correct()
79 {
82 }
83
84 //- Read base transportProperties dictionary
85 virtual bool read();
86};
87
88
89// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
90
91} // End namespace Foam
92
93// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
94
95#endif
96
97// ************************************************************************* //
surfaceScalarField & phi
An immiscible incompressible two-phase mixture transport model.
virtual void correct()
Correct the transport and interface properties.
virtual ~immiscibleIncompressibleTwoPhaseMixture()=default
Destructor.
virtual bool read()
Read base transportProperties dictionary.
A two-phase incompressible transportModel.
const volVectorField & U() const
Return const-access to the mixture velocity.
virtual void correct()
Correct the laminar viscosity.
Contains the interface properties.
Namespace for OpenFOAM.