Development issueshttps://develop.openfoam.com/groups/Development/-/issues2019-02-04T18:02:39Zhttps://develop.openfoam.com/Development/openfoam/-/issues/1191flattenMesh has to have flattish starting mesh2019-02-04T18:02:39ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comflattenMesh has to have flattish starting meshIt would be nice to be able to supply the plane normal instead of having twoDPointCorrector try to find it. This quite often fails due to the tight tolerance. Also maybe use the patch information?It would be nice to be able to supply the plane normal instead of having twoDPointCorrector try to find it. This quite often fails due to the tight tolerance. Also maybe use the patch information?https://develop.openfoam.com/Development/openfoam/-/issues/785verbatim string (inbetween #{ .. #} , for e.g. code sections) is limited to 8...2023-12-07T19:03:27ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comverbatim string (inbetween #{ .. #} , for e.g. code sections) is limited to 8000 chars.Larger code sections might not fit inside a single verbatim string. Since it is a static char array there is no real limit on its size.
- workaround: move sections of code into included file
- solution: increase size (but this permanentl...Larger code sections might not fit inside a single verbatim string. Since it is a static char array there is no real limit on its size.
- workaround: move sections of code into included file
- solution: increase size (but this permanently increases memory usage)
- or : assign to stringMark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/277sed: -e expression #1, char 72: unknown option to `s' ( And some funky PATH e...2016-10-29T08:39:43ZAdminsed: -e expression #1, char 72: unknown option to `s' ( And some funky PATH errors )```
[ steven.walton ] [~] > lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
```
I am also on a domain controlled computer.
When sourcing `/opt/openfoa...```
[ steven.walton ] [~] > lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
```
I am also on a domain controlled computer.
When sourcing `/opt/openfoam4/etc/bashrc` and opening a new bash terminal I get the following error
```
sed: -e expression #1, char 72: unknown option to `s'
sed: -e expression #1, char 111: unknown option to `s'
sed: -e expression #1, char 111: unknown option to `s'
/opt/openfoam4/bin/foamCleanPath: 110: /opt/openfoam4/bin/foamCleanPath: sed: not found
/opt/openfoam4/bin/foamCleanPath: 110: /opt/openfoam4/bin/foamCleanPath: sed: not found
/opt/openfoam4/bin/foamCleanPath: 110: /opt/openfoam4/bin/foamCleanPath: sed: not found
/opt/openfoam4/bin/foamCleanPath: 110: /opt/openfoam4/bin/foamCleanPath: sed: not found
/opt/openfoam4/bin/foamCleanPath: 110: /opt/openfoam4/bin/foamCleanPath: sed: not found
/opt/openfoam4/bin/foamCleanPath: 110: /opt/openfoam4/bin/foamCleanPath: sed: not found
/opt/openfoam4/bin/foamCleanPath: 110: /opt/openfoam4/bin/foamCleanPath: sed: not found
bash: uname: No such file or directory
Your "" operating system is not supported by this release
of OpenFOAM. For further assistance, please contact www.OpenFOAM.org
Command 'sed' is available in '/bin/sed'
Command 'mpicc' is available in '/usr/bin/mpicc'
The command could not be located because '/usr/bin' is not included in the PATH environment variable.
The command could not be located because '/bin' is not included in the PATH environment variable.
mpicc: command not found
sed: command not found
/opt/openfoam4/bin/foamCleanPath: 110: /opt/openfoam4/bin/foamCleanPath: sed: not found
/opt/openfoam4/bin/foamCleanPath: 110: /opt/openfoam4/bin/foamCleanPath: sed: not found
/opt/openfoam4/bin/foamCleanPath: 110: /opt/openfoam4/bin/foamCleanPath: sed: not found
bash: sed: No such file or directory
/opt/openfoam4/bin/foamCleanPath: 129: /opt/openfoam4/bin/foamCleanPath: sed: not found
```
The worse part of this is that `PATH` gets completely overwritten!
I can fix some of this by getting rid of line 154 in `/opt/openfoam4/etc/bashrc`. That reduces to the following error
```
sed: -e expression #1, char 72: unknown option to `s'
sed: -e expression #1, char 111: unknown option to `s'
sed: -e expression #1, char 111: unknown option to `s'
```
If I am running in zsh (yes, I know it says bashrc) I get
```
sed: -e expression #1, char 72: unknown option to `s'
/opt/openfoam4/etc/config.sh/aliases:73: bad option: -t
```
If I enter bash and type `wmRefresh` it overwrites `PATH` and I now have no access to simple commands like `ls`. ( Removing the `-t` in that line reduces the last error in zsh but adds the line `bash: type: wmRefresh: not found` into the list of errors for bash.) Which is strange because the comment above line 73 in `/opt/openfoam4/etc/config.sh/aliases` says `For backward-compatibility unalias wmRefresh if it is defined as an alias`.
Working through this one I see that `which wmRefresh` and `alias wmRefresh` return nothing. So getting the same behaviour in both shells ( and a lack of care for backwards compatibility at this point ) I found that I could just remove lines 74-80 in `/opt/openfoam4/etc/config.sh/aliases`. Note that if I just removed line 73 bash would have `PATH` overwritten again ( **why ever modify `PATH` when we have other environment variables?** ).
So at this point I am only left with the sed errors ( 1 in zsh and 3 in bash ). I cannot tell that I am getting any errors* in using OpenFoam, but as you might imagine it is quite annoying seeing multiple errors every time I open a new shell. I have been attempting to resolve these issues by looking at where `sed` has been used, but I'm not seeing a problem. It doesn't appear to be a `sed` command within `/opt/openfoam4/etc`, and grepping a directory back results is quite a log of commands.
So I am wondering if anyone else has had this error and solved it.
*To check validity through modifications I am just run the cavity icoFoam case, checking for the known solution.https://develop.openfoam.com/Development/openfoam/-/issues/865rndGen.position<label>(0, XXX) is not evenly distributed2019-12-09T22:18:11ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comrndGen.position<label>(0, XXX) is not evenly distributedWhen using the
```
rndGen.position<label>(0, nDomains - 1);
```
to determine random decomposition it seems the entries 0 and nDomains-1 have only half the number of entries.
Replicate: run randomDecomp on a scaled up cavity (e.g. 1000x...When using the
```
rndGen.position<label>(0, nDomains - 1);
```
to determine random decomposition it seems the entries 0 and nDomains-1 have only half the number of entries.
Replicate: run randomDecomp on a scaled up cavity (e.g. 1000x1000).Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/1158FOAM_API to replace WM_PROJECT_API2019-12-09T22:37:27ZMark OLESENFOAM_API to replace WM_PROJECT_APIand export from argList.C based on the current value of `foamVersion::api()` for proper consistency.
@Mattijsand export from argList.C based on the current value of `foamVersion::api()` for proper consistency.
@MattijsMark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/677Medium loop- failures - 21.12.20172018-06-12T04:01:04ZPrashant SonakarMedium loop- failures - 21.12.2017Cases in :
/home/alex2/prashant/OpenFOAM/OpenFOAM-plus.develop/tutorials/
- compressible/sonicFoam/RAS/nacaAirfoil - solver failed
- multiphase/reactingTwoPhaseEulerFoam/laminar/steamInjection - solver failed
- multiphase/compressibleInt...Cases in :
/home/alex2/prashant/OpenFOAM/OpenFOAM-plus.develop/tutorials/
- compressible/sonicFoam/RAS/nacaAirfoil - solver failed
- multiphase/reactingTwoPhaseEulerFoam/laminar/steamInjection - solver failed
- multiphase/compressibleInterDyMFoam/laminar/sphereDrop -solver failed
- multiphase/interFoam/laminar/vofToLagrangian/eulerianInjection -solver failed
@andy @Mattijs @Sergio @markhttps://develop.openfoam.com/Development/openfoam/-/issues/566setSet dumps wrong vtk files of sets2020-01-22T21:31:06ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comsetSet dumps wrong vtk files of setssetSet writes vtk files of sets with 0 elements, even when set has non-zero elements.setSet writes vtk files of sets with 0 elements, even when set has non-zero elements.Mattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/issues/63BUG: Missing integration to $FOAM_SRC/fvOptions/corrections2016-05-10T13:33:19ZPrashant SonakarBUG: Missing integration to $FOAM_SRC/fvOptions/correctionsFrom @Koushik
The "corrections" folder from $FOAM_SRC/fvOptions seem to be missing in Make/files
@Mattijs @Sergio From @Koushik
The "corrections" folder from $FOAM_SRC/fvOptions seem to be missing in Make/files
@Mattijs @Sergio AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/issues/97BUG: runTimePostProcessing doesn't colour iso surfaces2023-12-07T19:01:57ZPrashant SonakarBUG: runTimePostProcessing doesn't colour iso surfacesIf colourBy=field, the output works. However when colourBy=colour it fails to show geometry.
Attached file should work with motorBike case using execFlowFunctionObjects
[postProcessingDict_iso_usingFunctionObject](/uploads/e3952a75...If colourBy=field, the output works. However when colourBy=colour it fails to show geometry.
Attached file should work with motorBike case using execFlowFunctionObjects
[postProcessingDict_iso_usingFunctionObject](/uploads/e3952a759026ca447253ecefb45888a4/postProcessingDict_iso_usingFunctionObject)
@Mattijs AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/issues/303BUG: argument postProcess is not available2016-12-21T06:57:56ZPrashant SonakarBUG: argument postProcess is not availableRecheck availability of this argument with all solvers
![icoFoam-postProcess](/uploads/8404b6aae19ac18dcf1c89dc6eb22b8c/icoFoam-postProcess.png)Recheck availability of this argument with all solvers
![icoFoam-postProcess](/uploads/8404b6aae19ac18dcf1c89dc6eb22b8c/icoFoam-postProcess.png)AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/issues/723Function1 missing Integrate function definition2021-07-06T11:44:45ZMatej FormanFunction1 missing Integrate function definitionOnly few functions from **Function1** has function **Integrate** implemented
(*table, CSV table, Polynomial and Zero/One*).
Those without the Integrate function definition cannot be used to specify the **motion function** for DyM.
Woul...Only few functions from **Function1** has function **Integrate** implemented
(*table, CSV table, Polynomial and Zero/One*).
Those without the Integrate function definition cannot be used to specify the **motion function** for DyM.
Would make sense to add the definition to others as well.https://develop.openfoam.com/Development/openfoam/-/issues/364lnInclude directory sometimes empty2018-05-29T05:39:49ZMark OLESENlnInclude directory sometimes emptyUncertain to the origins, but could be related to interrupted builds.
As discussed (@andy) probably reasonable to use '-u' whenever there is an explicit use of wmakeLnInclude.Uncertain to the origins, but could be related to interrupted builds.
As discussed (@andy) probably reasonable to use '-u' whenever there is an explicit use of wmakeLnInclude.Version v1612Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/1091runTimePostProcessing: use existing cutting planes2020-01-06T06:14:22ZPrashant SonakarrunTimePostProcessing: use existing cutting planesCross ref : EP#868
@andy @markCross ref : EP#868
@andy @markhttps://develop.openfoam.com/Development/openfoam/-/issues/899Allrun-*2021-07-06T13:04:11ZPrashant SonakarAllrun-*We have following with Allrun-*
- ./incompressible/icoFoam/cavityMappingTest/Allrun-parallel
- ./incompressible/pimpleFoam/RAS/oscillatingInletACMI2D/Allrun-parallel
- ./multiphase/interIsoFoam/damBreak/Allrun-parallel
- ./lagrangian/coa...We have following with Allrun-*
- ./incompressible/icoFoam/cavityMappingTest/Allrun-parallel
- ./incompressible/pimpleFoam/RAS/oscillatingInletACMI2D/Allrun-parallel
- ./multiphase/interIsoFoam/damBreak/Allrun-parallel
- ./lagrangian/coalChemistryFoam/simplifiedSiwek/Allrun-parallel
- ./lagrangian/simpleReactingParcelFoam/verticalChannel/Allrun-parallel
- ./lagrangian/reactingParcelFoam/hotBoxes/Allrun-parallel
- ./mesh/foamyHexMesh/mixerVessel/Allrun-`pre`
- ./mesh/foamyHexMesh/mixerVessel/Allrun-`simulation`
- ./mesh/foamyHexMesh/blob/Allrun-parallel
- ./mesh/foamyHexMesh/flange/Allrun-parallel
- ./mesh/stitchMesh/simple-cube1/Allrun-`args`
- ./mesh/foamyQuadMesh/OpenCFD/Allrun-`rhoCentralFoam`
- ./heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/Allrun-parallel
- ./heatTransfer/chtMultiRegionSimpleFoam/jouleHeatingSolid/Allrun-parallel
- ./heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun-parallel
- ./heatTransfer/chtMultiRegionFoam/windshieldCondensation/Allrun-parallel
- ./heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun-`serial`
- ./heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun-parallel
- ./heatTransfer/chtMultiRegionFoam/windshieldDefrost/Allrun-parallel
- ./heatTransfer/chtMultiRegionFoam/externalSolarLoad/Allrun-parallel
- ./finiteArea/sphereSurfactantFoam/sphereTransport/Allrun-parallel
And many formats with Allrun.*
While the foamRunTutorials contain call to
- Allrun
- Alltest
- Allrun-parallel
- Allrun-optional (no such file nor doing anything at the moment!)
Can we formalize the names and give priority to Allrun-parallel than Allrun (serial version) ?
@andy @Mattijs @mark @Sergiohttps://develop.openfoam.com/Development/openfoam/-/issues/220BUG: No default Allrun script2019-12-09T22:04:11ZPrashant SonakarBUG: No default Allrun script(develop branch)
incompressible/icoFoam/cavityMappingTest
contains Allrun-serial and Allrun-parallel
But Alltest routine needs one of them as native file.(develop branch)
incompressible/icoFoam/cavityMappingTest
contains Allrun-serial and Allrun-parallel
But Alltest routine needs one of them as native file.Version v1612AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/issues/639cleanup autoPtr, tmp, xfer2020-10-20T16:23:38ZMark OLESENcleanup autoPtr, tmp, xfer- Some constructors and methods can be constexpr, noexcept.
- most places have a const copy constructor that steals the contents. Could/should be revised to use a universal reference and prohibit const copy (as per std::unique_ptr).- Some constructors and methods can be constexpr, noexcept.
- most places have a const copy constructor that steals the contents. Could/should be revised to use a universal reference and prohibit const copy (as per std::unique_ptr).v1806Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/515upgrade from NamedEnum to Enum2017-07-11T13:02:55ZMark OLESENupgrade from NamedEnum to EnumMore flexible and reduces chances of mistakes in the long-termMore flexible and reduces chances of mistakes in the long-termv1712Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/989DimensionSets.writeUnits cannot be set from system/controlDict2018-08-31T06:03:08ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comDimensionSets.writeUnits cannot be set from system/controlDict```
DimensionSets
{
writeUnits (kg m s K mol A Cd);
}
application icoFoam;
```
This does print `Overriding DimensionSets according to controlDict` but does not enable symbolic dimensionSets. It does work in etc/controlDict.```
DimensionSets
{
writeUnits (kg m s K mol A Cd);
}
application icoFoam;
```
This does print `Overriding DimensionSets according to controlDict` but does not enable symbolic dimensionSets. It does work in etc/controlDict.https://develop.openfoam.com/Development/openfoam/-/issues/703primitiveMesh cellEdges,cellPoints use same labelHashSet2018-07-04T09:18:21ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comprimitiveMesh cellEdges,cellPoints use same labelHashSetHelper functions to calculate cellEdges, cellPoints use a DynamicList<label>& for the final result and a labelHashSet for intermediate calculations. It does not make sense to expose one but not the other - this leads to overwrites if bot...Helper functions to calculate cellEdges, cellPoints use a DynamicList<label>& for the final result and a labelHashSet for intermediate calculations. It does not make sense to expose one but not the other - this leads to overwrites if both are used.Mattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/issues/522BUG: Failure when using nFaceSplitInterval without detectNearSurfacesSnap2017-07-12T12:20:46ZPrashant SonakarBUG: Failure when using nFaceSplitInterval without detectNearSurfacesSnapAttached dict and log for flange tutorial replicating failure.
[snappyHexMeshDict](/uploads/c4054725bd020d122b39279746a6cebf/snappyHexMeshDict)
[log.snappyHexMesh](/uploads/b35ab2d3b953e2709eeb5f019fa59987/log.snappyHexMesh)
- Ref EP#417Attached dict and log for flange tutorial replicating failure.
[snappyHexMeshDict](/uploads/c4054725bd020d122b39279746a6cebf/snappyHexMeshDict)
[log.snappyHexMesh](/uploads/b35ab2d3b953e2709eeb5f019fa59987/log.snappyHexMesh)
- Ref EP#417v1712Mattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.com