1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
11 OpenFOAM is free software: you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
16 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 You should have received a copy of the GNU General Public License
22 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 Foam::standardRadiation
28 Standard radiation model
33 \*---------------------------------------------------------------------------*/
35 #ifndef standardRadiation_H
36 #define standardRadiation_H
38 #include "filmRadiationModel.H"
39 #include "volFieldsFwd.H"
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 namespace regionModels
47 namespace surfaceFilmModels
50 /*---------------------------------------------------------------------------*\
51 Class standardRadiation Declaration
52 \*---------------------------------------------------------------------------*/
54 class standardRadiation
56 public filmRadiationModel
62 //- Radiative flux mapped from the primary region / [kg/s3]
63 volScalarField QrPrimary_;
65 //- Remaining radiative flux after removing local contribution
66 volScalarField QrNet_;
68 //- Reference to the film thickness field / [m]
69 const volScalarField& delta_;
74 //- Minimum thickness to apply radiation model
80 //- Bar(kappa) coefficient
84 // Private member functions
86 //- Disallow default bitwise copy construct
87 standardRadiation(const standardRadiation&);
89 //- Disallow default bitwise assignment
90 void operator=(const standardRadiation&);
95 //- Runtime type information
96 TypeName("standardRadiation");
101 //- Construct from surface film model and dictionary
104 const surfaceFilmModel& owner,
105 const dictionary& dict
110 virtual ~standardRadiation();
118 virtual void correct();
120 //- Return the radiation sensible enthalpy source
121 // Also updates QrNet
122 virtual tmp<volScalarField> Shs();
126 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
128 } // End namespace surfaceFilmModels
129 } // End namespace regionModels
130 } // End namespace Foam
132 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
136 // ************************************************************************* //