Development issueshttps://develop.openfoam.com/groups/Development/-/issues2018-07-16T21:29:18Zhttps://develop.openfoam.com/Development/openfoam/-/issues/683lumpedPointMotion/building/steady Allclean does not remove surface2018-07-16T21:29:18ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comlumpedPointMotion/building/steady Allclean does not remove surfaceAfter ./Allclean the constant/triSurface/building_wtc2.obj is still present.After ./Allclean the constant/triSurface/building_wtc2.obj is still present.Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/708foamToVTK hangs in parallel with lagrangian data2019-12-09T22:18:10ZMark OLESENfoamToVTK hangs in parallel with lagrangian dataEg, `mpirun -np 4 foamToVTK -parallel`Eg, `mpirun -np 4 foamToVTK -parallel`Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/101BUG: Update header file error2016-04-25T10:52:36ZPrashant SonakarBUG: Update header file error$FOAM_SRC/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H
<b>K</b>appaName should be
<b>k</b>appaName
...$FOAM_SRC/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H
<b>K</b>appaName should be
<b>k</b>appaName
@andy @Mattijs Sergio FerrarisSergio Ferrarishttps://develop.openfoam.com/Development/openfoam/-/issues/210Minor flaw in etc/config.sh/FFTW leads to always assuming it's not system-ins...2019-12-09T22:04:10ZAdminMinor flaw in etc/config.sh/FFTW leads to always assuming it's not system-installedI was writing and testing detailed installation steps for Ubuntu 16.04, when I stumbled upon two issues while building:
1. There is a typo in the variable checked, where `FFTW_ARCH_PATH_PATH` has one too many "_PATH" ;) Patch after ...I was writing and testing detailed installation steps for Ubuntu 16.04, when I stumbled upon two issues while building:
1. There is a typo in the variable checked, where `FFTW_ARCH_PATH_PATH` has one too many "_PATH" ;) Patch after the list below.
2. `ThirdParty-*/makeFFTW` was missing `-f` when calling `unset`, which @mark has already solved in Development/ThirdParty-plus#2.
The patch for fixing `etc/config.sh/FFTW`:
```
diff --git a/etc/config.sh/FFTW b/etc/config.sh/FFTW
index 7c0a488..f3cb4ea 100644
--- a/etc/config.sh/FFTW
+++ b/etc/config.sh/FFTW
@@ -64,7 +64,7 @@ then
# it is either located within ThirdParty, or a central installation
# outside of ThirdParty and must be added to the lib-path.
- ending="${FFTW_ARCH_PATH_PATH##*-}"
+ ending="${FFTW_ARCH_PATH##*-}"
if [ "$ending" != none -a "$ending" != system ]
then
_foamAddLib $FFTW_ARCH_PATH/lib$WM_COMPILER_LIB_ARCH
```https://develop.openfoam.com/Development/openfoam/-/issues/628Crash when directory contains files with spaces or other odd characters in th...2017-12-19T10:50:58ZAdminCrash when directory contains files with spaces or other odd characters in their filenamesparaFoam crash on start with the following error:
`
Created temporary 'run407.OpenFOAM'
I/O : uncollated
fileName::stripInvalid() called for invalid fileName tot6.7kn.0032.jpg
For debug level (= 2) > 1 this is considered fatal
Abo...paraFoam crash on start with the following error:
`
Created temporary 'run407.OpenFOAM'
I/O : uncollated
fileName::stripInvalid() called for invalid fileName tot6.7kn.0032.jpg
For debug level (= 2) > 1 this is considered fatal
Aborted (core dumped)
`
When the current directory contains the files:
`
tot 6.7kn.0000.jpg
tot 6.7kn.0001.jpg
tot 6.7kn.0002.jpg
tot 6.7kn.0003.jpg
etc.
`
(the files where generated by the paraFoam File -> save animation)
When the files are renamed to use underscores, paraFoam starts normally:
`
tot_6.7kn.0000.jpg
tot_6.7kn.0001.jpg
tot_6.7kn.0002.jpg
tot_6.7kn.0003.jpg
etc.
`
When a new animation is made by clicking File -> save animation -> ok
the file name selection dialog correctly merges the image files to: "[+]tot_6.7kn...jpg"
I don't know if this is a recent problem since I normally don't use spaces in filenames. It was found by someone else.
The obvious workaround is to not uses spaces in animation filenames, or deleting old images before starting paraFoam.
`
paraview 5.4.0
OS: Ubuntu 16.04.3 LTS (64 bit)
compiler: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609 [CORRECTED]
build command: ./makeParaView PARAVIEW_QT_VERSION=4
`
I looked at Development/ThirdParty-plus but i'm not sure if paraFoam is a third party build script and neither project readme's mention paraFoam. Please let me know if this issue should be in ThirdParty-plus.
small detail:
I have 63 images, named 0..62. I don't know why the error is for image 32, it could be the order in which the OS lists the file names but (after renaming to underscores) ls -u *.jpg also lists image 32 somewhere in the middle of the file list.Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/1099checkMesh faceWeight field does not show actual surfaceInterpolation::weights2020-01-06T12:24:20ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comcheckMesh faceWeight field does not show actual surfaceInterpolation::weightsThe checkMesh faceWeights field shows the geometric interpolation weights at the polyMesh level. These are equivalent to the fv interpolation weights for internal faces but not for boundary faces. It be useful to have those instead.The checkMesh faceWeights field shows the geometric interpolation weights at the polyMesh level. These are equivalent to the fv interpolation weights for internal faces but not for boundary faces. It be useful to have those instead.https://develop.openfoam.com/Development/openfoam/-/issues/795createPatch deletes cellSets/cellZones2024-01-16T05:40:42ZAdmincreatePatch deletes cellSets/cellZonesI have a simple porous media in a duct, and use insideCells to create a cellZoneSet, which is then turned into a cellZone by topoSet. checkMesh reports the number of cells and bounding box of this cellZone correctly.
However, after runn...I have a simple porous media in a duct, and use insideCells to create a cellZoneSet, which is then turned into a cellZone by topoSet. checkMesh reports the number of cells and bounding box of this cellZone correctly.
However, after running createPatch -overwrite, the cellZone is empty. Is this desired behavior, or a bug?
I can create a very small test case is needed.
\## Reattaching the author to the issue ticket: @aerogt3 ##Prashant SonakarPrashant Sonakarhttps://develop.openfoam.com/Development/openfoam/-/issues/633overset solver crash with layerRelax different to one2021-07-06T11:23:56ZAdminoverset solver crash with layerRelax different to oneI am playing around with the overset solvers, and I found that they crash when I use a value of layerRelax = 0.3 (actually any value less than one will make the solver crash). This value is not accessible via the dynamicMeshDict, so I d...I am playing around with the overset solvers, and I found that they crash when I use a value of layerRelax = 0.3 (actually any value less than one will make the solver crash). This value is not accessible via the dynamicMeshDict, so I directly changed the value in the source code.
I am also wondering if it is possible to change the cutting hole (which I think you call block cells). So far the minimum cutting hole is computed, but I would like to use the maximum cutting hole (or something larger than the minimum cutting hole as this one is too close to the walls).
I am attaching the reference case that I am using for validation.
[ref.tar.gz](/uploads/08f1d31c4fd7b52d8bb6c83ea2a64aff/ref.tar.gz)
\## Reattaching the author to the issue ticket: @jeogi ##https://develop.openfoam.com/Development/openfoam/-/issues/648profiling improvements2017-12-18T05:05:42ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comprofiling improvements- Would be nice for memory profiling to also record the free memory on each node. This determines when swapping is about to start.
E.g.
grep 'MemFree' /proc/meminfo- Would be nice for memory profiling to also record the free memory on each node. This determines when swapping is about to start.
E.g.
grep 'MemFree' /proc/meminfoMark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/696nutUBlendedWallFunction causes floating point exeption2019-12-09T22:18:09ZAdminnutUBlendedWallFunction causes floating point exeptionnew nutUBlendedWallFunction may cause a floating point exeption.
Using nutUBlendedWallFunction in simpleFoam/pitzDaily tutorial case will reproduce this error. Zero gradient at the initial state leads to yPlus of zero.
Changing the cod...new nutUBlendedWallFunction may cause a floating point exeption.
Using nutUBlendedWallFunction in simpleFoam/pitzDaily tutorial case will reproduce this error. Zero gradient at the initial state leads to yPlus of zero.
Changing the code from
`scalar yPlus = y[facei]*ut/nuw[facei];`
to
`scalar yPlus = y[facei]*ut/nuw[facei] + VSMALL;`
will prevent the problems (division by zero and logarithm of zero).AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/issues/729Feature: A new option in systemCall to execute the call with the master proce...2018-02-17T12:47:14ZKutalmış BerçinFeature: A new option in systemCall to execute the call with the master processor onlyIn OpenFOAM 1712, `systemCall` function object can be created and used to execute system calls.
In parallel simulations, however, the same `systemCall` is executed for each processor.
Yet arguably, the usual desire is to make a ***singl...In OpenFOAM 1712, `systemCall` function object can be created and used to execute system calls.
In parallel simulations, however, the same `systemCall` is executed for each processor.
Yet arguably, the usual desire is to make a ***single*** call ***per simulation*** (e.g. sending **an** informative e-mail about the simulation at some point).
Although a shell script wrapping the calls for a single processor should be enough, IMHO, an option which can naturally limit `systemCall` to a single processor might be useful for those who are not familiar with programming.
Kind regardsMark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/668"Cannot find triSurfaceMesh at...." error in Snappyhexmesh in parallel2021-07-06T11:35:22ZAdmin"Cannot find triSurfaceMesh at...." error in Snappyhexmesh in parallelSnappyhexmesh is looking for a stl file in process folders after decomposition and gives the following error:
Cannot find triSurfaceMesh at...
\## Reattaching the author to the issue ticket: @arionfard ##Snappyhexmesh is looking for a stl file in process folders after decomposition and gives the following error:
Cannot find triSurfaceMesh at...
\## Reattaching the author to the issue ticket: @arionfard ##https://develop.openfoam.com/Development/openfoam/-/issues/64Bug: Problem with potentialFoam for compressible cases2016-02-08T16:56:39ZKoushik SenguptaBug: Problem with potentialFoam for compressible casesReview potentialFoam for compressible cases. I am running tutorial case in compressible/rhoSimpleFoam/squareBend.
- If I use "potentialFoam -writep -noFunctionObjects", following is the attached output message.
[log.potentialFoam](...Review potentialFoam for compressible cases. I am running tutorial case in compressible/rhoSimpleFoam/squareBend.
- If I use "potentialFoam -writep -noFunctionObjects", following is the attached output message.
[log.potentialFoam](/uploads/dea4cb1b1aa6263cd0bb51aa380fa725/log.potentialFoam)
- For incompressible flow, the dimension of phi is m3/s and for compressible flow it should be
kg/s. However, with potentialFoam, it is always m3/s.
@Sergio @Mattijs AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/issues/1078writeFile functionObject output always uses userTime2018-12-05T05:42:51ZMark OLESENwriteFile functionObject output always uses userTime- as mentioned in EP829, this may be inconsistent with other function objects.
- could make sense to allow this to be user-configurable
@andy- as mentioned in EP829, this may be inconsistent with other function objects.
- could make sense to allow this to be user-configurable
@andyAdminAdminhttps://develop.openfoam.com/Development/openfoam/-/issues/635Cleanup of git repo2020-03-13T14:25:47ZAdminCleanup of git repoHi,
Is it possible to do some cleanup of the repo. I noticed the "twoPhasePachuka" tutorial case has historical artefacts that are mainly responsible for this. I reduced the repo size from 1.1G to 300M by issuing the following commands (...Hi,
Is it possible to do some cleanup of the repo. I noticed the "twoPhasePachuka" tutorial case has historical artefacts that are mainly responsible for this. I reduced the repo size from 1.1G to 300M by issuing the following commands (and then re-added the tutorial case)
```
git filter-branch --tag-name-filter cat --index-filter 'git rm -rf --cached --ignore-unmatch tutorials/multiphase/MPPICInterFoam/twoPhasePachuka' --prune-empty -f -- --all
rm -rf .git/refs/original/
git reflog expire --expire=now --all
git gc --aggressive --prune=now
```
Regards
Andrew
\## Reattaching the author to the issue ticket: @Jackson ##https://develop.openfoam.com/Development/openfoam/-/issues/629snappyHexMesh has problems if surface intersections are incompatible with vol...2017-12-18T05:13:03ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comsnappyHexMesh has problems if surface intersections are incompatible with volume assignment- shm baffles existing faces
- on complex geometries this can give cells being disconnected i.e. forming a separate region
- this gets resolved by assigning these regions to a connected neighbouring region
- this can occasionally cause b...- shm baffles existing faces
- on complex geometries this can give cells being disconnected i.e. forming a separate region
- this gets resolved by assigning these regions to a connected neighbouring region
- this can occasionally cause bleeding
- an alternative method is to reset the connecting neighbouring region instead (through erosion)
EP 509.Mattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/issues/1111XiEngineFoam kivaTest tutorial does not run in parallel2021-07-06T14:43:22ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comXiEngineFoam kivaTest tutorial does not run in parallelWith 2 processors decomposition there is an error in the second processor (probably because the output fields are not written synchronised)
```
[1] --> FOAM FATAL ERROR:
[1] object of type N4Foam8OFstreamE is unallocated
[1]
[1] F...With 2 processors decomposition there is an error in the second processor (probably because the output fields are not written synchronised)
```
[1] --> FOAM FATAL ERROR:
[1] object of type N4Foam8OFstreamE is unallocated
[1]
[1] From function T& Foam::autoPtr<T>::operator*() [with T = Foam::OFstream]
[1] in file /home/preston2/mattijs/OpenFOAM/work/develop/OpenFOAM-plus/src/OpenFOAM/lnInclude/autoPtrI.H at line 214.
[1]
FOAM parallel run aborting
[1]
[1] #0 Foam::error::printStack(Foam::Ostream&) at ??:?
[1] #1 Foam::error::abort() at ??:?
[1] #2 ? at ??:?
[1] #3 ? at ??:?
[1] #4 __libc_start_main in /lib64/libc.so.6
[1] #5 ? at /home/abuild/rpmbuild/BUILD/glibc-2.22/csu/../sysdeps/x86_64/start.S:121
```https://develop.openfoam.com/Development/openfoam/-/issues/133error in SGS epsilon in dynamic K equation model OF3.0.x-Parallel simulation2016-06-02T06:09:09ZAdminerror in SGS epsilon in dynamic K equation model OF3.0.x-Parallel simulationWhen running in parallel, with dynamic 1 equation eddy model, the epsilon at the cells that are boundaries of processors are strange. For example at the inner cell epsilonSGS is 1e5 however at the boundaries is 1e-5!
Interesting is tha...When running in parallel, with dynamic 1 equation eddy model, the epsilon at the cells that are boundaries of processors are strange. For example at the inner cell epsilonSGS is 1e5 however at the boundaries is 1e-5!
Interesting is that when looking at the epsilonSGS which is evaluated by the constant Ce equals to 1.048, there is no problem.Sergio FerrarisSergio Ferrarishttps://develop.openfoam.com/Development/openfoam/-/issues/102source /home/tlcoons/.bashrc: No such file or diirectory2016-05-05T20:49:31ZAdminsource /home/tlcoons/.bashrc: No such file or diirectoryThis issue is for OpenFoam-2.4.0.
I am rumming fedora 23 on a pentium 4 with 4gb ram.
I uncompressed both tar files into the OpenFOAM directory.
I added the source line to .bashrc file.
When I type "source $HOME/.bashrc" I get the fo...This issue is for OpenFoam-2.4.0.
I am rumming fedora 23 on a pentium 4 with 4gb ram.
I uncompressed both tar files into the OpenFOAM directory.
I added the source line to .bashrc file.
When I type "source $HOME/.bashrc" I get the following error message.
bash: source /home/tlcoons/.bashrc: No such file or directory
I tried to execute the command aslo from the home directory and got the same results.
Thanks for your help.
TerryPrashant SonakarPrashant Sonakarhttps://develop.openfoam.com/Development/openfoam/-/issues/579tabulated6DOFMotion does not produce right results as ocsillatingLinearMotion...2019-01-08T15:29:17ZAdmintabulated6DOFMotion does not produce right results as ocsillatingLinearMotionin pimpleDymFoamThe tabulated6DOFMotion solidBodyMotionFunction does not produce right results as
ocsillatingLinearMotion solidBodyMotionFunction as demonstrated in the attached file. The test cases
were conducted using pimpleDyMFoam solver of OpenFoam ...The tabulated6DOFMotion solidBodyMotionFunction does not produce right results as
ocsillatingLinearMotion solidBodyMotionFunction as demonstrated in the attached file. The test cases
were conducted using pimpleDyMFoam solver of OpenFoam v1612+. Test cases of a plunging airfoil
are available. Please direct any suggestions to weixing.yuan@nrc-cnrc.gc.ca.[OpenFoamAirfoilPlungingMotion.pdf](/uploads/8f753fadbd8d82cdabc23ba5fdc97628/OpenFoamAirfoilPlungingMotion.pdf)