CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

functionObject scalarTransport searches File s

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2017, 04:01
Post functionObject scalarTransport searches File s
  #1
Member
 
Join Date: Oct 2011
Posts: 56
Rep Power: 15
fanta is on a distinguished road
Hi,
i use a functionobject for my solver to calculate the residence Time.
So in my controlDict there is this Code:

Code:
functions
{
       residence_time
    {
        type    scalarTransport;
        functionObjectLibs ("libsolverFunctionObjects.so");
        writeControl outputTime;
    writeInterval 200;
        active          true;
        autoSchemes     true;
        nCorr           0;
        resetOnStartUp false;
        //DT              1e-5;

        fvOptions
        {
            IncrementTime
            {
            type            scalarSemiImplicitSource;
            active          true;
            cellZone        Layers;
                scalarSemiImplicitSourceCoeffs
                {
                    volumeMode specific;//absolute;
            selectionMode   all;//cellZone;
                    injectionRateSuSp
                    {
                        residence_time       (1 0);
                    }
                }
            }
        }
    }
}
But when i run the solver, it expects a file called s:

Code:
Starting time loop

Selecting finite volume options model type scalarSemiImplicitSource
    Source: IncrementTime
    - selecting all cells
    - selected 257742 cell(s) with volume 1.3825e-05

--> FOAM FATAL IO ERROR: 
cannot find file

file: 0/s at line 0.

    From function regIOobject::readStream()
    in file db/regIOobject/regIOobjectRead.C at line 237.
I don't think i need a file called s, it should be defined in my controlDict. I don't understand why i does not run. OpenFOAM is Version 1706 with Ubuntu 1604 TLS. Can anyone help me?

(My work is based on this thread: Mean Age of Air if that helps).
fanta is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 04:23
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46


All times are GMT -4. The time now is 16:45.