CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2015, 03:46
Default how to avoid overlapping (ghost) layer in *.pvti files
  #1
Member
 
Kaya Onur Dag
Join Date: Apr 2013
Posts: 94
Rep Power: 13
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 :

Code:
<?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"/>
</PPointData>
<Piece Extent="0 31 0 31 0 15" Source="data0_0.vti"/>
<Piece Extent="0 31 0 31 16 31" Source="data0_1.vti"/>
</PImageData></VTKFile>
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, 09:12
Default
  #2
Member
 
Kaya Onur Dag
Join Date: Apr 2013
Posts: 94
Rep Power: 13
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

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


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