|
[Sponsors] |
July 10, 2012, 12:02 |
controlDict in interFOAM
|
#1 |
Member
Amin
Join Date: Mar 2012
Posts: 60
Rep Power: 14 |
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; |
|
July 10, 2012, 12:08 |
|
#2 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 16 |
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! |
|
|
|
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 |