|
[Sponsors] |
January 10, 2022, 17:21 |
writeInterval not working
|
#1 |
Member
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 5 |
Hi, i modified pitzdaily from pimpleFoam tutorial, to adjust it to my case, which is flow into a box with spherical fruits, when i run pimpleFoam it doesn´t write data every writeInterval no matter what value i use.
case: https://www.dropbox.com/s/a692lrsi23...foam3.zip?dl=0 log.pimplefoam file: https://www.dropbox.com/s/i4aw2g7kls...efoam.txt?dl=0 controldict: Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 9 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application pimpleFoam; startFrom latestTime; startTime 0; stopAt endTime; endTime 0.3; deltaT 0.0001; writeControl adjustableRunTime; writeInterval 0.01;//0.01; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable yes; adjustTimeStep yes; maxCo 1; functions { #includeFunc patchAverage(patch=inlet, fields=(p U)) } // ************************************************************************* // |
|
January 11, 2022, 10:08 |
|
#2 |
Senior Member
Julio Pieri
Join Date: Sep 2017
Posts: 109
Rep Power: 9 |
I don't have OF9 installed so I couldn't run it. But double check if the syntax is the same from where you copied the case.
I'd try running without the functions and see if it lacks some output control that could be superimposing the main control Also, try running with "runTime" instead of adjustableRunTime to see if you can write that way. I didn't find any particular error in the log file. Maybe some permissions issue on your Windows? |
|
January 11, 2022, 12:04 |
|
#3 |
Member
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 5 |
Symtax is fine as far as i know. I will test without the functions later.
clockTime and runTime works, i use linux on a virtual machine, I don't think permission is a problem. |
|
January 11, 2022, 12:40 |
|
#4 |
Senior Member
Julio Pieri
Join Date: Sep 2017
Posts: 109
Rep Power: 9 |
That's weird, then it's something specifically related to the adjustableRunTime. double check your fvSolution file. Also, you could roll your case back to the tutorial and add new stuff step by step to see where it stops working.
|
|
January 11, 2022, 13:01 |
|
#5 |
Member
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 5 |
ok, i will follow your instructions later, then i will post here
|
|
January 13, 2022, 09:12 |
|
#6 |
Member
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 5 |
I rolled back the case back to simpleFoam modified from windaroundbuildings, when i modify controlDict, fvsolution, and fvschemes to pimpleFoam, then i have the current case, which doesn´t write every writeInterval. I tried running without the functions but it has no impact in the results. I see nothing wrong in fvsolution file.
simpleFoam case: https://www.dropbox.com/s/i6topsns6z...efoam.zip?dl=0 pimplefoam case: https://www.dropbox.com/s/plkluswrfj...efoam.zip?dl=0 |
|
January 13, 2022, 13:16 |
|
#7 |
Senior Member
Julio Pieri
Join Date: Sep 2017
Posts: 109
Rep Power: 9 |
Since I use OF.com here, I won't be able to test your case. Hope someone else can help you
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Porous media coefficients and working fluid | Dronzer | FLUENT | 1 | June 30, 2020 23:23 |
writeInterval not working | cmoreno98 | OpenFOAM Running, Solving & CFD | 3 | March 2, 2020 04:55 |
findCell() in parallel: not working if location is outside the domain | TobiWol | OpenFOAM | 0 | January 10, 2018 15:33 |
Processor 0 not working | vishwesh | OpenFOAM Running, Solving & CFD | 0 | November 17, 2017 04:35 |
DPM parallel is not working but serial is working | johnwinter | FLUENT | 1 | March 27, 2012 03:01 |