/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2016-2018 OpenFOAM Foundation
Copyright (C) 2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see .
Class
Foam::wallBoilingModels::partitioningModels::phaseFraction
Description
Wall heat-flux partitioned according to the phase volume fraction.
SourceFiles
phaseFraction.C
\*---------------------------------------------------------------------------*/
#ifndef phaseFraction_H
#define phaseFraction_H
#include "partitioningModel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
namespace wallBoilingModels
{
namespace partitioningModels
{
/*---------------------------------------------------------------------------*\
Class phaseFraction Declaration
\*---------------------------------------------------------------------------*/
class phaseFraction
:
public partitioningModel
{
// Private Member Functions
//- No copy construct
phaseFraction(const phaseFraction&) = delete;
//- No copy assignment
void operator=(const phaseFraction&) = delete;
public:
//- Runtime type information
TypeName("phaseFraction");
// Constructors
//- Construct from a dictionary
phaseFraction(const dictionary& dict);
//- Destructor
virtual ~phaseFraction() = default;
// Member Functions
//- Calculate and return the wall heat-flux partitioning
virtual tmp fLiquid(const scalarField& alphaLiquid) const;
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace partitioningModels
} // End namespace wallBoilingModels
} // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#endif
// ************************************************************************* //