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