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

continue LES simulation after it stopped

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2010, 10:16
Default continue LES simulation after it stopped
  #1
New Member
 
Join Date: Mar 2010
Posts: 10
Rep Power: 16
holand_us is on a distinguished road
Hi,

Am a new OpenFOAM user

Am runing LES simulation with 10,000 time step
my problem is my walltime exceeded after 12 hours, and then I need to start from the begining,
Is there a way to continue my simulation from where it stopped

best
holand_us is offline   Reply With Quote

Old   March 26, 2010, 10:20
Default
  #2
New Member
 
guillaume maurice
Join Date: Mar 2010
Posts: 4
Rep Power: 16
guillaumem is on a distinguished road
hi
i usualy copy the field in the field 0 and i restart the calculation you can also modify the starttime in the controlDict file
good luck for your calculation
guillaumem is offline   Reply With Quote

Old   March 26, 2010, 22:52
Default
  #3
Senior Member
 
Pavan
Join Date: May 2009
Location: Melbourne
Posts: 101
Rep Power: 16
rieuk is on a distinguished road
chenge the startTime entry in controlDict to latestTime
rieuk is offline   Reply With Quote

Old   March 27, 2010, 13:02
Default
  #4
Member
 
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 16
piprus is on a distinguished road
Quote:
Originally Posted by rieuk View Post
chenge the startTime entry in controlDict to latestTime
This is not entirely true, cause it will work only in the case when startFrom keyword is set to startTime.

Normally I'm using following configuration:

Code:
startFrom       latestTime;

startTime       0;
but this means I don't really need startTime at all. It's up to you which one is better, both are working fine to me.
piprus is offline   Reply With Quote

Old   March 27, 2010, 13:30
Default
  #5
New Member
 
Join Date: Mar 2010
Posts: 10
Rep Power: 16
holand_us is on a distinguished road
thanks allot ill try it on Monday and come to you guys
holand_us is offline   Reply With Quote

Old   March 30, 2010, 11:19
Default
  #6
New Member
 
Join Date: Mar 2010
Posts: 10
Rep Power: 16
holand_us is on a distinguished road
Hi it didnt work
when I continue the program let say after 5 hours, it write from the beginning on the probes/0/p, not continue from the last time field




HTML Code:
/*--------------------------------*- 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     pisoFoam;

startFrom       latestTime;

startTime       0;

stopAt          endTime;

endTime         1e-03 ;

deltaT          1e-05;

writeControl    timeStep;

writeInterval   100;

purgeWrite      0;

writeFormat     ascii;

writePrecision  12;

writeCompression uncompressed;

timeFormat      general;

timePrecision   6;

runTimeModifiable yes;

functions
{
    probes
    {
        type            probes;
        functionObjectLibs ("libsampling.so");
        enabled         true;
        outputControl   timeStep;
        outputInterval  1;
        probeLocations
        (
            ( 0.0254 0.0253 0 )
            ( 0.0508 0.0253 0 )
            ( 0.0762 0.0253 0 )
            ( 0.1016 0.0253 0 )
            ( 0.127 0.0253 0 )
            ( 0.1524 0.0253 0 )
            ( 0.1778 0.0253 0 )
        );

        fields
        (
            p
        );
    }

    fieldAverage1
    {
        type            fieldAverage;
        functionObjectLibs ("libfieldFunctionObjects.so");
        enabled         true;
        outputControl   outputTime;
        fields
        (
            U
            {
                mean        on;
                prime2Mean  on;
                base        time;
            }

            p
            {
                mean        on;
                prime2Mean  on;
                base        time;
            }
        );
    }
}


// ************************************************************************* //
holand_us is offline   Reply With Quote

Old   March 30, 2010, 11:23
Default
  #7
Member
 
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 16
piprus is on a distinguished road
Is this problem concerns only p or U either?

I have no experience with functions in OF yet, but have that feeling like it has to do something with the outputControl. Look that you are using different statements in probes and fieldAverage1.

I might be wrong, so help from other more advanced users would be here appreciated

Last edited by piprus; March 30, 2010 at 12:07.
piprus is offline   Reply With Quote

Old   April 5, 2010, 11:14
Default
  #8
New Member
 
Join Date: Mar 2010
Posts: 10
Rep Power: 16
holand_us is on a distinguished road
mmm
I really didnt understand

But I still have the same problem
holand_us is offline   Reply With Quote

Old   April 5, 2010, 11:35
Default
  #9
Member
 
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 16
piprus is on a distinguished road
Sorry, maybe I didn't make myself clear enough. I was just wondering why you're using different values in case of outputControl keyword here:

Code:
    probes
    {
        ...
        outputControl   timeStep;
and here:

Code:
    fieldAverage1
    {
        ...
        outputControl   outputTime;
Is there any specific reason for doing like that?

-----
I found something interesting >>here<<

Last edited by piprus; April 5, 2010 at 12:16.
piprus is offline   Reply With Quote

Old   April 5, 2010, 13:52
Default
  #10
New Member
 
Join Date: Mar 2010
Posts: 10
Rep Power: 16
holand_us is on a distinguished road
Actually I dont know
i just copied paste the constDict from the
~/tutorials/incompressible/pisoFoam/les/pitzDaily
holand_us 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
continue LES simulation after it stopped holand_us OpenFOAM Running, Solving & CFD 1 March 29, 2010 04:50
Restarting simulation on where it had stopped ulisses OpenFOAM 13 June 10, 2009 08:23
LES simulation of bluff body at Re(d)=1200 arash_nl FLUENT 0 June 1, 2009 14:16
LES simulation of sonic jet Jianping Main CFD Forum 0 January 21, 2005 06:52
3-D Contaminant Dispersal Simulation Apple L S Chan Main CFD Forum 1 December 23, 1998 11:06


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