|
[Sponsors] |
OpenFOAM simulation keeps restarting at a certain time step |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 16, 2023, 18:30 |
OpenFOAM simulation keeps restarting at a certain time step
|
#1 |
New Member
Abdullah Saifee
Join Date: Feb 2021
Posts: 13
Rep Power: 5 |
I am running a pimpleFoam simulation. But at a certain time step when it reaches a a convergence, it restarts from time 0 again, and not progressing.
I am attaching the controlDict and 0.p here. But do let me know if you need anything else to better understand what's going on. /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // //application icoFoam; application pimpleFoam; //startFrom latestTime; startFrom startTime; startTime 0; //stopAt nextWrite; stopAt endTime; endTime 15; deltaT 1e-4; //writeControl timeStep; writeControl adjustableRunTime; //writeInterval 100; writeInterval 0.01; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; //PIMPLE adjustTimeStep yes; maxCo 2; maxDeltaT 0.01; // ************************************************** *********************** // functions { } /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { n1 { type totalPressure; p0 uniform 0; } n2 { type totalPressure; p0 uniform 0; } naso { type uniformTotalPressure; p0 { type sine; frequency 1/3; amplitude 50; scale -1; level 0; } } walls { type zeroGradient; } defaultFaces { type empty; } } // ************************************************** *********************** // p.s. I am using OpenFOAM 10. |
|
December 16, 2023, 19:27 |
|
#2 |
New Member
Abdullah Saifee
Join Date: Feb 2021
Posts: 13
Rep Power: 5 |
I just found out that if I do a scaling of the geometry by transformPoints "scale=(...)", then this is happening. Is it wrong to do scaling this way?
|
|
Tags |
controldict, openfoam 10, pimplefoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? | EternalSeekerX | SU2 | 3 | October 9, 2020 19:28 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |