CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to generate vtk for specific time?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2022, 21:31
Default How to generate vtk for specific time?
  #1
Member
 
WY
Join Date: Mar 2020
Posts: 36
Rep Power: 6
WUYing is on a distinguished road
Hi all,

I have some problems when using startTime in openfoam.

1. controlDict

Code:
startFrom	      startTime;
startTime	      1800;
stopAt             endTime;
endTime         1801.31;
deltaT             0.01;
writeControl    timeStep;
writeInterval   131;
According to my understanding, the above setting will generate the time directory 1801.31, but the fact is 1801.25 time directory with all necessary files is created, while 1801.31 time directory is also generated but with less files, like missing pointDisplacement, etc.

2. cuttingPlane

Code:
cuttingPlane
{
        ...
        writeControl    timeStep;
        writeInterval   28;
        timeStart	     1801.32;
        timeEnd         1808.00;
        ...
}
In the cuttingPlane function object, I set OF to generate vtk files from timeStart=1801.32, and the interval is 28 time steps (i.e. 0.28), and the timeEnd=1808. So the vtk files should be created at time= [1801.32 : 0.28 : 1807.76], but the fact is [1801.52, 1801. 8, ...].

So is there any way in OF to generate vtk files at specific beginning time with specific writeInterval?

Thanks!
WUYing is offline   Reply With Quote

Reply

Tags
controldict, cuttingplane, timestart

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
bash script for pseudo-parallel usage of reconstructPar kwardle OpenFOAM Post-Processing 42 May 7, 2024 23:17
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" bigphil OpenFOAM CC Toolkits for Fluid-Structure Interaction 686 December 22, 2022 09:10
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
How to export time series of variables for one point? mary mor OpenFOAM Post-Processing 8 July 19, 2017 10:54
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03


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