CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

Problem with writing fields with foamToVTK

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

Like Tree1Likes
  • 1 Post By Kirils

Reply
 
LinkBack Thread Tools Display Modes
Old   August 5, 2013, 06:26
Default Problem with writing fields with foamToVTK
  #1
New Member
 
Kirils Surovovs
Join Date: Jul 2013
Posts: 2
Rep Power: 0
Kirils is on a distinguished road
Hello everyone!

I'm very new at OpenFOAM and I can't solve the following problem. Please help me or send a link to solution (I tried but couldn't find it).

I had run 2D axially symmetrical calculations based on chtMultiRegionFoam tutorial (see the case attached). Mesh is very simple, hand-written in blockMeshDict. Then I created two regions using setSet. When I launch chtMultiRegionFoam, it seems that calculation are OK with no errors. Then I write "foamToVTK -time 500" and it still seems to be OK. I get the following on screen:

Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 500

Time: 500

    Internal  : "/home/kirill/openfoam/KS_test/8_wedges_from_BlockMesh_multiRegion/VTK/8_wedges_from_BlockMesh_multiRegion_5000.vtk"
    Original cells:200 points:451   Additional cells:0  additional points:0

    Patch     : "/home/kirill/openfoam/KS_test/8_wedges_from_BlockMesh_multiRegion/VTK/top_faces/top_faces_5000.vtk"
    Patch     : "/home/kirill/openfoam/KS_test/8_wedges_from_BlockMesh_multiRegion/VTK/bottom_faces/bottom_faces_5000.vtk"
    Patch     : "/home/kirill/openfoam/KS_test/8_wedges_from_BlockMesh_multiRegion/VTK/side_faces/side_faces_5000.vtk"
    Patch     : "/home/kirill/openfoam/KS_test/8_wedges_from_BlockMesh_multiRegion/VTK/axial_faces/axial_faces_5000.vtk"
    Patch     : "/home/kirill/openfoam/KS_test/8_wedges_from_BlockMesh_multiRegion/VTK/wedge_faces/wedge_faces_5000.vtk"
End
But the problem is: when I open .vtk file with ParaView, I cannot see temperature field. I see only what is shown in attached screenshot - cellID and cellNormals. Still, in the folder "500" there is normal "T" file with good values.

Can anyone please help me, how to display temperature field in ParaView?
Attached Images
File Type: jpg screenshot.jpg (57.9 KB, 5 views)
Attached Files
File Type: zip 8_foamToVTK_problem.zip (81.1 KB, 1 views)
deep shekhawat likes this.
Kirils is offline   Reply With Quote

Old   September 10, 2013, 09:22
Default Solution
  #2
New Member
 
Kirils Surovovs
Join Date: Jul 2013
Posts: 2
Rep Power: 0
Kirils is on a distinguished road
The problem is solved. ParaView was working wrong because of bad mesh - not every hexagon had exactly six boundary faces.
Kirils is offline   Reply With Quote

Reply

Tags
chtmultiregionfoam, foamtovtk, paraview

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
How to Mix AIR and WATER Elvis1991 FLUENT 10 March 28, 2012 13:40
Can I solve this problem by Fluent? Kai_kc FLUENT 1 October 27, 2010 06:29
Problem while writing pressure file "buoyantPressure" ubaid OpenFOAM 0 October 2, 2010 15:07
foamToVTK & foamDataToFluent problem! germinal OpenFOAM Bugs 1 August 17, 2010 06:02
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29


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