View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000997 | OpenFOAM | Bug | public | 2013-09-06 14:21 | 2015-01-01 14:30 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | linux | OS | x86_64 | OS Version | (please specify) |
Summary | 0000997: code freeze with #calc in controlDict | ||||
Description | The code freeze without any error message (the solver processes are still running at 100% but no output or writing) when using the line purgeWrite #calc "$nDumps * $nn"; when it runs well on 2.2.1 . | ||||
Steps To Reproduce | Run Crash Enjoy | ||||
Tags | No tags attached. | ||||
2013-09-06 14:21
|
controlDict (1,962 bytes)
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // #include "$FOAM_CASE/include/initialConditions" application pimpleFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 2.376; deltaT 5e-05; writeControl adjustableRunTime; secondaryWriteControl timeStep; secondaryWriteInterval 1; writeInterval #codeStream { code #{ scalar start = readScalar(dict.lookup("startTime")); scalar end = readScalar(dict.lookup("endTime")); scalar period = $period; label nDumps = $nDumps; os << (period/nDumps); #}; }; purgeWrite #calc "$nDumps * $nn"; writeFormat ascii; writePrecision 8; writeCompression uncompressed; timeFormat general; timePrecision 6; runTimeModifiable true; adjustTimeStep yes; maxCo $maxCFL; libs ( "libOpenFOAM.so" // "libgroovyBC.so" // "libgroovyStandardBCs.so" // "libsimpleSwakFunctionObjects.so" // "libsimpleFunctionObjects.so" // "libswakTransportTurbFunctionPlugin.so" "libsampling.so" "libutilityFunctionObjects.so" ) ; // ************************************************************************* // |
|
In appears only in parallel : /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.2.x-a0bffa788a15 Exec : icoFoam -parallel Date : Sep 06 2013 Time : 09:33:08 Host : "briaree1" PID : 19085 Case : /tmp/***/OpenFOAM/OpenFOAM-2.2.x/tutorials/incompressible/icoFoam/cavity nProcs : 2 Slaves : 1("briaree1.19086") Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking polling iterations : 0 sigFpe : Floating point exception trapping - not supported on this platform fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Using #calcEntry at line 28 in file "/tmp/***/OpenFOAM/OpenFOAM-2.2.x/tutorials/incompressible/icoFoam/cavity/processor0/../system/controlDict" Using #codeStream with "/tmp/****/OpenFOAM/OpenFOAM-2.2.x/tutorials/incompressible/icoFoam/cavity/dynamicCode/platforms/linux64IccDPOpt/lib/libcodeStream_9e58126b72c47977ae2fa25a8773dd114a74ba0b.so" |
|
- are you running with distributed data? - does it work if you set fileModificationSkew (in etc/controlDict, in the OptimisationSwitches) to 0 - does it work with fileModificationChecking timeStamp instead of timeStampMaster? |
|
Hi! I'm not sure whether I'm working with distributed data or not (waiting for reply from admin). Changing fileModificationSkew value to 0 changed nothing but timeStamp to timeStampMaster made the code run. I still have to check the results but it looks good. Thank you for your help ! --- edit : data are distributed |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-09-06 14:21 |
|
New Issue | |
2013-09-06 14:21 |
|
File Added: controlDict | |
2013-09-06 14:35 |
|
Note Added: 0002470 | |
2013-09-06 14:39 |
|
Note Added: 0002471 | |
2013-09-06 16:44 |
|
Note Added: 0002472 | |
2013-09-06 18:47 |
|
Note Edited: 0002472 | |
2015-01-01 14:30 | henry | Status | new => closed |
2015-01-01 14:30 | henry | Assigned To | => henry |
2015-01-01 14:30 | henry | Resolution | open => no change required |