CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

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

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

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

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
SnappyHexMesh - How to set-up to avoid skewfaces? pcaron OpenFOAM Native Meshers: snappyHexMesh and Others 31 January 15, 2016 06:53
SnappyHexMesh - no layer added bejbro OpenFOAM Mesh Utilities 4 October 16, 2014 19:24
snappy hangs while layer generation bastil OpenFOAM Native Meshers: snappyHexMesh and Others 3 October 29, 2010 07:19
Boundary layer generation problems ivan_cozza OpenFOAM Native Meshers: snappyHexMesh and Others 0 October 6, 2010 13:47
errors Fahad Main CFD Forum 0 March 23, 2004 14:20


All times are GMT -4. The time now is 20:36.