|
[Sponsors] |
Postprocess: sampleDict works but creates no output folder |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 12, 2021, 12:56 |
Postprocess: sampleDict works but creates no output folder
|
#1 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 7 |
Hi everyone,
for postProcessing, I would like to sample the pressure along a line. I have created the following sampleDict in the system folder: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: plus | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // type sets; libs ("libsampling.so"); interpolationScheme cell; setFormat raw; data ( line { type uniform; axis z; start (0 0.02 0.000); end (0 0.02 0.015); nPoints 1000; } ); fields (p); // ************************************************************************* // To run the code, I use postProcess -func sampleDict. It runs without errors, but no output folder is created. I have read similar issues, but they could be solved by adding libs ("libsampling.so");. So in my case, that is not the issue. Any ideas? I am using openFoam 5 btw. |
|
November 12, 2021, 15:25 |
|
#2 |
Member
Join Date: Aug 2017
Location: Algeria
Posts: 98
Rep Power: 9 |
What is the name of the file? is it sampleDict or something else?
__________________
"When in doubt, use brute force." -- Ken Thompson |
|
November 12, 2021, 15:49 |
|
#3 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 7 |
The name is sampleDict, yes.
|
|
November 12, 2021, 16:29 |
|
#4 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 7 |
The name is sampleDict, yes.
|
|
November 12, 2021, 16:30 |
|
#5 |
Member
Join Date: Aug 2017
Location: Algeria
Posts: 98
Rep Power: 9 |
Could you post the log file when you run the function object?
Code:
postProcess -func sampleDict | tee log
__________________
"When in doubt, use brute force." -- Ken Thompson |
|
November 12, 2021, 19:53 |
|
#6 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 7 |
Yes of course. Unfortunately, I will only be able to do that on sunday.
But there wasnt a single error. It run for every time step, without errors. Really weird. |
|
November 15, 2021, 05:02 |
|
#7 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 7 |
Hi again and sry for the delay, I couldnt make it yesterday.
Here is the log: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 5.x-68e8507efb72 Exec : postProcess -func sampleDicht Date : Nov 15 2021 Time : 09:59:08 Host : "sao" PID : 3890 I/O : uncollated Case : /home/user/50mym nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1236 dlopen error : libmyBoundaryConditions.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 105 could not load "libmyBoundaryConditions.so" Create mesh for time = 0 --> FOAM Warning : From function static bool Foam::functionObjectList::readFunctionObject(const Foam::string&, Foam::dictionary&, Foam::HashSet<>&, const Foam::word&) in file db/functionObjects/functionObjectList/functionObjectList.C at line 246 Cannot find functionObject file sampleDicht Time = 0 Reading fields: Executing functionObjects Time = 0.001040000000000000126 Reading fields: Executing functionObjects Time = 0.001060000000000000178 Reading fields: Executing functionObjects Time = 0.001080000000000000231 Reading fields: Executing functionObjects Time = 0.001100000000000000066 Reading fields: Executing functionObjects Time = 0.001120000000000000119 Reading fields: Executing functionObjects Time = 0.001140000000000000171 Reading fields: Executing functionObjects Time = 0.001160000000000000224 Reading fields: Executing functionObjects Time = 0.001180000000000000059 Reading fields: Executing functionObjects Time = 0.001200000000000000112 Reading fields: Executing functionObjects Time = 0.001220000000000000164 Reading fields: Executing functionObjects Time = 0.001240000000000000217 Reading fields: Executing functionObjects Time = 0.001260000000000000052 Reading fields: Executing functionObjects Time = 0.001280000000000000105 Reading fields: Executing functionObjects Time = 0.001300000000000000157 Reading fields: Executing functionObjects Time = 0.00132000000000000021 Reading fields: Executing functionObjects Time = 0.001340000000000000045 Reading fields: Executing functionObjects Time = 0.001360000000000000098 Reading fields: Executing functionObjects Time = 0.00138000000000000015 Reading fields: Executing functionObjects Time = 0.001399999999999999986 Reading fields: Executing functionObjects Time = 0.001420000000000000038 Reading fields: Executing functionObjects Time = 0.001440000000000000091 Reading fields: Executing functionObjects Time = 0.001460000000000000143 Reading fields: Executing functionObjects Time = 0.001479999999999999979 Reading fields: Executing functionObjects Time = 0.001500000000000000031 Reading fields: Executing functionObjects Time = 0.001520000000000000084 Reading fields: Executing functionObjects Time = 0.001540000000000000136 Reading fields: Executing functionObjects Time = 0.001560000000000000189 Reading fields: Executing functionObjects Time = 0.001580000000000000024 Reading fields: Executing functionObjects Time = 0.001600000000000000077 Reading fields: Executing functionObjects Time = 0.001620000000000000129 Reading fields: Executing functionObjects Time = 0.001640000000000000182 Reading fields: Executing functionObjects Time = 0.001660000000000000017 Reading fields: Executing functionObjects Time = 0.00168000000000000007 Reading fields: Executing functionObjects Time = 0.001700000000000000122 Reading fields: Executing functionObjects Time = 0.001720000000000000175 Reading fields: Executing functionObjects Time = 0.001740000000000000227 Reading fields: Executing functionObjects Time = 0.001760000000000000063 Reading fields: Executing functionObjects Time = 0.001780000000000000115 Reading fields: Executing functionObjects Time = 0.001800000000000000168 Reading fields: Executing functionObjects Time = 0.00182000000000000022 Reading fields: Executing functionObjects Time = 0.001840000000000000056 Reading fields: Executing functionObjects Time = 0.001860000000000000108 Reading fields: Executing functionObjects Time = 0.001880000000000000161 Reading fields: Executing functionObjects Time = 0.001900000000000000213 Reading fields: Executing functionObjects Time = 0.001920000000000000265 Reading fields: Executing functionObjects Time = 0.001940000000000000101 Reading fields: Executing functionObjects Time = 0.00196000000000000037 Reading fields: Executing functionObjects Time = 0.001979999999999999989 Reading fields: Executing functionObjects Time = 0.002000000000000000042 Reading fields: Executing functionObjects Time = 0.002020000000000000094 Reading fields: Executing functionObjects Time = 0.002040000000000000147 Reading fields: Executing functionObjects Time = 0.002060000000000000199 Reading fields: Executing functionObjects Time = 0.002080000000000000251 Reading fields: Executing functionObjects Time = 0.002100000000000000304 Reading fields: Executing functionObjects Time = 0.002119999999999999923 Reading fields: Executing functionObjects Time = 0.002139999999999999975 Reading fields: Executing functionObjects Time = 0.002160000000000000028 Reading fields: Executing functionObjects Time = 0.00218000000000000008 Reading fields: Executing functionObjects Time = 0.002200000000000000133 Reading fields: Executing functionObjects Time = 0.002220000000000000185 Reading fields: Executing functionObjects Time = 0.002240000000000000237 Reading fields: Executing functionObjects Time = 0.00226000000000000029 Reading fields: Executing functionObjects Time = 0.002280000000000000342 Reading fields: Executing functionObjects Time = 0.002299999999999999961 Reading fields: Executing functionObjects Time = 0.002320000000000000014 Reading fields: Executing functionObjects Time = 0.002340000000000000066 Reading fields: Executing functionObjects Time = 0.002360000000000000119 Reading fields: Executing functionObjects Time = 0.002380000000000000171 Reading fields: Executing functionObjects Time = 0.002400000000000000223 Reading fields: Executing functionObjects Time = 0.002420000000000000276 Reading fields: Executing functionObjects Time = 0.002440000000000000328 Reading fields: Executing functionObjects Time = 0.002460000000000000381 Reading fields: Executing functionObjects Time = 0.002480000000000000433 Reading fields: Executing functionObjects Time = 0.002500000000000000052 Reading fields: Executing functionObjects Time = 0.002520000000000000104 Reading fields: Executing functionObjects Time = 0.002540000000000000157 Reading fields: Executing functionObjects Time = 0.002560000000000000209 Reading fields: Executing functionObjects Time = 0.002580000000000000262 Reading fields: Executing functionObjects Time = 0.002600000000000000314 Reading fields: Executing functionObjects Time = 0.002620000000000000367 Reading fields: Executing functionObjects Time = 0.002640000000000000419 Reading fields: Executing functionObjects Time = 0.002660000000000000472 Reading fields: Executing functionObjects Time = 0.002680000000000000524 Reading fields: Executing functionObjects Time = 0.002700000000000000143 Reading fields: Executing functionObjects Time = 0.002720000000000000195 Reading fields: Executing functionObjects Time = 0.002740000000000000248 Reading fields: Executing functionObjects Time = 0.0027600000000000003 Reading fields: Executing functionObjects Time = 0.002780000000000000353 Reading fields: Executing functionObjects Time = 0.002800000000000000405 Reading fields: Executing functionObjects Time = 0.002820000000000000458 Reading fields: Executing functionObjects Time = 0.00284000000000000051 Reading fields: Executing functionObjects Time = 0.002860000000000000563 Reading fields: Executing functionObjects Time = 0.002880000000000000615 Reading fields: Executing functionObjects Time = 0.002900000000000000234 Reading fields: Executing functionObjects Time = 0.002920000000000000286 Reading fields: Executing functionObjects Time = 0.002940000000000000339 Reading fields: Executing functionObjects Time = 0.002960000000000000391 Reading fields: Executing functionObjects Time = 0.002980000000000000444 Reading fields: Executing functionObjects Time = 0.003000000000000000496 Reading fields: Executing functionObjects Time = 0.003020000000000000549 Reading fields: Executing functionObjects Time = 0.003040000000000000601 Reading fields: Executing functionObjects Time = 0.003060000000000000654 Reading fields: Executing functionObjects Time = 0.003080000000000000706 Reading fields: Executing functionObjects Time = 0.003100000000000000325 Reading fields: Executing functionObjects Time = 0.003120000000000000377 Reading fields: Executing functionObjects Time = 0.00314000000000000043 Reading fields: Executing functionObjects Time = 0.003160000000000000482 Reading fields: Executing functionObjects Time = 0.003180000000000000535 Reading fields: Executing functionObjects Time = 0.003200000000000000587 Reading fields: Executing functionObjects Time = 0.003220000000000000639 Reading fields: Executing functionObjects Time = 0.003240000000000000692 Reading fields: Executing functionObjects Time = 0.003260000000000000744 Reading fields: Executing functionObjects Time = 0.003280000000000000797 Reading fields: Executing functionObjects Time = 0.003300000000000000416 Reading fields: Executing functionObjects Time = 0.003320000000000000468 Reading fields: Executing functionObjects Time = 0.003340000000000000521 Reading fields: Executing functionObjects Time = 0.003360000000000000573 Reading fields: Executing functionObjects Time = 0.003380000000000000625 Reading fields: Executing functionObjects Time = 0.003400000000000000678 Reading fields: Executing functionObjects Time = 0.00342000000000000073 Reading fields: Executing functionObjects Time = 0.003440000000000000783 Reading fields: Executing functionObjects Time = 0.003460000000000000835 Reading fields: Executing functionObjects Time = 0.003480000000000000888 Reading fields: Executing functionObjects Time = 0.00350000000000000094 Reading fields: Executing functionObjects Time = 0.003520000000000000993 Reading fields: Executing functionObjects Time = 0.003540000000000001045 Reading fields: Executing functionObjects End Ignore the warning, they are because of a self compiled boundary condition which is not compiled on this particular computer. On the other one its the same, just without the warning. |
|
November 15, 2021, 05:50 |
|
#8 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,220
Rep Power: 28 |
Hi,
What about this warning? Code:
--> FOAM Warning : From function static bool Foam::functionObjectList::readFunctionObject(const Foam::string&, Foam::dictionary&, Foam::HashSet<>&, const Foam::word&) in file db/functionObjects/functionObjectList/functionObjectList.C at line 246 Cannot find functionObject file sampleDicht Looks like there is a typo in your controlDict. Yann |
|
November 15, 2021, 06:13 |
|
#9 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 7 |
Hi Yann,
you are absolutely right, my bad. Here is the right one: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 5.x-68e8507efb72 Exec : postProcess -func sampleDict Date : Nov 15 2021 Time : 11:04:40 PID : 6895 I/O : uncollated Case : /home/user/50mym nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1236 dlopen error : libmyBoundaryConditions.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 105 could not load "libmyBoundaryConditions.so" Create mesh for time = 0 Time = 0 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001040000000000000126 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001060000000000000178 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001080000000000000231 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001100000000000000066 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001120000000000000119 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001140000000000000171 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001160000000000000224 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001180000000000000059 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001200000000000000112 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001220000000000000164 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001240000000000000217 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001260000000000000052 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001280000000000000105 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001300000000000000157 Reading fields: volScalarFields: p Executing functionObjects Time = 0.00132000000000000021 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001340000000000000045 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001360000000000000098 Reading fields: volScalarFields: p Executing functionObjects Time = 0.00138000000000000015 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001399999999999999986 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001420000000000000038 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001440000000000000091 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001460000000000000143 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001479999999999999979 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001500000000000000031 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001520000000000000084 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001540000000000000136 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001560000000000000189 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001580000000000000024 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001600000000000000077 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001620000000000000129 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001640000000000000182 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001660000000000000017 Reading fields: volScalarFields: p Executing functionObjects Time = 0.00168000000000000007 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001700000000000000122 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001720000000000000175 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001740000000000000227 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001760000000000000063 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001780000000000000115 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001800000000000000168 Reading fields: volScalarFields: p Executing functionObjects Time = 0.00182000000000000022 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001840000000000000056 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001860000000000000108 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001880000000000000161 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001900000000000000213 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001920000000000000265 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001940000000000000101 Reading fields: volScalarFields: p Executing functionObjects Time = 0.00196000000000000037 Reading fields: volScalarFields: p Executing functionObjects Time = 0.001979999999999999989 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002000000000000000042 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002020000000000000094 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002040000000000000147 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002060000000000000199 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002080000000000000251 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002100000000000000304 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002119999999999999923 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002139999999999999975 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002160000000000000028 Reading fields: volScalarFields: p Executing functionObjects Time = 0.00218000000000000008 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002200000000000000133 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002220000000000000185 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002240000000000000237 Reading fields: volScalarFields: p Executing functionObjects Time = 0.00226000000000000029 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002280000000000000342 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002299999999999999961 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002320000000000000014 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002340000000000000066 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002360000000000000119 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002380000000000000171 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002400000000000000223 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002420000000000000276 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002440000000000000328 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002460000000000000381 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002480000000000000433 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002500000000000000052 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002520000000000000104 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002540000000000000157 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002560000000000000209 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002580000000000000262 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002600000000000000314 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002620000000000000367 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002640000000000000419 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002660000000000000472 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002680000000000000524 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002700000000000000143 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002720000000000000195 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002740000000000000248 Reading fields: volScalarFields: p Executing functionObjects Time = 0.0027600000000000003 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002780000000000000353 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002800000000000000405 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002820000000000000458 Reading fields: volScalarFields: p Executing functionObjects Time = 0.00284000000000000051 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002860000000000000563 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002880000000000000615 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002900000000000000234 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002920000000000000286 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002940000000000000339 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002960000000000000391 Reading fields: volScalarFields: p Executing functionObjects Time = 0.002980000000000000444 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003000000000000000496 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003020000000000000549 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003040000000000000601 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003060000000000000654 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003080000000000000706 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003100000000000000325 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003120000000000000377 Reading fields: volScalarFields: p Executing functionObjects Time = 0.00314000000000000043 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003160000000000000482 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003180000000000000535 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003200000000000000587 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003220000000000000639 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003240000000000000692 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003260000000000000744 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003280000000000000797 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003300000000000000416 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003320000000000000468 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003340000000000000521 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003360000000000000573 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003380000000000000625 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003400000000000000678 Reading fields: volScalarFields: p Executing functionObjects Time = 0.00342000000000000073 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003440000000000000783 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003460000000000000835 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003480000000000000888 Reading fields: volScalarFields: p Executing functionObjects Time = 0.00350000000000000094 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003520000000000000993 Reading fields: volScalarFields: p Executing functionObjects Time = 0.003540000000000001045 Reading fields: volScalarFields: p Executing functionObjects End |
|
November 15, 2021, 06:22 |
|
#10 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,220
Rep Power: 28 |
Doesn't it solve your problem?
This part of your log file is different in the last log file compared to the previous one: Code:
Reading fields: volScalarFields: p |
|
November 15, 2021, 06:25 |
|
#11 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 7 |
That's what is weird about it. It does something, but I get no postProcessing folder with the data.
|
|
November 15, 2021, 06:28 |
|
#12 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,220
Rep Power: 28 |
Can you try running it this way?
Code:
yourSolver -postProcess -func sampleDict (or the parallel equivalent, if you are running your case in parallel) |
|
November 15, 2021, 06:33 |
|
#13 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 7 |
I also tried this one and it did not work either.
But by lucky conincidence, I just found the problem. Including: Code:
FoamFile { version 2.0; format ascii; class dictionary; location system; object sampleDict; } at the beginning solves the problem and an output file with the data is created. |
|
November 15, 2021, 06:37 |
|
#14 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,220
Rep Power: 28 |
I didn't notice you didn't have a full header in your sampleDict but I would never have suspected if would behave this way. I would rather have thought you would just get an error.
Glad you could solve your problem, this is good to know! Yann |
|
November 15, 2021, 09:27 |
|
#15 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 7 |
Yeah same here.
Next time I will just copy and paste it from a tutorial like I usually do, then this mistake wouldnt even had happened haha. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How postProcess R works? | Kosdalak | OpenFOAM Post-Processing | 4 | April 22, 2021 13:52 |
foamListTimes: How to select latestTime or 0/ folder | petros | OpenFOAM Running, Solving & CFD | 1 | January 28, 2021 08:11 |
Sample Set - Creates folder for each timestep | Bordal | OpenFOAM Post-Processing | 0 | April 22, 2020 08:41 |
How to control output time of pressureTools functions? | Fluido | OpenFOAM Post-Processing | 1 | May 19, 2014 09:49 |
lift and drag on ship superstructures | vaina74 | OpenFOAM Running, Solving & CFD | 3 | June 8, 2010 13:30 |