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

controlDict in interFOAM

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

Like Tree1Likes
  • 1 Post By flowris

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2012, 12:02
Default controlDict in interFOAM
  #1
Member
 
Amin
Join Date: Mar 2012
Posts: 60
Rep Power: 14
amin66 is on a distinguished road
Hi friends
can some1 explain how does result write with controlDict in interfoam?
my mean is that data for which times will be written?



/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application interFoam;

startFrom startTime;

startTime 0;

stopAt endTime;

endTime 100;

deltaT 0.001;

writeControl adjustableRunTime;

writeInterval 0.05;

purgeWrite 0;

writeFormat ascii;

writePrecision 6;

writeCompression uncompressed;

timeFormat general;

timePrecision 6;

runTimeModifiable yes;

adjustTimeStep yes;

maxCo 0.5;

maxDeltaT 1;
amin66 is offline   Reply With Quote

Old   July 10, 2012, 12:08
Default
  #2
Senior Member
 
Join Date: Apr 2010
Posts: 151
Rep Power: 15
flowris is on a distinguished road
Hi,

You can change the value of writeInterval to change when time steps are stored. Fields are now stored each 0.05 second, and since you have an endTIme of 100, this will result in 100/0.05 = 50000 saved time steps!
amin66 likes this.
flowris is offline   Reply With Quote

Reply

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
InterFoam stops after deltaT goes to 1e14 francesco_b OpenFOAM Running, Solving & CFD 9 July 25, 2020 07:36
Different solutions comparing pisoFoam and interFoam AnjaMiehe OpenFOAM Running, Solving & CFD 8 June 13, 2012 17:12
writing controlDict as otherfields ubaid OpenFOAM 5 September 29, 2010 08:28
Open Channel Flow using InterFoam type solver sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 22:58
ControlDict for snappyHexMesh adn interFoam erik023 OpenFOAM Running, Solving & CFD 3 November 10, 2008 19:27


All times are GMT -4. The time now is 04:42.