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

Can't use Post-Processing functions due to agglomeration files missing.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2023, 05:04
Default Can't use Post-Processing functions due to agglomeration files missing.
  #1
New Member
 
Chris
Join Date: Jan 2022
Posts: 22
Rep Power: 4
Chris T is on a distinguished road
When running
chtMultiRegionFoam -postProcess -func wallHeatTransferCoeff -time 40 (also tried yPlus)
I get
--> FOAM FATAL ERROR:
cannot find file ".../constant/air/finalAgglom"

For my radiation model I use
Code:
runParallel -s air faceAgglomerate -region air -dict system/air/viewFactorsDict
runParallel -s air viewFactorsGen -region air
This is done after I used
Code:
runApplication decomposePar -allRegions -dict system/decomposeParDict
and essentially creates the finalAgglom file only in the processor files.

I did that because for some reason when I do the calculation for view factors and Face agglomerates first with

Code:
faceAgglomerate -region air -dict system/air/viewFactorsDict
viewFactorsGen -region air
and then decompose my case the finalAgglom file doesn't make it to the processor files.
as it can be seen from the error bellow when I try to run the case
--> FOAM FATAL ERROR:
[5] cannot find file ".../processor5/constant/air/finalAgglom"

Basically I need finalAgglom to both be present in the constant directory and the processor1/constant directory. In the former to be able to use post-processing utilities after reconstruction and the later to be able to run my solvers in parallel.

The obvious solution is to run the faceAgglomerate and viewFactorsGen utilities twice. Both in parallel to fill the process directories and in series to fill the constant directory. There are two problems with this approach though.
1. I do the computation twice. The one time is not even parallel.
2. I can't know if the finalAgglom file from the two processes are equivalent.

If anyone has a more elegant solution please let me know


The issue with the missing files while running viewFactor model in parallel is a known issue as docimented in running viewFactor model in parallel. In my case it also interferes with the use of post processing utilities.


Best,
Chris
Chris T is offline   Reply With Quote

Old   March 14, 2023, 05:14
Default
  #2
New Member
 
Chris
Join Date: Jan 2022
Posts: 22
Rep Power: 4
Chris T is on a distinguished road
I'm using OpenFoam v9 btw. Which makes things worse since there are no tutorials using the viewFactor radiation model present in this version. I had to look online for examples.
Chris T 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
Post processing creating multiple .dat files for each time step enthusiast OpenFOAM Post-Processing 0 July 13, 2022 06:15
retaining files and getting contours in post processing transient simulation Mounarah Main CFD Forum 5 October 7, 2021 12:18
Ansys Post processing ano999 ANSYS 1 May 27, 2011 16:24
NO model vs post processing in coal combustion,CFX sakalido CFX 1 April 15, 2011 14:07
Post Processing in FEM Abhijit Tilak Main CFD Forum 0 April 26, 2004 11:59


All times are GMT -4. The time now is 10:46.