fvModels: surfaceFilms: Support for multiple films

The surfaceFilm fvModel has been renamed surfaceFilms, and can now have
a number of independent film models specified.

For example, the hotBoxes tutorial could be modified to have separate
film regions for the boxes and for the floor. In which case, the names
of the separate films would need specifying as shown below.

    surfaceFilms
    {
        type    surfaceFilms;
        surfaceFilms (boxesFilm floorFilm); // <-- new entry
        libs    ("libsurfaceFilmModels.so");
    }

The old fvModel name, surfaceFilm, has been maintained for backwards
compatibility.

The Lagrangian surface film model now also requires the coupled
surfaceFilms to be specified when there is not just a single
default-named film. For example, in constant/cloudProperties:

    subModels
    {
        surfaceFilmModel thermoSurfaceFilm;

        thermoSurfaceFilmCoeffs
        {
            surfaceFilms    (boxesFilm floorFilm); // <-- new entry
            interactionType splashBai;
            deltaWet        0.0005;
            Adry            2630;
            Awet            1320;
            Cf              0.6;
        }

        ...
    }
This commit is contained in:
Will Bainbridge
2022-10-19 11:43:23 +01:00
parent 22d2b7be26
commit b1de509a77
135 changed files with 1880 additions and 1656 deletions

View File

@ -20,9 +20,9 @@ clouds
libs ("liblagrangianParcel.so");
}
surfaceFilm
surfaceFilms
{
type surfaceFilm;
type surfaceFilms;
libs ("libsurfaceFilmModels.so");
}

View File

@ -20,9 +20,9 @@ clouds
libs ("liblagrangianParcel.so");
}
surfaceFilm
surfaceFilms
{
type surfaceFilm;
type surfaceFilms;
libs ("libsurfaceFilmModels.so");
}

View File

@ -68,7 +68,6 @@ ejection
drippingEjection
{
cloudName reactingCloud1;
deltaStable 0;
particlesPerParcel 100.0;

View File

@ -14,9 +14,9 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
surfaceFilm
surfaceFilms
{
type surfaceFilm;
type surfaceFilms;
libs ("libsurfaceFilmModels.so");
}

View File

@ -20,9 +20,9 @@ clouds
libs ("liblagrangianParcel.so");
}
surfaceFilm
surfaceFilms
{
type surfaceFilm;
type surfaceFilms;
libs ("libsurfaceFilmModels.so");
}