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

--> FOAM FATAL ERROR:request for volTensorField sigmap

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2018, 23:55
Default --> FOAM FATAL ERROR:request for volTensorField sigmap
  #1
New Member
 
caoxuxiang's Avatar
 
Xuxiang Cao
Join Date: Jun 2016
Posts: 11
Rep Power: 9
caoxuxiang is on a distinguished road
hello everyone

when i used pisoFoam to solve a problem about simulating 1/4 of underwater glider body with k-omega model, i encountered an error from openfoam. the full information is given:

Code:
Create time

Create mesh for time = 0


SIMPLE: no convergence criteria found. Calculations will run for 10000 steps.

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model kOmegaSST
Selecting patchDistMethod meshWave
kOmegaSSTCoeffs
{
    alphaK1         0.85;
    alphaK2         1;
    alphaOmega1     0.5;
    alphaOmega2     0.856;
    gamma1          0.555556;
    gamma2          0.44;
    beta1           0.075;
    beta2           0.0828;
    betaStar        0.09;
    a1              0.31;
    b1              1;
    c1              10;
    F3              false;
}

No MRF models present

No finite volume options present


Starting time loop

forces forceCoeffs1:
    Not including porosity effects
forceCoeffs forceCoeffs1:
    Not including porosity effects
Time = 1

smoothSolver:  Solving for Ux, Initial residual = 1, Final residual = 0.0910522, No Iterations 22
smoothSolver:  Solving for Uy, Initial residual = 1, Final residual = 0.0919569, No Iterations 19
smoothSolver:  Solving for Uz, Initial residual = 1, Final residual = 0.093001, No Iterations 11
GAMG:  Solving for p, Initial residual = 1, Final residual = 0.00820068, No Iterations 35
time step continuity errors : sum local = 8.31086e-05, global = -2.6e-05, cumulative = -2.6e-05
smoothSolver:  Solving for omega, Initial residual = 0.0145231, Final residual = 0.0013093, No Iterations 5
smoothSolver:  Solving for k, Initial residual = 1, Final residual = 0.0768991, No Iterations 6
ExecutionTime = 62.16 s  ClockTime = 63 s



--> FOAM FATAL ERROR: 

    request for volTensorField sigmap from objectRegistry region0 failed
    available objects of type volTensorField are
1(grad(U))

    From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::GeometricField<Foam::Tensor<double>, Foam::fvPatchField, Foam::volMesh>]
    in file /vol/home/caoxuxiang/OpenFOAM/OpenFOAM-4/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 193.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ~/OpenFOAM/OpenFOAM-4/src/OSspecific/POSIX/printStack.C:218
#1  Foam::error::abort() at ~/OpenFOAM/OpenFOAM-4/src/OpenFOAM/lnInclude/error.C:249
#2  Foam::Ostream& Foam::operator<< <Foam::error>(Foam::Ostream&, Foam::errorManip<Foam::error>) at ~/OpenFOAM/OpenFOAM-4/src/OpenFOAM/lnInclude/errorManip.H:85
#3  Foam::GeometricField<Foam::Tensor<double>, Foam::fvPatchField, Foam::volMesh> const& Foam::objectRegistry::lookupObject<Foam::GeometricField<Foam::Tensor<double>, Foam::fvPatchField, Foam::volMesh> >(Foam::word const&) const at ~/OpenFOAM/OpenFOAM-4/src/OpenFOAM/lnInclude/objectRegistryTemplates.C:193
#4  Foam::functionObjects::forces::calcForcesMoment() at ~/OpenFOAM/OpenFOAM-4/src/functionObjects/forces/forces/forces.C:799
#5  Foam::functionObjects::forceCoeffs::write() at ~/OpenFOAM/OpenFOAM-4/src/functionObjects/forces/forceCoeffs/forceCoeffs.C:180
#6  Foam::functionObjects::timeControl::write() at ~/OpenFOAM/OpenFOAM-4/src/OpenFOAM/db/functionObjects/timeControl/timeControlFunctionObject.C:106
#7  Foam::functionObjectList::execute() at ~/OpenFOAM/OpenFOAM-4/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C:476
#8  Foam::Time::run() const at ~/OpenFOAM/OpenFOAM-4/src/OpenFOAM/db/Time/Time.C:880
#9  Foam::Time::loop() at ~/OpenFOAM/OpenFOAM-4/src/OpenFOAM/db/Time/Time.C:889
#10  Foam::simpleControl::loop() at ~/OpenFOAM/OpenFOAM-4/src/finiteVolume/cfdTools/general/solutionControl/simpleControl/simpleControl.C:154
#11  ? at ~/OpenFOAM/OpenFOAM-4/applications/solvers/incompressible/simpleFoam/simpleFoam.C:59
#12  __libc_start_main in "/lib64/libc.so.6"
#13  ? in "/vol/home/caoxuxiang/OpenFOAM/OpenFOAM-4/platforms/linux64GccDPInt32Debug/bin/simpleFoam"
Aborted (core dumped)
I have searched many topics from the forum, and there are almost no similar problems. I have nothing to do with it.

However, when I cancelled part of functions from controlDict, I did not encounter this problem.

the controlDict:

Code:
application     simpleFoam;


startFrom       latestTime;

startTime       1;

stopAt          endTime;

endTime         10000;

deltaT          1;

writeControl    timeStep;

writeInterval   200;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression uncompressed;

timeFormat      general;

timePrecision   6;

runTimeModifiable no;

adjustTimeStep  no;



functions
{

    forceCoeffs1
    {
        type forceCoeffs;
        libs ("libforces.so");
        
        writeControl timeStep;
        writeInterval 1;
        
        patches (wall);
        
        rho rhoInf;
        rhoInf 1025;
        log yes;
        CoR (0 0 0);
        dragDir (1 0 0);
        liftDir (0 1 0);
        pitchAxis (0 0 1);
        magUInf 1.0;
        lRef 1.0;
        Aref 0.465;
        origin (0 0 0); 
        coordinateRotation
        {
            type EulerRotation; 
            degrees true;
            rotation (0 0 0);
        }
        
}
could anyone help me ?

thanks.

Xuxiang
caoxuxiang is offline   Reply With Quote

Old   November 15, 2018, 20:32
Default
  #2
New Member
 
caoxuxiang's Avatar
 
Xuxiang Cao
Join Date: Jun 2016
Posts: 11
Rep Power: 9
caoxuxiang is on a distinguished road
hi guys:

i simulated my case with openfoam-2.4.0, and it had no wrong information. it shill worked well even i added the forceCoeffs function in controlDict file.

why happened this between different version of openfoam?
caoxuxiang is offline   Reply With Quote

Old   November 16, 2018, 00:12
Default
  #3
Member
 
Ran
Join Date: Aug 2016
Posts: 69
Rep Power: 9
random_ran is on a distinguished road
The force function do the bad thing, maybe try the following lines to your control file:

```
libs ("libOpenFOAM.so" "libfieldFunctionObjects.so");
```
__________________
Yours in CFD,

Ran

Last edited by random_ran; November 16, 2018 at 00:21. Reason: eww not good at editing... do you have any suggestion?
random_ran is offline   Reply With Quote

Reply

Tags
voltensorfield sigmap


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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 02:21
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


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