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

Error when getting kappaEff from turbulenceFields

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2023, 12:19
Default Error when getting kappaEff from turbulenceFields
  #1
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15
agustinvo is on a distinguished road
Hi,


I am trying to get the kappaEff field from my channel flow simulation on OpenFOAM 11 (I attach the case) by using the turbulenceFields function object:
Code:
foamPostProcess -latestTime -solver fluid

However I get the next error:
Code:
--> FOAM FATAL ERROR:  
Invalid field selection 

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

FOAM exiting

As far as I see in the code, at the execute function there is an if statement in function of the use of a fluidThermophysicaltransportModel, which I use (eddyDiffusivity model). However I cannot reach that code block (where kappaEff is processed) but the next one, that only requires a compressible momentum turbulence model.


Have you ever tried to get kappaEff from this functionObject? Am I missing something in my dictionary or there is a bug?


Regards
Agustín
Attached Files
File Type: zip channel_flow.zip (30.8 KB, 1 views)
agustinvo is offline   Reply With Quote

Old   February 23, 2024, 02:53
Default
  #2
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15
agustinvo is on a distinguished road
This problem has been solved on the commit


https://github.com/OpenFOAM/OpenFOAM...3c7e86bddaeb92
agustinvo is offline   Reply With Quote

Reply

Tags
kappaeff, openfoam, turbulencefields


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
turbulenceFields in controlDict not working (apparently) pmarreiro OpenFOAM Pre-Processing 2 January 14, 2018 08:13
HeatFlux in buoyantBoussinesq stawrogin OpenFOAM 22 August 17, 2011 10:20


All times are GMT -4. The time now is 01:14.