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

[General] how to avoid overlapping (ghost) layer in *.pvti files

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

LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2015, 04:46
Default how to avoid overlapping (ghost) layer in *.pvti files
Kaya Onur Dag
Join Date: Apr 2013
Posts: 94
Rep Power: 9
kaya is on a distinguished road
I have my own cfd solver in which I was using *.vti for paraview input but decided to do MPI and wanted to use *.pvti format and do node parallelisation.

My *.pvti file is like :

<?xml version="1.0"?>
<VTKFile type="PImageData" version="1.0" byte_order="LittleEndian" header_type="UInt64">
  <PImageData WholeExtent=[/QUOTE][/QUOTE]"       0      31       0      31       0      31" Origin="  0.000000000000E+00  0.000000000000E+00  0.000000000000E+00" Spacing="  0.196349540849E+00  0.196349540849E+00  0.645161290323E-01" GhostLevel="0">
      <PPointData Scalars="u v w">
    <PDataArray type="Float64" Name="u" NumberOfComponents="1" format="appended"/>
<PDataArray type="Float64" Name="v" NumberOfComponents="1" format="appended"/>
<PDataArray type="Float64" Name="w" NumberOfComponents="1" format="appended"/>
<Piece Extent="0 31 0 31 0 15" Source="data0_0.vti"/>
<Piece Extent="0 31 0 31 16 31" Source="data0_1.vti"/>
The problem I am facing is I am having a gap in between z-axis 15-16 - which paraview complains.

I know that the solution is to have a ghost (overlapping) layer (can't understand why since I am using point data?), and the issue is that my code is not capable of generating overlapping nodes, unless I code it up and manually transfer ghost layers at each data output stage for the sake of being able to write data in parallel but it feels like an overkill...

Any suggestions?
kaya is offline   Reply With Quote

Old   November 7, 2015, 10:12
Kaya Onur Dag
Join Date: Apr 2013
Posts: 94
Rep Power: 9
kaya is on a distinguished road
In case anyone get into the same problem, the solution is to write out cell data instead of point and in the pvti file put the borders of the cells whih you will be duplicating.
kaya is offline   Reply With Quote


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
[snappyHexMesh] SnappyHexMesh - no layer added bejbro OpenFOAM Meshing & Mesh Conversion 5 February 1, 2020 21:05
[snappyHexMesh] SnappyHexMesh - How to set-up to avoid skewfaces? pcaron OpenFOAM Meshing & Mesh Conversion 34 February 27, 2018 09:58
[snappyHexMesh] snappy hangs while layer generation bastil OpenFOAM Meshing & Mesh Conversion 3 October 29, 2010 08:19
[snappyHexMesh] Boundary layer generation problems ivan_cozza OpenFOAM Meshing & Mesh Conversion 0 October 6, 2010 14:47
errors Fahad Main CFD Forum 0 March 23, 2004 14:20

All times are GMT -4. The time now is 12:55.