Development issueshttps://develop.openfoam.com/groups/Development/-/issues2021-12-05T14:33:43Zhttps://develop.openfoam.com/Development/openfoam/-/issues/2282no coded Function12021-12-05T14:33:43ZMark OLESENno coded Function1While discussing some solutions for fan remapping with @THO - we thought of using a CodedFunction1 for handling things, however there is only a CodedPatchFunction1. Seems to be an oversight, or wasn't needed so often.
cross-ref: EP1752While discussing some solutions for fan remapping with @THO - we thought of using a CodedFunction1 for handling things, however there is only a CodedPatchFunction1. Seems to be an oversight, or wasn't needed so often.
cross-ref: EP1752v2112Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/719No completion added for /home/foobar/OpenFOAM/OpenFOAM-v1712/platforms/linux6...2018-08-27T04:28:27ZAdminNo completion added for /home/foobar/OpenFOAM/OpenFOAM-v1712/platforms/linux64GccDPInt32Opt/binI have explained this issue here in [this StackoverFlow post](https://stackoverflow.com/questions/48463422/installing-compiling-openfoam-on-a-server-without-admin-privileges) too.
I'm trying to install/compile OpenFOAM on a remote serve...I have explained this issue here in [this StackoverFlow post](https://stackoverflow.com/questions/48463422/installing-compiling-openfoam-on-a-server-without-admin-privileges) too.
I'm trying to install/compile OpenFOAM on a remote server. As I don't have the admin privileges I have to compile it from scratch. Following [the instructions here](https://www.openfoam.com/code/build-guide.php), when I try to run
```shell
source ~/OpenFOAM/OpenFOAM-v1712/etc/bashrc
```
I get the error:
> No completion added for /home/foobar/OpenFOAM/OpenFOAM-v1712/platforms/linux64GccDPInt32Opt/bin
I checked the `~/OpenFOAM/OpenFOAM-v1712/etc/bashrc` definitely exists and it is intact. I also checked the `/home/foobar/OpenFOAM/OpenFOAM-v1712/` folder and there are no such thing as `platforms` folder! I searched and the only place I could see a similar error message is [here](https://www.cfd-online.com/Forums/openfoam-bugs/197310-possible-missing-tab-completion-ofv1712.html#post676598) where the issue is old Bash. I tried `bash --version` returning `version 4.3.48(1)-release (x86_64-pc-linux-gnu)` which is more than `4.2` as seems to be required.
**My system information:**
Looking into the possible required dependencies mentioned in [this page](https://www.openfoam.com/documentation/system-requirements.php), I checked the installed packages using the command
```shell
apt list --installed | grep -i packageName
```
The packages installed are:
> build-essential, flex, bison, cmake, zlib1g-dev, libboost-system-dev, libboost-thread-dev, libopenmpi-dev, openmpi-bin, gnuplot, libreadline-dev, libqt4-dev, libqt4-opengl-dev, freeglut3-dev
And the ones not installed are:
> libncurses-dev, libxt-dev, libqtwebkit-dev, libcgal-dev
which according to the installation page are not essential I suppose.
and checking the versions of the libraries installed:
* `mpirun --version` --> `(Open MPI) 1.10.2`
* `gcc --version` --> `gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609`
* `cmake --version` --> `3.5.1`
I would appreciate if could let me know what is the problem and how I can solve it? Or if not solvable, what are the alternative methods for me to have the OpenFOAM installed/compiled on the said server.https://develop.openfoam.com/Development/openfoam/-/issues/1359no convenient access to original point id in treeDataPoint2019-07-09T18:03:37ZMark OLESENno convenient access to original point id in treeDataPointWhen using a treeDataPoint with a subset of points in search, the index of pointIndexHit will return the subset index, not the original index. Add some more functionality to treeDataPoint to make the reverse mapping easier.When using a treeDataPoint with a subset of points in search, the index of pointIndexHit will return the subset index, not the original index. Add some more functionality to treeDataPoint to make the reverse mapping easier.v1912Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/1156No data array Fill() method in older VTK versions2019-12-09T22:37:27ZMark OLESENNo data array Fill() method in older VTK versions@Prashant@PrashantMark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/762No error when forgetting ¨;¨ in particle forces in the kinematicCloudProperti...2019-06-28T09:52:50ZAdminNo error when forgetting ¨;¨ in particle forces in the kinematicCloudProperties fileI made the really stupid mistake of forgetting the semicolon at the end of a particle force in the kinematicCloudProperties file.
`WenYuDragForce
{
alphac alpha.water
}
`
Because the statement is not ended, the next particle forces are...I made the really stupid mistake of forgetting the semicolon at the end of a particle force in the kinematicCloudProperties file.
`WenYuDragForce
{
alphac alpha.water
}
`
Because the statement is not ended, the next particle forces are not read in, which lead to really weird results. However, there is no warning of error. In many other input dictionaries the solver crashes because the next line is not read in.
I get that the user is responsible in the end for the input. However, in many other cases we are helped by errors and warnings. Therefore this mistake slipped by me. Would there be an easy fix to check this and give an error? I think this would be a nice safety feature. However, I can imagine that it would be too much work to prevent this kind of mistakes.Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/1478No Fields converted with "ensightWrite" FO with region different than region02020-03-13T13:11:24ZAdminNo Fields converted with "ensightWrite" FO with region different than region0*In my process:*
1- I am mapping a VolScalarField (the pressure "p") from region0 on a targetMesh (coarser than region0) on the fly using the "mapFields" FO as:
meshInterp1
{
type mapFields;
libs ...*In my process:*
1- I am mapping a VolScalarField (the pressure "p") from region0 on a targetMesh (coarser than region0) on the fly using the "mapFields" FO as:
meshInterp1
{
type mapFields;
libs ("libfieldFunctionObjects.so");
writeControl timeStep;
writeInterval 1;
mapRegion targetMesh;
mapMethod cellVolumeWeight;
consistent no;
fields (p);
patchMap ();
cuttingPatches (CONTOUR GAMMA_S GAMMA_E);
}
* Then:*
2- I want to use the "ensightWrite" FO on the fly during the execution to convert the pressure field from the OpenFOAM format to the Ensight one as:
ensightWrite_P
{
type ensightWrite;
libs ("libutilityFunctionObjects.so");
writeControl timeStep;
writeInterval 1;
format binary;
directory "postProcessing/EnSight/";
nodeValues yes;
fields ( p );
region targetMesh;
overwrite true;
}
It seems the fields is not converted, only the mesh is present in the Ensigth directory but no fields data:
PIMPLE: iteration 1
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 5.60474e-06, No Iterations 6
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 5.1773e-06, No Iterations 5
GAMG: Solving for p, Initial residual = 1, Final residual = 0.00404502, No Iterations 4
time step continuity errors : sum local = 0.00019636, global = -5.23346e-05, cumulative = -5.23346e-05
GAMG: Solving for p, Initial residual = 0.00782886, Final residual = 7.54917e-08, No Iterations 10
time step continuity errors : sum local = 2.98405e-07, global = 3.4694e-08, cumulative = -5.22999e-05
smoothSolver: Solving for epsilon, Initial residual = 0.0426054, Final residual = 7.6249e-06, No Iterations 6
smoothSolver: Solving for k, Initial residual = 1, Final residual = 7.86417e-06, No Iterations 10
ExecutionTime = 0.41 s ClockTime = 1 s
mapFields mapFields write:
p: interpolated and written
ensightWrite ensightWrite write: ( )
but it seems working when I want to field on the "region0" as
ensightWrite_P
{
type ensightWrite;
libs ("libutilityFunctionObjects.so");
writeControl timeStep;
writeInterval 1;
format binary;
directory "postProcessing/EnSight/";
nodeValues yes;
fields ( p );
// region targetMesh;
overwrite true;
}
it gives:
PIMPLE: iteration 1
smoothSolver: Solving for Ux, Initial residual[pitzDailyFO_ensightWrite_Issue.tar.gz](/uploads/a7fa8c9fce78c6653e3f737c39858538/pitzDailyFO_ensightWrite_Issue.tar.gz) = 0.979549, Final residual = 6.32759e-06, No Iterations 11
smoothSolver: Solving for Uy, Initial residual = 0.663667, Final residual = 3.98739e-06, No Iterations 11
GAMG: Solving for p, Initial residual = 0.0514127, Final residual = 0.000190129, No Iterations 4
time step continuity errors : sum local = 0.0001831, global = 4.22034e-05, cumulative = -1.00965e-05
GAMG: Solving for p, Initial residual = 0.013377, Final residual = 5.64195e-08, No Iterations 11
time step continuity errors : sum local = 1.58111e-07, global = -1.82685e-08, cumulative = -1.01148e-05
smoothSolver: Solving for epsilon, Initial residual = 0.0120984, Final residual = 5.31586e-06, No Iterations 5
smoothSolver: Solving for k, Initial residual = 0.359881, Final residual = 3.64655e-06, No Iterations 9
ExecutionTime = 0.45 s ClockTime = 1 s
mapFields mapFields write:
p: interpolated and written
ensightWrite ensightWrite write: ( p )
End
It seems there is a problem with "region" argument in the "ensightWrite" FO
[pitzDailyFO_ensightWrite_Issue.tar.gz](/uploads/04a4b6fdfea001f927059fcff428328c/pitzDailyFO_ensightWrite_Issue.tar.gz)
\## Reattaching the author to the issue ticket: @nicolas.zerbib ##https://develop.openfoam.com/Development/openfoam/-/issues/1526no fvMesh::solve forwarding for sphericalTensor2019-12-23T14:48:52ZMark OLESENno fvMesh::solve forwarding for sphericalTensor- seen on https://www.cfd-online.com/Forums/openfoam-programming-development/222893-port-of60-of1812-problem.html#post752642- seen on https://www.cfd-online.com/Forums/openfoam-programming-development/222893-port-of60-of1812-problem.html#post752642https://develop.openfoam.com/Development/openfoam/-/issues/959noise detection of time step2024-01-05T17:09:20ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comnoise detection of time stepnoise utility tries to detect uniform time step by comparing to previous time directories:
```At time 0.277259999999 previous time:0.277255 difference:4.999998999999367e-06 deltaT:5.000000000005e-06 relative difference:2.000011267710988...noise utility tries to detect uniform time step by comparing to previous time directories:
```At time 0.277259999999 previous time:0.277255 difference:4.999998999999367e-06 deltaT:5.000000000005e-06 relative difference:2.000011267710988e-07```
This goes wrong when there are not enough timePrecision or the start time is late so we loose precision.AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/issues/2263noise model - enable user defined reference for dB calc2021-11-08T18:57:39ZAndrew Heathernoise model - enable user defined reference for dB calcCross ref EP 1689Cross ref EP 1689v2112Andrew HeatherAndrew Heatherhttps://develop.openfoam.com/Development/openfoam/-/issues/2041noise models - octave results do not respect lower frequency bound2021-06-10T12:28:16ZAndrew Heathernoise models - octave results do not respect lower frequency boundv2106Andrew HeatherAndrew Heatherhttps://develop.openfoam.com/Development/openfoam/-/issues/285Noise utility and models - unable to use environment variables for input files2016-11-28T05:07:21ZAdminNoise utility and models - unable to use environment variables for input filesCurrently the file names are not expanded for the control dictionary and surface noise model, so we cannot use `"$FOAM_CASE/..."` etcCurrently the file names are not expanded for the control dictionary and surface noise model, so we cannot use `"$FOAM_CASE/..."` etcVersion v1612https://develop.openfoam.com/Development/openfoam/-/issues/2065noise utility in parallel2021-04-16T11:56:15ZPrashant Sonakarnoise utility in parallelThe noise utility can operate without processor directories, which seem to have issues with v2012 onward
@mark @MattijsThe noise utility can operate without processor directories, which seem to have issues with v2012 onward
@mark @MattijsAndrew HeatherAndrew Heatherhttps://develop.openfoam.com/Development/openfoam/-/issues/2133noise - write in vtk format2021-07-20T15:06:29ZPrashant Sonakarnoise - write in vtk formatAttached case showing issue in vtk LEGACY writing while the EnSight works.
The script as well as logs are in the attachment.[pitzDaily.tgz](/uploads/de0f7a27c459a0bb44fd9889779fa6d8/pitzDaily.tgz)Attached case showing issue in vtk LEGACY writing while the EnSight works.
The script as well as logs are in the attachment.[pitzDaily.tgz](/uploads/de0f7a27c459a0bb44fd9889779fa6d8/pitzDaily.tgz)https://develop.openfoam.com/Development/openfoam/-/issues/1114No Iterations for U and p in tutorials/incompressible/simpleFoam/turbineSiting2019-12-18T16:20:42ZAdminNo Iterations for U and p in tutorials/incompressible/simpleFoam/turbineSiting****I just run the case from OpenFOAM-v1806/tutorials/incompressible/simpleFoam/turbineSiting. There is a problem about sloving the UEqn and pEqn. Log as shown below, Initial residual,Final residual amd No Iterations are always 0. I thin...****I just run the case from OpenFOAM-v1806/tutorials/incompressible/simpleFoam/turbineSiting. There is a problem about sloving the UEqn and pEqn. Log as shown below, Initial residual,Final residual amd No Iterations are always 0. I think this results from the ABL boundary condition, becasue there are no problems from other cases under tutorials/incompressible/simpleFoam. ****
============================================================
Starting time loop
Time = 1
smoothSolver: Solving for Ux, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver: Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0
GAMG: Solving for p, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 0, global = 0, cumulative = 0
smoothSolver: Solving for epsilon, Initial residual = 0.0886043707687, Final residual = 0.00415880864373, No Iterations 3
smoothSolver: Solving for k, Initial residual = 0.999999999999, Final residual = 0.0561633717339, No Iterations 4
ExecutionTime = 1.14 s ClockTime = 1 s
Time = 2
smoothSolver: Solving for Ux, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver: Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0
GAMG: Solving for p, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 0, global = 0, cumulative = 0
smoothSolver: Solving for epsilon, Initial residual = 0.0528178005233, Final residual = 0.00435780437261, No
Iterations 2
smoothSolver: Solving for k, Initial residual = 0.49548245865, Final residual = 0.0477465631246, No Iterations 3
ExecutionTime = 1.37 s ClockTime = 1 s
Time = 3
smoothSolver: Solving for Ux, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver: Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0
GAMG: Solving for p, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 0, global = 0, cumulative = 0
smoothSolver: Solving for epsilon, Initial residual = 0.0972013129464, Final residual = 0.00472751378512, No Iterations 3
smoothSolver: Solving for k, Initial residual = 0.394880724125, Final residual = 0.0221518636059, No Iterations 4
ExecutionTime = 1.59 s ClockTime = 1 s
...
**This case is also tested in OpenFOAM-v1712 and it looks no problem. The log is shown below.**
===========================================================================
Starting time loop
Time = 1
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0477489367561, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.0538730764114, No Iterations 2
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.0669858308617, No Iterations 2
GAMG: Solving for p, Initial residual = 1, Final residual = 0.0621855191776, No Iterations 3
time step continuity errors : sum local = 0.000974118673505, global = 1.89337013488e-05, cumulative = 1.89337013488e-05
smoothSolver: Solving for epsilon, Initial residual = 0.0608576422262, Final residual = 0.00235143170564, No Iterations 3
smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0517062220961, No Iterations 2
ExecutionTime = 1.12 s ClockTime = 1 s
Time = 2
smoothSolver: Solving for Ux, Initial residual = 0.255464680163, Final residual = 0.0195594486154, No Iterations 2
smoothSolver: Solving for Uy, Initial residual = 0.308510924562, Final residual = 0.0110977491911, No Iterations 3
smoothSolver: Solving for Uz, Initial residual = 0.284472419959, Final residual = 0.0280404303152, No Iterations 2
GAMG: Solving for p, Initial residual = 0.13322215283, Final residual = 0.0101976026944, No Iterations 3
time step continuity errors : sum local = 0.000902796719122, global = -3.47014708889e-05, cumulative = -1.57677695401e-05
smoothSolver: Solving for epsilon, Initial residual = 0.0346080936392, Final residual = 0.00267021263905, No Iterations 2
smoothSolver: Solving for k, Initial residual = 0.270329057688, Final residual = 0.0168602729862, No Iterations 2
ExecutionTime = 1.38 s ClockTime = 2 s
Time = 3
smoothSolver: Solving for Ux, Initial residual = 0.403798686956, Final residual = 0.0335683918725, No Iterations 2
smoothSolver: Solving for Uy, Initial residual = 0.32172625807, Final residual = 0.0306454045428, No Iterations 2
smoothSolver: Solving for Uz, Initial residual = 0.347723798359, Final residual = 0.0245220605412, No Iterations 2
GAMG: Solving for p, Initial residual = 0.0412987455385, Final residual = 0.00277826618771, No Iterations 2
time step continuity errors : sum local = 0.000703580205099, global = 0.000107184465015, cumulative = 9.14166954752e-05
smoothSolver: Solving for epsilon, Initial residual = 0.0277288699551, Final residual = 0.00233613182817, No Iterations 2
smoothSolver: Solving for k, Initial residual = 0.262482535305, Final residual = 0.021940268746, No Iterations 2
ExecutionTime = 1.62 s ClockTime = 2 s
Time = 4
smoothSolver: Solving for Ux, Initial residual = 0.179980986317, Final residual = 0.0153420244482, No Iterations 2
smoothSolver: Solving for Uy, Initial residual = 0.176634654264, Final residual = 0.0065788228814, No Iterations 3
smoothSolver: Solving for Uz, Initial residual = 0.191853265263, Final residual = 0.01904668678, No Iterations 2
GAMG: Solving for p, Initial residual = 0.0729952671173, Final residual = 0.00340694854856, No Iterations 3
time step continuity errors : sum local = 0.000569941231663, global = 7.07002016898e-05, cumulative = 0.000162116897165
smoothSolver: Solving for epsilon, Initial residual = 0.0271072262376, Final residual = 0.00108121164345, No Iterations 3
smoothSolver: Solving for k, Initial residual = 0.212894843102, Final residual = 0.00862376163002, No Iterations 3
ExecutionTime = 1.9 s ClockTime = 2 s
\## Reattaching the author to the issue ticket: @chuck ##Kutalmış BerçinKutalmış Berçinhttps://develop.openfoam.com/Development/openfoam/-/issues/1870no match for argument: openfoam2006-default2020-10-08T06:15:26ZAndrig T Millerno match for argument: openfoam2006-default<!--
*** Please read this first! ***
Before opening a new issue, make sure to search for keywords in the issues
filtered by the "bug" label and check to see if it has already been reported
You can see how your report will be re...<!--
*** Please read this first! ***
Before opening a new issue, make sure to search for keywords in the issues
filtered by the "bug" label and check to see if it has already been reported
You can see how your report will be rendered on the platform by using the
"preview" tab above
-->
<!--
All text between these markers are comments and will not be present in the
report
-->
### Summary
<!-- Summarize the bug encountered concisely -->
### Steps to reproduce
<!-- How one can reproduce the issue - this is very important -->
### Example case
<!--
If possible, please create a SMALL example and attach it to your report
If you are using an older version of OpenFOAM this will also determine
whether the bug has been fixed in a more recent version
-->
### What is the current *bug* behaviour?
<!-- What actually happens -->
### What is the expected *correct* behavior?
<!-- What you should see instead -->
### Relevant logs and/or images
<!--
Paste any relevant logs - please use code blocks (```) to format console
output, logs, and code as it's very hard to read otherwise.
-->
### Environment information
<!--
Providing details of your set-up can help us identify any issues, e.g.
OpenFOAM version : v1806|v1812|v1906 etc
Operating system : ubuntu|openSUSE|centos etc
Hardware info : any info that may help?
Compiler : gcc|intel|clang etc
-->
- OpenFOAM version :2006
- Operating system :Fedora 32
- Hardware info :AMD Ryzen 9 (3900 12 core)
- Compiler :N/A
### Possible fixes
<!--
If you can, link to the line of code that might be responsible for the
problem
The "/label ~bug" text is a gitlab flag that will add the "bug" label to this
issue
-->
I'm not sure I should enter this, but I couldn't find any other way to contact someone that might be able to help. I enabled the copr repo openfoam/openfoam on Fedora 32, and then tried to install openfoam2006-default, as the wiki shows, but I get the following error:
no match for argument:openfoam2006-default
I tried others like openfoam, and openfoam-devel, but it can't find the packages. I have verified that the repo is enabled, but nothing.
Anyone know what's going on? I would love to put openfoam to use, but can't get it installed from the repo.https://develop.openfoam.com/Development/ThirdParty-common/-/issues/28no mpicc on cray2017-12-18T10:05:26ZMark OLESENno mpicc on cray- the cray `cc` handles mpi paths- the cray `cc` handles mpi pathsv1712Mark OLESENMark OLESEN2017-12-18https://develop.openfoam.com/Development/openfoam/-/issues/2775non-blocking AMI patches2023-12-21T16:01:16ZMark OLESENnon-blocking AMI patchescross-ref EP2149cross-ref EP2149https://develop.openfoam.com/Development/openfoam/-/issues/1626non-blocking lduInterface checking resets outstanding requests2021-07-06T17:14:23ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comnon-blocking lduInterface checking resets outstanding requestsMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/issues/227Non-const dereferencing of tmp in fvc:dt2dt22019-12-09T22:04:11ZMark OLESENNon-const dereferencing of tmp in fvc:dt2dt2Reported as http://exchange.openfoam.com/node/252
@andyReported as http://exchange.openfoam.com/node/252
@andyVersion v1612Mark OLESENMark OLESEN2016-09-08https://develop.openfoam.com/Development/openfoam/-/issues/3028non-orthogonal faces to set nonOrthoFaces2023-11-16T15:22:11ZFarshad Ansarinon-orthogonal faces to set nonOrthoFacesHello,
When I import my data.unv with the ideasUnvToFoam command, everything is ok. But after meshCheck I get this error:
*Number of severely non-orthogonal (> 70 degrees) faces: 612.
Non-orthogonality check OK.
<<Writing 612 no...Hello,
When I import my data.unv with the ideasUnvToFoam command, everything is ok. But after meshCheck I get this error:
*Number of severely non-orthogonal (> 70 degrees) faces: 612.
Non-orthogonality check OK.
<<Writing 612 non-orthogonal faces to set nonOrthoFaces
Face pyramids OK.
Max skewness = 1.23757 OK.
Coupled point location match (average 0) OK.
Failed 1 mesh checks.
what should I do?
thanks