CFD Online Logo CFD Online URL
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Post Processing Multi Region .OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By malix38

LinkBack Thread Tools Search this Thread Display Modes
Old   August 30, 2018, 10:58
Default Post Processing Multi Region .OpenFOAM
New Member
Marie-Alix Dalle
Join Date: Aug 2018
Posts: 3
Rep Power: 7
malix38 is on a distinguished road
Hi everybody,

I just started to dive into OpenFOAM' world this week, and I am struggling a bit with these .OpenFOAM files produced while solving planeWall2D case with chtMultiRegionFoam solver.

Set-up: I work on windows 10 Enterprise 64 bits, installed the newest version of Ubuntu (18.04), newest version of OpenFOAM (18.06) following the steps on the OF website, installed Xming to have access to the X server and be able to run paraview from the console (it is thus version 5.4.1 of paraview).

Objective: My objective is to determine the temperature gradient on a 3 phases system (hot fluid running under a thin solid film, topped by cold air).

Before every thing, I would like to say that I went through the OpenFOAM user and beginner guides, some "OpenFOAM for dummies" guides found on the internet, the tutorials from ENSEEIHT, the wiki of OF, asked Google a lot, but could not find an answer to my question until now, which is why I post it here. It might be a stupid question, but I am so new to this world that I might have not found the right words for the search yet.

Step-by-Step: Thus, I started by the usual case cavity, could visualize the results on paraview, and then went through the tutorial on how to add Temperature to icoFoam in order to get a T gradient, which I could visualize in paraview too, but I realized that chtMultiRegionFoam would be much more adapted to my... multi region case.
I ran the planeWall2D case with ./Allrun : everything seems to work well, the .OpemFOAM are being created, but then, I don't understand how to have access to the temperature profiles.
When I try to open these .OpenFOAM files on paraview, it asks me for a compatible reader (which it did not ask me for a .foam file from the cavity case). I choose OpenFOAM, the files appear in the Pipeline Browser, I select the Mesh Regions and click "Apply", then I select all three files and add the Group DataSet filter. But after that, I can not add the "Plot over Line" filter. And I can not choose to display any parameter (p,U, T..), only "Solid Color", "cellNormals", "vtkCompositeIndex", "CasePath" and "vtkBlockColors".

Solutions found:
- I found on this forum that I should maybe "reconstruct" the case (, I tried the option "paraview -builtin" but nothing changed. I am not sure to understand what "reconstruct" means and how it should be done.
- the wiki told me that I should try with "paraFoam -touchAll" and then "paraview" but nothing changed (
- renaming the .OpenFOAM files in .foam did not change anything: they open easily in paraview (without the question on the reader) but the problem of the non displayable results stays the same.
- this "echo. > case.foam" command I found there ( would not work: "Command 'echo.' not found, did you mean: command 'echo' from deb coreutils", and when I try with 'echo' instead of 'echo.', nothing changes.
- Using a more recent port for OF on Windows as suggested here (ParaView can't find OpenFOAM files) is the only thing I came accross and did not try yet (maybe because I don't really understand what it means?).

So to summarize, my question is: how to visualize the result of the solving of a multiregion case, issuing .OpenFOAM files.

Thank you very much for having read all the message, and any help is welcome!
malix38 is offline   Reply With Quote

Old   August 31, 2018, 11:21
New Member
Marie-Alix Dalle
Join Date: Aug 2018
Posts: 3
Rep Power: 7
malix38 is on a distinguished road
sorry for the bothering, and for the stupid question, I figured it out, looking at the log.* files, the run was stopped for some reason, that is why there was no results to show...
LeeRuns likes this.
malix38 is offline   Reply With Quote

Old   April 1, 2019, 20:44
Join Date: Feb 2016
Posts: 41
Rep Power: 10
LeeRuns is on a distinguished road
This stuff happens to everyone at some point
LeeRuns is offline   Reply With Quote


.openfoam, multiregion, post processing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Problem with chtMultiregionFoam radiation boundary condition baran_foam OpenFOAM Running, Solving & CFD 10 December 17, 2019 17:36
conjugate heat transfer in OpenFOAM skuznet OpenFOAM Running, Solving & CFD 99 March 16, 2017 05:07
Suggestions for a multi region conjugate heat transfer problem maddalena OpenFOAM 14 September 4, 2013 18:03
[snappyHexMesh] Multi region meshing & recovering the original patch names fluidpath OpenFOAM Meshing & Mesh Conversion 4 May 19, 2013 19:13
Automated post processing using CFD Post shreyasr ANSYS 0 January 28, 2013 06:21

All times are GMT -4. The time now is 13:48.