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

[ERROR] multiphaseEulerFoam postProcess -func

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 13, 2023, 14:05
Default [ERROR] multiphaseEulerFoam postProcess -func
  #1
gu1
Senior Member
 
Guilherme
Join Date: Apr 2017
Posts: 225
Rep Power: 10
gu1 is on a distinguished road
Hi,

I'm having difficulty to post processing the bubbleColumn case (tutorial) in my OpenFOAM9.

I am unable to extract the Q-criteria (Q) or vorticity information.

I am also unable to extract data from shearStress (maybe the R in OpenFOAM5?!) to visualize what was modeled and resolved in the simulation. Can anybody help me?

Code:
$ postProcess -func vorticity -latestTime
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 9-b456138dc4bc
Exec   : postProcess -func vorticity -latestTime
Date   : Oct 13 2023
Time   : 15:02:41
Host   : "assis"
PID    : 6763
I/O    : uncollated
Case   : /home/assis/OpenFOAM/assis-9/solvers/TESTES/OUT/TESTE
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 10

Time = 10

Reading fields:


Executing functionObjects
--> FOAM Warning :     functionObjects::vorticity vorticity cannot find required object U of type volVectorField
--> FOAM Warning :     functionObjects::vorticity vorticity failed to execute.

End
Code:
$ postProcess -func shearStress -latestTime
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 9-b456138dc4bc
Exec   : postProcess -func shearStress -latestTime
Date   : Oct 13 2023
Time   : 15:04:01
Host   : "assis"
PID    : 6777
I/O    : uncollated
Case   : /home/assis/OpenFOAM/assis-9/solvers/TESTES/OUT/TESTE
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 10

Time = 10

Reading fields:


Executing functionObjects


--> FOAM FATAL ERROR: 
Unable to find compressible turbulence model momentumTransport in the database

    From function virtual bool Foam::functionObjects::shearStress::execute()
    in file shearStress/shearStress.C at line 113.

FOAM exiting
Code:
$ postProcess -func Q -latestTime
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 9-b456138dc4bc
Exec   : postProcess -func Q -latestTime
Date   : Oct 13 2023
Time   : 15:04:37
Host   : "assis"
PID    : 6778
I/O    : uncollated
Case   : /home/assis/OpenFOAM/assis-9/solvers/TESTES/OUT/TESTE
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 10

Time = 10

Reading fields:


Executing functionObjects
--> FOAM Warning :     functionObjects::Q Q cannot find required object U of type volVectorField
--> FOAM Warning :     functionObjects::Q Q failed to execute.

End
gu1 is offline   Reply With Quote

Old   October 14, 2023, 06:40
Default
  #2
gu1
Senior Member
 
Guilherme
Join Date: Apr 2017
Posts: 225
Rep Power: 10
gu1 is on a distinguished road
Hi,

I managed to solve the Q-criteria and vorticity (I included them in controlDict).

However, 'shearStress' apparently is in fact for a compressible solver and R has added in turbulenceFields function. I still can't extract the fields for the solver I'm using... OpenFOAM comments that it didn't find the turbulence model.

Can someone help me?
gu1 is offline   Reply With Quote

Reply

Tags
multiphaseeulerfoam, openfoam9, 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
<solver> -postProcess -func yPlus qutadah.r OpenFOAM Post-Processing 10 August 8, 2023 10:03
Question about 'postProcess -func' Stan Zhou OpenFOAM Post-Processing 2 July 15, 2020 22:53
postProcess -field U -func mag, Why it gives error? Mojtaba.a OpenFOAM Post-Processing 5 April 9, 2020 14:22
simpleFoam -postProcess -func R kaaja OpenFOAM Post-Processing 4 March 29, 2018 17:48
of4 Can't pimpleFoam -postProcess -func forcesCoeffsIncompressible Danubi OpenFOAM Post-Processing 3 July 27, 2017 12:47


All times are GMT -4. The time now is 23:44.