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

ControlDict: How to only get one time folder for the results?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2016, 07:40
Default
  #21
Senior Member
 
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 14
BlnPhoenix is on a distinguished road
Hey,

what kind of problem do you want to simulate? Can you maybe try to use the standard icoFoam solver and see if it lets you simulate passed the current time?
BlnPhoenix is offline   Reply With Quote

Old   March 22, 2016, 08:18
Default
  #22
Member
 
Join Date: Oct 2015
Posts: 63
Rep Power: 10
Scram_1 is on a distinguished road
Well I tried using the icoFoam Solver...Still its increasing the time precision to 18..


--> FOAM Warning :
From function Time:perator++()
in file db/Time/Time.C at line 1055
Increased the timePrecision from 6 to 18 to distinguish between timeNames at time 12.1401
Time = 12.1401000000000003

Courant Number mean: 0.0076843727 max: 0.070992469
smoothSolver: Solving for Ux, Initial residual = 0.00017927652, Final residual = 9.515912e-009, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 0.00046194189, Final residual = 1.477745e-008, No Iterations 1
DICPCG: Solving for p, Initial residual = 0.04602532, Final residual = 9.436656e-007, No Iterations 734

I wanted to solve the energy equation to calculate the Nusselt number. That is why I had to modify the icoFoam solver.

Thanks!!
Scram_1 is offline   Reply With Quote

Old   March 22, 2016, 08:34
Default
  #23
Member
 
Join Date: Oct 2015
Posts: 63
Rep Power: 10
Scram_1 is on a distinguished road
hey,
Here's one more problem that I've come across. This is completely unrelated to the previous problem about timePrecision.
When I check the time steps that have been saved, the last time step is 3.35. The solver is currently at 7.1175 sec.
Here's my controlDict
Code:
 /*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     my_icoFoam;

startFrom       latestTime;

startTime       0;

stopAt          endTime;

endTime         40;

deltaT          0.00025;

writeControl    adjustableRunTime;

writeInterval   20;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression off;

timeFormat      general;

maxCo            0.6;

adjustTimeStep    yes;

timePrecision   6;

runTimeModifiable true;

libs (
    "libgroovyBC.so"
    "libgroovyStandardBCs.so"
);


// ************************************************************************* //
My question is why is it not saving the subsequent time steps? I fear I won't be able to view the results once the simulation is done. In the middle, I had stopped the simulation and changed the writeInterval to 200 but then reverted to 20 almost immediately. Before that, it was saving the files according to the controlDict writeInterval of 20.

Last edited by wyldckat; March 26, 2016 at 05:49. Reason: Added [CODE][/CODE] markers
Scram_1 is offline   Reply With Quote

Old   March 22, 2016, 08:45
Default
  #24
Member
 
Join Date: Oct 2015
Posts: 63
Rep Power: 10
Scram_1 is on a distinguished road
Okay I think I got my answer to the last question. I changed the writeControl ti timeStep and its saving data as expected.
Scram_1 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
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 11:04
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 13:40
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 10:08
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 16:04.