CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   usage of kinematicSingleLayer (https://www.cfd-online.com/Forums/openfoam-solving/180792-usage-kinematicsinglelayer.html)

fsch1 November 30, 2016 08:26

usage of kinematicSingleLayer
 
Hello,
i have some troubles using the kinematicSingleLayer.

The basis for my simulation is the hot-box tutorial. But I don't need the thermal results, just the wallFilm. For simplification I want to change the surfaceFilmModel from thermoSingleLayer to kinematicSingleLayer.

In the reactingCloud1Properties I still have this line:
Code:

    surfaceFilmModel thermoSurfaceFilm;
and in the surfaceFilmProperties i made this change:
Code:

surfaceFilmModel kinematicSingleLayer; // thermoSingleLayer;

regionName      wallFilmRegion;

active          true;

kinematicSingleLayerCoeffs
{
    filmThermoModel constant;
    constantCoeffs
    {
        specie      water;
        rho0        1000;
        mu0        1e-3;
        sigma0      0.07;
    }
...
...

the liquidCoeffs I copied from the rivulet-tutorial.

But now, when I run the reactingParcelFilmFoam I get

Code:

...
Constructing surface film model
Selecting surfaceFilmModel kinematicSingleLayer
    Selecting region model functions
    none
    Selecting filmThermoModel constant
    Selecting film injection models
        none
    Selecting filmTurbulenceModel laminar
    Selecting film force models
        contactAngle
Selecting distribution model normal
        thermocapillary
No finite volume options present

Courant Number mean: 0.003975948189 max: 0.01690175586

Starting time loop

Courant Number mean: 0.003975550634 max: 0.01690006585
Film max Courant number: 0
deltaT = 1.439677512e-05
Time = 1.43968e-05


Solving 3-D cloud reactingCloud1


--> FOAM FATAL ERROR:
Ts field not available for kinematicSingleLayer

    From function virtual const volScalarField& Foam::regionModels::surfaceFilmModels::kinematicSingleLayer::Ts() const
    in file kinematicSingleLayer/kinematicSingleLayer.C at line 1012.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::regionModels::surfaceFilmModels::kinematicSingleLayer::Ts() const at ??:?
#3  Foam::ThermoSurfaceFilm<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingParcel<Foam::ThermoParcel<Foam::KinematicParcel<Foam::particle> > > > > >::cacheFilmFields(int, int, Foam::regionModels::surfaceFilmModels::surfaceFilmModel const&) at ??:?
#4  ? at ??:?
#5  ? at ??:?
#6  ? at ??:?
#7  ? at ??:?
#8  ? at ??:?
#9  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#10  ? at ??:?
Abort

where do I have to define the Ts? As I understand, its the temperature on the surface of the wall.


All times are GMT -4. The time now is 07:05.