CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Post-Processing

How to ensure foamToEnsightParts reads the correct part directories

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

LinkBack Thread Tools Display Modes
Old   May 17, 2017, 06:23
Default How to ensure foamToEnsightParts reads the correct part directories
Join Date: Apr 2011
Posts: 53
Rep Power: 8
user_of_cfx is on a distinguished road
Note: Apologies if this question has been asked before, a search of the forum for foamToEnsight and foamToEnsightParts has not brought up anything relevant. If there is a thread relating to this out there I would be grateful if you can direct me to it.


I am using EnSight Free to post process my OF results and though foamToEnsight works very well, when using foamToEnsighParts I seem to be running into the same problem: the command cannot find the files it is looking for.

Example 1: I ran the tutorial for heatExchanger (chtMultiRegionSimpleFoam) exactly as is, no modifications (using Allclean and Allrun exactly as provided). The simulation runs properly, and then when I run foamToEnsightParts I get this error:

Cannot find file "points" in directory "polyMesh" in times constant down to constant
which is not a surprise whatsoever because there is no polyMesh directory in the constant directory, as blockMesh is run individually for each region and the individual polyMesh directories are in each region directory rather than the main constant one (e.g. constant/air/polyMesh rather than constant/polyMesh).

Example 2: I modified a case to calculate the heat transfer across two solids (chtMultiRegionSimpleFoam again) by modifying the multiRegionHeater tutorial. Again simulation runs fine. This time the blockMesh creates a polyMesh directory inside constant and I can see my geometry along with its parts in EnSight, but when I run foamToEnsightParts none of the variables are written in the EnSight file, and it looks to me that the command again searches for volumeFields in the wrong directory (again, not looking at the parts directories, but one directory above) and so I can't visualise any of the variable fields.

Has anyone come across this before? I will try to find ways to cinrcumvent these issues, but I am wondering if somebody else has had this issue and figured out a solution for it. My Paraview appears to not have installed very well in Windows and so that't not an option. I cannot buy any visualisation software as I am working in my free time, so I would be very grateful if you could help me out with this.


user_of_cfx is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[DesignModeler] if there is clearance between solid part, is it correct to model environmental air? oozcan ANSYS Meshing & Geometry 1 November 23, 2016 17:50
Structural analysis- bosy surface part from the solid part andreina Structural Mechanics 0 October 12, 2015 09:56
crash sHM H25E OpenFOAM Native Meshers: snappyHexMesh and Others 11 November 10, 2014 12:27
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
how to ensure that your modelling is correct rvndr Main CFD Forum 7 March 1, 2004 13:21

All times are GMT -4. The time now is 04:27.