CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Writing in regular time steps

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By VigneshSP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2020, 17:06
Default Writing in regular time steps
  #1
New Member
 
Join Date: May 2020
Posts: 12
Rep Power: 5
milad1990 is on a distinguished road
Hi every one.
I am trying to adjust my control-Dict to write my data on 0.01 second of my simulation. I am using PISO solver and MaxCO feature. So I used "AdjustableTimestep" for writing my data. I got my P,U and other things in 0.01 seconds as I wanted, but in Postprocessing folder, I got my forcecoefficients in a very irregular time steps, which should be actual time steps adjusted by my MaxCO. Do you know why it happens? How can I solve it?

Thank you for you kind help
Milad
milad1990 is offline   Reply With Quote

Old   August 3, 2020, 03:44
Default
  #2
New Member
 
Vignesh S P
Join Date: Jul 2018
Location: Coimbatore, Tamil Nadu, India
Posts: 17
Rep Power: 7
VigneshSP is on a distinguished road
Hi milad1990,
I think adding writeControl and and writeInterval to the forceCoeffs will get you the force coefficients at specified time of simulation.

writeControl runTime;
writeInterval 1;

the above will write for every 1s of simulation time.
milad1990 likes this.
VigneshSP is offline   Reply With Quote

Old   August 10, 2020, 07:50
Default
  #3
New Member
 
Join Date: May 2020
Posts: 12
Rep Power: 5
milad1990 is on a distinguished road
Hi VigneshSP
Thanks for your reply.
The problem however, was not that. Because I was using 'MAX CO' feature I found that OpenFOAM could not follow "Adjustable time step" in "0.001" increment that I determined in ControlDict. Also RunTime feature is not working too. btw, thank you |I solved my problem since I write my data in f=100hz, I can just write my forces and force coefficients in "output time" and its working. Thank you
milad1990 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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 21:00
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 05:28
Writing different time steps in different processors sihaqqi OpenFOAM Running, Solving & CFD 2 August 16, 2014 20:08
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58


All times are GMT -4. The time now is 14:16.