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

singleGraph in chtMultiRegionFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2017, 15:36
Default singleGraph in chtMultiRegionFoam
  #1
New Member
 
Join Date: Oct 2016
Posts: 20
Rep Power: 10
JoeFriend is on a distinguished road
Hello!

I've been having trouble with the singleGraph post processing function when using chtMultiRegionFoam. I get the following error:

--> FOAM Warning :
From function Foam::label Foam::sampledSets::classifyFields()
in file sampledSet/sampledSets/sampledSetsGrouping.C at line 140
Cannot find registered field matching T

I've tried using the singleGraph function with other solvers that don't have parallel running and it works fine, so I guess the error is due to the fact that I need to specify somewhere the different regions in the function's script...

Anyone who had a similar problem? I would appreciate any help.
JoeFriend is offline   Reply With Quote

Old   February 10, 2017, 06:52
Default
  #2
Member
 
Join Date: May 2015
Posts: 34
Rep Power: 11
mnikku is on a distinguished road
This worked for me also with simpleGraph:
postProcess functionality in openFOAM 4 and total(p)
mnikku is offline   Reply With Quote

Old   March 21, 2017, 11:31
Default
  #3
New Member
 
Join Date: Oct 2016
Posts: 20
Rep Power: 10
JoeFriend is on a distinguished road
Thanks for the answer! that worked for me.
JoeFriend is offline   Reply With Quote

Old   April 13, 2017, 08:05
Default
  #4
Member
 
Join Date: Sep 2016
Posts: 63
Rep Power: 10
sitajeje is on a distinguished road
Hallo JoeFriend and mnikku,

I have the exactly same problem as JoeFriend has described, and I checked the thread that you shared, but I didn't figure out what the solution is. Could you please give me a more clear hint? Thank you very much!

sitajeje
sitajeje is offline   Reply With Quote

Old   April 25, 2017, 10:18
Default
  #5
Member
 
Join Date: May 2015
Posts: 34
Rep Power: 11
mnikku is on a distinguished road
In OF 4.X try command postProcess instead of solverName -postProcess

OR

Renaming your files.

For example: You have the original pressure in file p and another file pFileThatDoesntWork which you would like to process but can't due to classifyFields() error.

Use this at your own risk.
1) Backup your p by copying it to p.org (for example).
2) Copy pFileThatDoesntWork over p.
3) Do the postprocessing on the file p.
4) Restore p.org back to p.
mnikku is offline   Reply With Quote

Old   April 29, 2017, 12:04
Default
  #6
Member
 
Join Date: Sep 2016
Posts: 63
Rep Power: 10
sitajeje is on a distinguished road
Dear mnikku,

Thank you very much for your reply!

I used the command postProcess, and got the same "--> FOAM Warning :" message as JoeFriend reported.

I have different regions and each region have a "T" file for temperature. Should I combine all the "T" files into one and then execute singleGraph? How can I combine the "T" files please? I am still very confused.

Thank you very much in advance!

sitajeje
sitajeje is offline   Reply With Quote

Old   May 2, 2017, 02:13
Default
  #7
Member
 
Join Date: May 2015
Posts: 34
Rep Power: 11
mnikku is on a distinguished road
Quote:
Originally Posted by sitajeje View Post
Dear mnikku,

Thank you very much for your reply!

I used the command postProcess, and got the same "--> FOAM Warning :" message as JoeFriend reported.

I have different regions and each region have a "T" file for temperature. Should I combine all the "T" files into one and then execute singleGraph? How can I combine the "T" files please? I am still very confused.

Thank you very much in advance!

sitajeje
Hi,
I really don't have a ready answer to you, but you could maybe test different options and see what works. Good luck in your endeavors!
mnikku is offline   Reply With Quote

Old   May 2, 2017, 06:02
Default
  #8
Member
 
Join Date: Sep 2016
Posts: 63
Rep Power: 10
sitajeje is on a distinguished road
Hi mnikku,

I found the following solution just now:
postProcess -func singleGraph -region air
postProcess -func singleGraph -region heater

sitajeje
sitajeje 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
Error in thermophysical properties (chtMultiRegionFoam) mukut OpenFOAM Pre-Processing 28 November 23, 2021 07:34
Error in chtMultiRegionFoam kirankarki OpenFOAM 6 August 21, 2018 09:00
Error in chtMultiRegionFoam michael157 OpenFOAM Running, Solving & CFD 17 May 22, 2017 04:32
where's the singleGraph output? kama_ OpenFOAM 1 January 4, 2017 07:17
FOAM FATAL IO ERROR for chtMultiRegionFoam xiaoyoyo OpenFOAM Running, Solving & CFD 0 May 8, 2012 17:49


All times are GMT -4. The time now is 00:32.