Development issueshttps://develop.openfoam.com/groups/Development/-/issues2017-07-19T11:59:17Zhttps://develop.openfoam.com/Development/openfoam/-/issues/526enable profiling output for postProcess and -postProcess2017-07-19T11:59:17ZMark OLESENenable profiling output for postProcess and -postProcessLike most utilities, these two don't use the normal run() mechanism - so there is no profiling output possible.
- fix by adding an explicit print, but only report the profiling to the log file from master process. We don't wish to overw...Like most utilities, these two don't use the normal run() mechanism - so there is no profiling output possible.
- fix by adding an explicit print, but only report the profiling to the log file from master process. We don't wish to overwrite any profiling that was conducted during the simulation. Besides which, we don't have a proper Time object for handling the write nicely either.
@Prashant - this is the first solution. Please see if it is adequate.
STYLE: could discuss trimming down the cpu/sys information. It doesn't seem to make much sense to write it every time.v1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/548STYLE: correct the reference noiseDict file to new syntax2017-08-17T13:51:46ZPrashant SonakarSTYLE: correct the reference noiseDict file to new syntaxRefer EP#457
https://develop.openfoam.com/Development/OpenFOAM-plus/blob/OpenFOAM-v1706/applications/utilities/postProcessing/noise/noiseDictRefer EP#457
https://develop.openfoam.com/Development/OpenFOAM-plus/blob/OpenFOAM-v1706/applications/utilities/postProcessing/noise/noiseDictv1712AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/issues/996catalyst fails to run2020-03-13T13:43:50ZMatej Formancatalyst fails to runCompiled Paraview in 1806 on cent-OS with python option (and MESA libs and mpi), tried to run twoSimpleRotors tutorial resulting with the following error message:
```
PIMPLE: iteration 1
DILUPBiCGStab: Solving for p, Initial residual =...Compiled Paraview in 1806 on cent-OS with python option (and MESA libs and mpi), tried to run twoSimpleRotors tutorial resulting with the following error message:
```
PIMPLE: iteration 1
DILUPBiCGStab: Solving for p, Initial residual = 1, Final residual = 6.211356071e-07, No Iterations 62
time step continuity errors : sum local = 2.525217915e-09, global = -1.71731582e-09, cumulative = -1.71731582e-09
DILUPBiCGStab: Solving for p, Initial residual = 0.02885454396, Final residual = 3.14278473e-07, No Iterations 56
time step continuity errors : sum local = 1.196958724e-08, global = 1.973609206e-10, cumulative = -1.519954899e-09
ExecutionTime = 0.38 s ClockTime = 0 s
Connecting ParaView Catalyst...
Adding pipeline[0] "/home/linux/OpenFOAM/linux-v1806/run/UPGRADE1806/catalyst/twoSimpleRotors/system/scripts/pressure.py"
catalyst: send data ( region )
Segmentation fault
```
Tested on another computer with Ubuntu OS was smooth.https://develop.openfoam.com/Development/openfoam/-/issues/115Need leaner methods than currently provided by the string-stream classes2017-12-18T23:17:16ZMark OLESENNeed leaner methods than currently provided by the string-stream classesCurrently no simple means to reuse buffer space with the string-stream classes, nor is there a simple means of just counting how many bytes a streamed representation requires.Currently no simple means to reuse buffer space with the string-stream classes, nor is there a simple means of just counting how many bytes a streamed representation requires.Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/1077Link to wrong source file on the van Driest delta doxygen page2019-01-09T12:56:36ZAdminLink to wrong source file on the van Driest delta doxygen pageHere
[https://www.openfoam.com/documentation/cpp-guide/html/guide-turbulence-les-delta-vandriest.html](https://www.openfoam.com/documentation/cpp-guide/html/guide-turbulence-les-delta-vandriest.html)
under Further information, the link ...Here
[https://www.openfoam.com/documentation/cpp-guide/html/guide-turbulence-les-delta-vandriest.html](https://www.openfoam.com/documentation/cpp-guide/html/guide-turbulence-les-delta-vandriest.html)
under Further information, the link goes to the `cubeRootVolDelta` class, but should instead go to the `vanDriestDelta` class.Kutalmış BerçinKutalmış Berçinhttps://develop.openfoam.com/Development/openfoam/-/issues/110particle sizeof fields not publicly visible2016-06-30T22:09:38ZMark OLESENparticle sizeof fields not publicly visibleMark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/118BUG: failure in streamLine for motorbike case2023-12-07T19:01:57ZPrashant SonakarBUG: failure in streamLine for motorbike caseAs mentioned in
https://develop.openfoam.com/OpenCFD/OpenFOAM-test/merge_requests/19#note_1157
the case /home/alex2/prashant/QA/UNIT_TESTS/OpenFOAM-test.merge-foundation-test1/MD2014/04star_runTimeImages/simpleFoam/motorBike failed...As mentioned in
https://develop.openfoam.com/OpenCFD/OpenFOAM-test/merge_requests/19#note_1157
the case /home/alex2/prashant/QA/UNIT_TESTS/OpenFOAM-test.merge-foundation-test1/MD2014/04star_runTimeImages/simpleFoam/motorBike failed for parallel execution for streamLines
@andy Mattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/issues/741AMR in interDyMFoam with CrankNicolson is buggy2021-07-06T11:49:38ZAdminAMR in interDyMFoam with CrankNicolson is buggyWhen using ddtSchemes "CrankNicolson 0.9" with AMR (dynamicRefineFvMesh), the solution does not make sense. Only the ddtSchemes "Euler" works fine.
A test case can be provided on demand.
Some hints below (these suggestions might not ...When using ddtSchemes "CrankNicolson 0.9" with AMR (dynamicRefineFvMesh), the solution does not make sense. Only the ddtSchemes "Euler" works fine.
A test case can be provided on demand.
Some hints below (these suggestions might not be right !!)
==========================================================
The problem might be linked to applications/solvers/multiphase/VoF/alphaEqn.H where there are these lines :
` 55 // Set the time blending factor, 1 for Euler
56 scalar cnCoeff = 1.0/(1.0 + ocCoeff);
57
[...]
91 tmp<surfaceScalarField> phiCN(phi);
92
93 // Calculate the Crank-Nicolson off-centred volumetric flux
94 if (ocCoeff > 0)
95 {
96 phiCN = cnCoeff*phi + (1.0 - cnCoeff)*phi.oldTime();
97 }
`
where ocCoeff seems to be the CrankNicolson coefficient entered by the user in the fvSchemes (e.g. 0.9).
The line 96 initializes phiCN with a linear combination of phi and phi.oldTime.
But, phi and phi.oldTime might correspond to a different number of mesh faces because of the AMR.
\#\# Reattaching the author to the issue ticket: @Lionel.Gamet \#\#https://develop.openfoam.com/Development/openfoam/-/issues/32BUG: Failure in medium level tests (standard tutorials till completion)2015-12-17T05:41:08ZPrashant SonakarBUG: Failure in medium level tests (standard tutorials till completion)1) /export/muttley2/prashant/BACKUP/tutorials_ofdev-OpenCFD.develop_11Dec/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff
(corresponding test in OF231 succeed:/home/alex2/prashant/OpenFOAM/OpenFOAM-2.3.1/tutorials/compressible/...1) /export/muttley2/prashant/BACKUP/tutorials_ofdev-OpenCFD.develop_11Dec/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff
(corresponding test in OF231 succeed:/home/alex2/prashant/OpenFOAM/OpenFOAM-2.3.1/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/)
2) All foamyHexMesh cases
3) Fix the case incompressible/simpleFoam/airFoil2D, doesn't contain 'boundary' file.
4) Fix the Allrun script mesh/foamyHexMesh/simpleShapes/Allrun (searches inside constant/triSurface twice!) e.g. /export/muttley2/prashant/BACKUP/tutorials_ofdev-OpenCFD.develop_11Dec/mesh/foamyHexMesh/simpleShapes/log.surfaceBooleanFeatures
5) combustion/fireFoam/les/flameSpreadWaterSuppressionPanel
@Mattijs @andy Sergio FerrarisSergio Ferrarishttps://develop.openfoam.com/Development/openfoam/-/issues/848decomposePar -region XXX does not pick up correct decomposeParDict2019-12-09T22:18:11ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comdecomposePar -region XXX does not pick up correct decomposeParDictdecomposePar -region XXX should pick up
```
system/XXX/decomposeParDict
```
however it seems to pick up
```
system/decomposeParDict
```decomposePar -region XXX should pick up
```
system/XXX/decomposeParDict
```
however it seems to pick up
```
system/decomposeParDict
```Mattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/issues/554remove Foam::string::operator() operator2017-10-06T07:53:53ZMark OLESENremove Foam::string::operator() operatorThis is a holdover from foamString and is functionally identical to the substr() method, but is also harder to notice when it is being invoked.
I think that we should finally remove it.
@andy @Mattijs @petebachantThis is a holdover from foamString and is functionally identical to the substr() method, but is also harder to notice when it is being invoked.
I think that we should finally remove it.
@andy @Mattijs @petebachantv1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/985CloudToVTK functionObject broken.2018-10-06T11:25:51ZAdminCloudToVTK functionObject broken.Pstream::gatherList is called in CloudToVTK::writeData, which is called only on the master - thereby failing.
https://develop.openfoam.com/Development/OpenFOAM-plus/blob/975dc1d70217e8aaa4c0a9703da7283a21ec35bb/src/lagrangian/intermedi...Pstream::gatherList is called in CloudToVTK::writeData, which is called only on the master - thereby failing.
https://develop.openfoam.com/Development/OpenFOAM-plus/blob/975dc1d70217e8aaa4c0a9703da7283a21ec35bb/src/lagrangian/intermediate/submodels/CloudFunctionObjects/CloudToVTK/CloudToVTK.C#L117
Please find attached a patch to mend this.[CloudToVTK.patch](/uploads/77080d0594134f5bc3964e95777f9273/CloudToVTK.patch)Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/1235checkIndex always enabled for PackedList and bitSet2019-03-13T13:42:50ZKutalmış BerçincheckIndex always enabled for PackedList and bitSet`checkIndex` function of OpenFOAM containers is usually wrapped by `FULLDEBUG` preprocessor directive for subscripting operator, e.g. [UList](https://develop.openfoam.com/Development/OpenFOAM-plus/blob/master/src/OpenFOAM/containers/List...`checkIndex` function of OpenFOAM containers is usually wrapped by `FULLDEBUG` preprocessor directive for subscripting operator, e.g. [UList](https://develop.openfoam.com/Development/OpenFOAM-plus/blob/master/src/OpenFOAM/containers/Lists/UList/UListI.H#L246) . Yet for `PackedList` and `bitSet` subscripting, `FULLDEBUG` was commented out for testing purposes, and left as is. I wonder if they were forgotten?
[PackedList](https://develop.openfoam.com/Development/OpenFOAM-plus/blob/feature-matrix-cleanup/src/OpenFOAM/containers/Bits/PackedList/PackedListI.H#L715)
[bitSet](https://develop.openfoam.com/Development/OpenFOAM-plus/blob/feature-matrix-cleanup/src/OpenFOAM/containers/Bits/bitSet/bitSetI.H#L638)
```c
// Leave enabled during testing period (MAR-2018)
// #ifdef FULLDEBUG
checkIndex(i);
// #endif
```https://develop.openfoam.com/Development/openfoam/-/issues/634ENH: Message running transient solver with steadyState ddtSchemes2019-12-09T22:11:26ZRoger AlmenarENH: Message running transient solver with steadyState ddtSchemesIf one tries to run a transient solver (pimpleFoam, rhoPimpleFoam) with a system/fvSchemes which contains a "steadyState" under ddtSchemes, the error message is too criptic to understand that the problem comes from the ddtSchemes keyword...If one tries to run a transient solver (pimpleFoam, rhoPimpleFoam) with a system/fvSchemes which contains a "steadyState" under ddtSchemes, the error message is too criptic to understand that the problem comes from the ddtSchemes keyword:
*PIMPLE: iteration 1
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.91075358, No Iterations 200
smoothSolver: Solving for Uy, Initial residual = 0.99948898, Final residual = 0.34301737, No Iterations 200
smoothSolver: Solving for Uz, Initial residual = 0.99948898, Final residual = 0.3430056, No Iterations 200
smoothSolver: Solving for e, Initial residual = 1, Final residual = 0.89821527, No Iterations 200
--> FOAM FATAL ERROR:
Operator + is undefined for oriented and unoriented types
From function Foam::orientedType Foam::operator+(const Foam::orientedType&, const Foam::orientedType&)
in file orientedType/orientedType.C at line 461.
FOAM aborting*
Changing the ddtScheme to Euler or to backward will get rid of the error message. It would help if a more meaningful message was set.https://develop.openfoam.com/Development/openfoam/-/issues/498COMP: 64 bit LABEL SIZE fails with segmentation fault2017-06-29T20:38:03ZPrashant SonakarCOMP: 64 bit LABEL SIZE fails with segmentation faultThe compiled binaries fail with "segmentation fault" error.
@MattijsThe compiled binaries fail with "segmentation fault" error.
@MattijsVersion v1706Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/747Additional time control to functionObjects2021-07-06T11:50:37ZAdminAdditional time control to functionObjectsHi,
I am missing a flavour of time control in the function objects, namely an approximate output interval. For some of the applications that I am running, it is restrictive to use adjustableRunTime, because it affects the execution too ...Hi,
I am missing a flavour of time control in the function objects, namely an approximate output interval. For some of the applications that I am running, it is restrictive to use adjustableRunTime, because it affects the execution too much and the time steps become integer ratios of the output interval, however, the timeStep output provides too much data. Often, I do not care that the output time axis is non-equidistant.
I have added a new flavour which I call "approximateFixedInterval" and it simply outputs the sampling, if the time is greater than or equal to an integer times the output interval (the integer being larger than the one at the previous output time). Could the addition be adopted (perhaps with a nicer name) in the next release? The required modifications to functionObjects/timeControl/timeControl.[C,H] is attached to this report.
Thank you
Niels
P.S. I know that it is not really an issue, but it seemed to be the only way of making a request.
[timeControl.H](/uploads/c49e31d1d8fda3eb9662f68ed05132b3/timeControl.H)
[timeControl.C](/uploads/f28679a18ddd72a438b6b5c6615dfd63/timeControl.C)
\## Reattaching the author to the issue ticket: @ngj ##https://develop.openfoam.com/Development/openfoam/-/issues/182Opposite displacement in linearMotion class ( solidBodyMotionFunction)2016-07-14T02:43:14ZAdminOpposite displacement in linearMotion class ( solidBodyMotionFunction)Since commit, 6a5d5e903e68f288261ae60a410305f8fbd26f96 , ("septernion: Changed definition of the forward transformation for consistency with spatialTransform") , the transformation() function in linearMotion.C:69 calculates the displac...Since commit, 6a5d5e903e68f288261ae60a410305f8fbd26f96 , ("septernion: Changed definition of the forward transformation for consistency with spatialTransform") , the transformation() function in linearMotion.C:69 calculates the displacement vector of the septernion as: (-velocity_*t) and therefore, the displacement direction is inverted.
Mattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/issues/137BUG: incorrect switch output for 'prime2Mean' in fieldAverage function obj2016-06-02T13:02:11ZMark OLESENBUG: incorrect switch output for 'prime2Mean' in fieldAverage function objIncorrect variable referenced in output of "prime2Mean" switch setting.Incorrect variable referenced in output of "prime2Mean" switch setting.https://develop.openfoam.com/Development/openfoam/-/issues/1136fvOption (meanVelocityForce) not parallel consistent2018-12-20T18:10:20ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comfvOption (meanVelocityForce) not parallel consistentThere are artefacts at the processor boundaries in the periodicHill tutorial.There are artefacts at the processor boundaries in the periodicHill tutorial.Mattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/issues/1053subsetMesh does not map topoSets2018-12-24T09:01:15ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comsubsetMesh does not map topoSetsWas inserting the old cell label when mapping.
@markWas inserting the old cell label when mapping.
@markMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.com