|
[Sponsors] |
October 31, 2019, 07:10 |
vtkWrite fileName
|
#1 |
Member
Join Date: Sep 2014
Posts: 32
Rep Power: 11 |
Hello OFers,
i am using the vtkWrite utility to write out part of the domain for postProcessing. It works, but the generated vtk file is assigned a name with number at end. In my case, I would prefer to identify the vtk file with time step. An expample is follows. Re620eta1_Reference2D_00028984.vtk ( unrelevant number) Re620eta1_Reference2D_1.1.vtk (prefered with time step 1.1s) does anyone how to setup the vtkWrite file? My vtkwrite file is follows: Code:
subset { type vtkWrite; libs ("libutilityFunctionObjects.so"); log true; boundary false; interpolate true; directory "VTK1"; // Fields to output (words or regex) fields (U_TS); //- Write cell ids as field - Default=true writeIds false; legacy true; //- Write more frequent than fields writeControl runTime; writeInterval 0.1; useTimeName true; // does not work! This works with foamToVtk, but not working in runtime vtk write utility // Region of interest selection { DMDregion { action add; source box; box (-0.1 0 -0.01) (1.95 0.1 0.01); } } } |
|
March 8, 2023, 04:38 |
|
#2 |
New Member
Join Date: Jun 2018
Posts: 20
Rep Power: 7 |
Did you find a solution?
I am having a similar problem. I would be fine with the consecutive ordering (e.g. polyHedra_00000001). But when the simulation is stopped and restarted from last timeStep the "internal counter" is reset. vtkWrite starts with polyHedra_00000001 again thus overwriting the results from the first run... Any suggestions are appreciated. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error message when using DBFI | jeroendemto | STAR-CCM+ | 1 | February 22, 2020 12:26 |
Star 13.06.012 mismatched types in mpi error server reset | cdimock72 | STAR-CCM+ | 0 | April 14, 2019 11:19 |
Star ccm+ non newtonian error | miyendisbey | STAR-CCM+ | 1 | May 12, 2017 15:10 |
Heat Transfer Error Message | darsonli | STAR-CCM+ | 0 | September 22, 2014 21:00 |
Error VolumeFractionLevel1 | savr1484 | STAR-CCM+ | 3 | February 4, 2014 00:55 |