diff --git a/src/regionModels/surfaceFilmModels/noFilm/noFilm.C b/src/regionModels/surfaceFilmModels/noFilm/noFilm.C index 1c267307ec7204794b37823c8706bfdf3e66cdf3..82f3d0afc999ae21d91a7652e748aed4c21e21e8 100644 --- a/src/regionModels/surfaceFilmModels/noFilm/noFilm.C +++ b/src/regionModels/surfaceFilmModels/noFilm/noFilm.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -102,10 +102,10 @@ const volScalarField& noFilm::delta() const } -const volScalarField& noFilm::sigma() const +const volScalarField& noFilm::alpha() const { - FatalErrorIn("const volScalarField& noFilm::sigma() const") - << "sigma field not available for " << type() << abort(FatalError); + FatalErrorIn("const volScalarField& noFilm::alpha() const") + << "alpha field not available for " << type() << abort(FatalError); return volScalarField::null(); } @@ -192,6 +192,15 @@ const volScalarField& noFilm::kappa() const } +const volScalarField& noFilm::sigma() const +{ + FatalErrorIn("const volScalarField& noFilm::sigma() const") + << "sigma field not available for " << type() << abort(FatalError); + + return volScalarField::null(); +} + + tmp<volScalarField> noFilm::primaryMassTrans() const { return tmp<volScalarField> diff --git a/src/regionModels/surfaceFilmModels/noFilm/noFilm.H b/src/regionModels/surfaceFilmModels/noFilm/noFilm.H index 76501a4fd82cd59c6211251fef1e9a52d3e31608..17915f778806849c0f636023f98aa853dbf39e61 100644 --- a/src/regionModels/surfaceFilmModels/noFilm/noFilm.H +++ b/src/regionModels/surfaceFilmModels/noFilm/noFilm.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -115,8 +115,8 @@ public: //- Return the film thickness [m] virtual const volScalarField& delta() const; - //- Return const access to the surface tension / [m/s2] - inline const volScalarField& sigma() const; + //- Return the film coverage, 1 = covered, 0 = uncovered / [] + virtual const volScalarField& alpha() const; //- Return the film velocity [m/s] virtual const volVectorField& U() const; @@ -145,6 +145,9 @@ public: //- Return the film thermal conductivity [W/m/K] virtual const volScalarField& kappa() const; + //- Return const access to the surface tension / [m/s2] + inline const volScalarField& sigma() const; + // Transfer fields - to the primary region