|
[Sponsors] |
March 26, 2010, 10:16 |
continue LES simulation after it stopped
|
#1 |
New Member
Join Date: Mar 2010
Posts: 10
Rep Power: 16 |
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 |
|
March 26, 2010, 10:20 |
|
#2 |
New Member
guillaume maurice
Join Date: Mar 2010
Posts: 4
Rep Power: 16 |
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 |
|
March 26, 2010, 22:52 |
|
#3 |
Senior Member
Pavan
Join Date: May 2009
Location: Melbourne
Posts: 101
Rep Power: 17 |
chenge the startTime entry in controlDict to latestTime
|
|
March 27, 2010, 13:02 |
|
#4 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
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; |
|
March 27, 2010, 13:30 |
|
#5 |
New Member
Join Date: Mar 2010
Posts: 10
Rep Power: 16 |
thanks allot ill try it on Monday and come to you guys
|
|
March 30, 2010, 11:19 |
|
#6 |
New Member
Join Date: Mar 2010
Posts: 10
Rep Power: 16 |
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; } ); } } // ************************************************************************* // |
|
March 30, 2010, 11:23 |
|
#7 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
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. |
|
April 5, 2010, 11:14 |
|
#8 |
New Member
Join Date: Mar 2010
Posts: 10
Rep Power: 16 |
mmm
I really didnt understand But I still have the same problem |
|
April 5, 2010, 11:35 |
|
#9 |
Member
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17 |
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; Code:
fieldAverage1 { ... outputControl outputTime; ----- I found something interesting >>here<< Last edited by piprus; April 5, 2010 at 12:16. |
|
April 5, 2010, 13:52 |
|
#10 |
New Member
Join Date: Mar 2010
Posts: 10
Rep Power: 16 |
Actually I dont know
i just copied paste the constDict from the ~/tutorials/incompressible/pisoFoam/les/pitzDaily |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |