CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Failed lookup of a scalar field

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2024, 09:05
Default Failed lookup of a scalar field
  #1
New Member
 
Edoardo Taglialatela
Join Date: Jun 2024
Posts: 1
Rep Power: 0
edoardotaglialatela is on a distinguished road
Hello Foamers,
I wrote a function to calculate the center of mass coordinates and its velocity components of a certain phase of the simulation. The problem is, with my current function (ran with the command postProcess -dict system/postProcessDict) the terminal shows the following error:
Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2312                                  |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : _e651d635-20240208 OPENFOAM=2312 patch=240220 version=2312
Arch   : "LSB;label=32;scalar=64"
Exec   : postProcess -dict system/postProcessDict
Date   : Jul 09 2024
Time   : 13:54:51
Host   : wk-edo
PID    : 18761
I/O    : uncollated
Case   : /home/edot/Edo/hybridCentralSolvers-edo-problem/Tutorials/vofTwoPhase/case
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Using dynamicCode for functionObject drift at line 22 in "functions/drift"
Could not load "/home/edot/Edo/hybridCentralSolvers-edo-problem/Tutorials/vofTwoPhase/case/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libdrift_d69c3e8a2b0f016d7dc9440af280ccb93b370573.so"
/home/edot/Edo/hybridCentralSolvers-edo-problem/Tutorials/vofTwoPhase/case/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libdrift_d69c3e8a2b0f016d7dc9440af280ccb93b370573.so: cannot open shared object file: No such file or directory
Creating new library in "dynamicCode/drift/platforms/linux64GccDPInt32Opt/lib/libdrift_d69c3e8a2b0f016d7dc9440af280ccb93b370573.so"
Invoking wmake libso /home/edot/Edo/hybridCentralSolvers-edo-problem/Tutorials/vofTwoPhase/case/dynamicCode/drift
wmake libso /home/edot/Edo/hybridCentralSolvers-edo-problem/Tutorials/vofTwoPhase/case/dynamicCode/drift
    ln: ./lnInclude
    dep: functionObjectTemplate.C
    Ctoo: functionObjectTemplate.C
    link: /home/edot/Edo/hybridCentralSolvers-edo-problem/Tutorials/vofTwoPhase/case/dynamicCode/drift/../platforms/linux64GccDPInt32Opt/lib/libdrift_d69c3e8a2b0f016d7dc9440af280ccb93b370573.so
Time = 0

Reading fields:

Executing functionObjects

Time = 1e-06

Reading fields:

Executing functionObjects


--> FOAM FATAL ERROR: (openfoam-2312 patch=240220)

    failed lookup of volumeFraction1 (objectRegistry region0)
    available objects of type volScalarField:
0()


    From const Type& Foam::objectRegistry::lookupObject(const Foam::word&, bool) const [with Type = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>]
    in file /usr/src/packages/BUILD/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 628.

FOAM exiting
I have also attached the postProcessDict in text format. Any help or alternatives would be much appreciated.
Attached Files
File Type: txt postProcessDic.txt (3.9 KB, 1 views)
edoardotaglialatela is offline   Reply With Quote

Reply

Tags
alpha, center of mass, failed lookup, multiphase, postprocess


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
implementation of AUSMpw in OpenFOAM sanjeev_adhikari OpenFOAM Programming & Development 0 October 29, 2021 07:09
Issue symmetryPlane 2.5d extruded airfoil simulation 281419 OpenFOAM Running, Solving & CFD 5 November 28, 2015 14:09
dieselFoam problem!! trying to introduce a new heat transfer model vivek070176 OpenFOAM Programming & Development 10 December 24, 2014 00:48
Problems installing OpenFOAM 2.3.0, 1.6-ext and foam-extend 3.0 sam.ho OpenFOAM Installation 35 April 5, 2014 16:31
Convergence on anisotropic tetahedral meshes pbo OpenFOAM Running, Solving & CFD 12 December 14, 2010 12:59


All times are GMT -4. The time now is 02:31.