Development issueshttps://develop.openfoam.com/groups/Development/-/issues2018-09-28T14:55:36Zhttps://develop.openfoam.com/Development/openfoam/-/issues/1024transformList with maps2018-09-28T14:55:36ZMark OLESENtransformList with maps- incorrect dereference of single rotation tensor applied to maps.
Appears to be a copy/paste issue from a list of tensors- incorrect dereference of single rotation tensor applied to maps.
Appears to be a copy/paste issue from a list of tensorsMark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/1214new surface writer losing serial/parallel preference2019-02-22T17:42:17ZMark OLESENnew surface writer losing serial/parallel preference- as noted in nightly by @Prashant- as noted in nightly by @PrashantMark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/1026overset with mesh deformation2020-01-08T14:43:11ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comoverset with mesh deformationOverset with mesh deformation is not demonstrated.Overset with mesh deformation is not demonstrated.https://develop.openfoam.com/Development/openfoam/-/issues/844Convenient user aliases and foamPwd2018-05-30T09:51:19ZAdminConvenient user aliases and foamPwdI have been discussing with Mark Olesen that it would be convenient with some user aliases to move to the user directory, more than the 'run' alias. I often want to go to $WM_PROJECT_USER_DIR/{applications,src} and $WM_PROJECT_USER_DIR/a...I have been discussing with Mark Olesen that it would be convenient with some user aliases to move to the user directory, more than the 'run' alias. I often want to go to $WM_PROJECT_USER_DIR/{applications,src} and $WM_PROJECT_USER_DIR/applications/{solvers,utilities}.
I have also suggested a foamPwd command, which is the same as pwd, but gives an output with OpenFOAM environment variables. It may be in particular be convenient for those who are learning to use the environment variables. I use it for teaching, where my prompt is set using such a command. Then the prompt gets much shorter, and the students understand that the environment variables are useful when moving around in the directories.Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/1127isoCutCell might go in a infinite loop2020-03-13T13:40:47ZAdminisoCutCell might go in a infinite loop`src/finiteVolume/fvMatrices/solvers/isoAdvection/isoCutCell/isoCutCell.C`
in function `vofCutCell` line 536 - 550:
```c
while (L2 - L1 > 1)
{
L3 = round(0.5*(L1 + L2));
f3 = fvert[order[L3]];
calcSubCel...`src/finiteVolume/fvMatrices/solvers/isoAdvection/isoCutCell/isoCutCell.C`
in function `vofCutCell` line 536 - 550:
```c
while (L2 - L1 > 1)
{
L3 = round(0.5*(L1 + L2));
f3 = fvert[order[L3]];
calcSubCell(celli, f3);
a3 = volumeOfFluid();
if (a3 > alpha1)
{
L1 = L3; f1 = f3; a1 = a3;
}
else if (a3 < alpha1)
{
L2 = L3; f2 = f3; a2 = a3;
}
}
```
This may cause an infinite loop if a3 == alpha1 as L1 and L2 donot change with this condition.
suggestions:
```c
while (L2 - L1 > 1)
{
L3 = round(0.5*(L1 + L2));
f3 = fvert[order[L3]];
calcSubCell(celli, f3);
a3 = volumeOfFluid();
if (a3 > alpha1)
{
L1 = L3; f1 = f3; a1 = a3;
}
else if (a3 < alpha1)
{
L2 = L3; f2 = f3; a2 = a3;
}
else
{
return calcSubCell(celli, f3);
}
}
```
\## Reattaching the author to the issue ticket: @Henning86 ##Johan RoenbyJohan Roenbyhttps://develop.openfoam.com/Development/openfoam/-/issues/850vtkUnstructuredFoam does not handle 'METADATA' tag ; does not convert prisms...2018-07-02T16:10:28ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comvtkUnstructuredFoam does not handle 'METADATA' tag ; does not convert prisms correctlyAttached an example
[cavity.vtk](/uploads/f8141563574b670b718fb68c98325b87/cavity.vtk)
`METADATA` tag is followed by
```INFORMATION <n>```
and then `n` times something of the form:
```
NAME L2_NORM_RANGE LOCATION vtkDataArray
DATA 2 0...Attached an example
[cavity.vtk](/uploads/f8141563574b670b718fb68c98325b87/cavity.vtk)
`METADATA` tag is followed by
```INFORMATION <n>```
and then `n` times something of the form:
```
NAME L2_NORM_RANGE LOCATION vtkDataArray
DATA 2 0 0.141774
```Mattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://develop.openfoam.com/Development/openfoam/-/issues/1153intel mpi paths2019-12-09T22:37:28ZMark OLESENintel mpi pathsas noted by @Prashant - more recent versions of intel mpi may not have bin64/, lib64/ directories.
```
bin64 -> intel64/bin
etc64 -> intel64/etc
include64 -> intel64/include
lib64 -> intel64/lib
```
So it would be better to check for t...as noted by @Prashant - more recent versions of intel mpi may not have bin64/, lib64/ directories.
```
bin64 -> intel64/bin
etc64 -> intel64/etc
include64 -> intel64/include
lib64 -> intel64/lib
```
So it would be better to check for the `intel64/` directory first.Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/129BUG: redistibutePar in reconstruct mode2016-12-23T12:39:44ZPrashant SonakarBUG: redistibutePar in reconstruct modeThe *ProcAddressing files would become invalid during mesh generation/manipulation.
This leads to failure for redistributePar in reconstruct mode.
Either we should avoid reading these files (during reconstruct) or make other utilit...The *ProcAddressing files would become invalid during mesh generation/manipulation.
This leads to failure for redistributePar in reconstruct mode.
Either we should avoid reading these files (during reconstruct) or make other utilities to update *ProcAddressing files during any update.
[motorBike.tgz](/uploads/7a929f0fdf6d835e06bb8708027f30c3/motorBike.tgz)
If these files are removed (remove comment on line 17 in Allrun), the utility succeeds.
@andy Mattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comhttps://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/743Turbulence models for DPMFoam (Realizable K-epsilon model does not work)2023-12-07T19:03:27ZAdminTurbulence models for DPMFoam (Realizable K-epsilon model does not work)When running DPMFoam cases, there is not much choice in turbulence models. I have added some myself to the 'DPMTurbulenceModels'. However, an inexperienced user would think that there is only 1 turbulence model compatible with DPMFoam. C...When running DPMFoam cases, there is not much choice in turbulence models. I have added some myself to the 'DPMTurbulenceModels'. However, an inexperienced user would think that there is only 1 turbulence model compatible with DPMFoam. Can you consider adding some more common turblence models for DPMFoam? I get that this would take more compiling time, so it might not be the best solution. Another option would be to mention if you try a non-existing turbulence model that you can compile some more yourself.
My second question is regarding the use of the realizable k-epsilon model. After adding this one to 'DPMTurbulenceModels' this does not work. The solver asks for the 'k' file instead of the 'k.water' file (where 'water' is my fluid phase name). To make this compatible with DPMFoam (and other sediment solvers) the line 'IOobject::groupName("epsilon", U.group()),' should be used in the IOobject instead of '"epsilon"'. The same holds for the k-IOobject. Could you make this change so it can be used in multiphase solvers?https://develop.openfoam.com/Development/openfoam/-/issues/829foamToVTK -poly produces unreadable vtk file2019-12-09T22:18:11ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comfoamToVTK -poly produces unreadable vtk file[polyMesh.tgz](/uploads/1ab421bc84de37ab82d0bbd87f419124/polyMesh.tgz)
If you run
foamToVTK -poly
on attached mesh the resulting vtk file cannot be read by paraview (tried 5.5.0 and 5.4.1): "vtkUnstructuredGridReader (0x350e130): Un...[polyMesh.tgz](/uploads/1ab421bc84de37ab82d0bbd87f419124/polyMesh.tgz)
If you run
foamToVTK -poly
on attached mesh the resulting vtk file cannot be read by paraview (tried 5.5.0 and 5.4.1): "vtkUnstructuredGridReader (0x350e130): Unrecognized keyword: 6"Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/1280inconsistent emissivity for externalWallHeatFluxTemperatureFvPatchScalarField2019-12-09T22:37:28ZMark OLESENinconsistent emissivity for externalWallHeatFluxTemperatureFvPatchScalarField- emissivity is partly ignored (hpTa) when there is no solid resistance- emissivity is partly ignored (hpTa) when there is no solid resistanceMark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/1216Improvements for PDRFoam (solver and utilities)2019-12-17T10:04:01ZMark OLESENImprovements for PDRFoam (solver and utilities)@Sergio @pratap@Sergio @pratapMark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/947tracking does not handle cells with inverted pyramids (it does handle inverte...2021-07-06T13:08:04ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comtracking does not handle cells with inverted pyramids (it does handle inverted cells with tets)This is a bit extreme. Run motorBike tutorial with
[meshQualityDict](/uploads/7515102677f9410dea436685f611e583/meshQualityDict) to generate illegal (neg pyr vol, negative delta-coefficient) cells.
Now nearWallFields will hang.This is a bit extreme. Run motorBike tutorial with
[meshQualityDict](/uploads/7515102677f9410dea436685f611e583/meshQualityDict) to generate illegal (neg pyr vol, negative delta-coefficient) cells.
Now nearWallFields will hang.https://develop.openfoam.com/Development/openfoam/-/issues/155BUG: runTimePostProcessing with sampledPatches2023-12-07T19:02:01ZPrashant SonakarBUG: runTimePostProcessing with sampledPatchesExtended #97
The coloring by field/color works for isoSurface
But the same failed for sampled patch. (attached example for motorBike case)
[postProcessingDict_iso_usingFunctionObject](/uploads/c7ee499a8760984aef87131184456004/p...Extended #97
The coloring by field/color works for isoSurface
But the same failed for sampled patch. (attached example for motorBike case)
[postProcessingDict_iso_usingFunctionObject](/uploads/c7ee499a8760984aef87131184456004/postProcessingDict_iso_usingFunctionObject)AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/issues/740isoAdvector : Wrong parameter read in fvSolution. vof2IsoTol is expected by t...2019-12-09T22:18:10ZAdminisoAdvector : Wrong parameter read in fvSolution. vof2IsoTol is expected by the sources. isoFaceTol is used in all tutorials.In the source file ./finiteVolume/fvMatrices/solvers/isoAdvection/isoAdvection/isoAdvection.C, the parameter vof2IsoTol is read in fvSolution dictionary. See line 83 :
78 // Interpolation data
79 ap_(mesh_.nPoints()),
...In the source file ./finiteVolume/fvMatrices/solvers/isoAdvection/isoAdvection/isoAdvection.C, the parameter vof2IsoTol is read in fvSolution dictionary. See line 83 :
78 // Interpolation data
79 ap_(mesh_.nPoints()),
80
81 // Tolerances and solution controls
82 nAlphaBounds_(dict_.lookupOrDefault<label>("nAlphaBounds", 3)),
83 vof2IsoTol_(dict_.lookupOrDefault<scalar>("vof2IsoTol", 1e-8)),
84 surfCellTol_(dict_.lookupOrDefault<scalar>("surfCellTol", 1e-8)),
85 gradAlphaBasedNormal_
86 (
87 dict_.lookupOrDefault<bool>("gradAlphaNormal", false)
88 ),
However, in all tutorials in $FOAM_TUTORIALS/multiphase/interIsoFoam, the parameter "isoFaceTol" is specified in fvSolution files, instead of vof2IsoTol.
The consequence of this bug is that the parameter "isoFaceTol" specified in fvSolution of the tutorials cases is never used.
The vof2IsoTol expected by the sources (instead of "isoFaceTol") is always taken at its default value, so 1.e-8.
The correction is simple :
- Either correct all tutorials and replace isoFaceTol by vof2IsoTol, and leave the sources unchanged
- Or correct the sources to replace vof2IsoTol by isoFaceTol, and leave the tutorials unchanged
Regards
Lionel GAMEThttps://develop.openfoam.com/Development/openfoam/-/issues/76BUG: yPlus utility and FO doesn't work properly with SA model2016-03-01T04:57:48ZPrashant SonakarBUG: yPlus utility and FO doesn't work properly with SA modelAttached case illustrates the issue.[pitzDaily-yPlus-SA.tgz](/uploads/c6e40fc73ab815c732f9ab7ebf80ed80/pitzDaily-yPlus-SA.tgz)
When turbulence model is changed to e.g. kEpsilon, it works.
Probably due to missing nut reference.
@...Attached case illustrates the issue.[pitzDaily-yPlus-SA.tgz](/uploads/c6e40fc73ab815c732f9ab7ebf80ed80/pitzDaily-yPlus-SA.tgz)
When turbulence model is changed to e.g. kEpsilon, it works.
Probably due to missing nut reference.
@Sergio AdminAdminhttps://develop.openfoam.com/Development/openfoam/-/issues/111data alignment cause gap in particle binary representation2016-06-30T22:09:37ZMark OLESENdata alignment cause gap in particle binary representationReplacing the bool 'active' with an int value uses the same space and provides a more predictable layout in memory, which is useful when working directly with the binary chunks.
Changing to int also permits future uses to mark different...Replacing the bool 'active' with an int value uses the same space and provides a more predictable layout in memory, which is useful when working directly with the binary chunks.
Changing to int also permits future uses to mark different states.Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/1273odd timeset for ensight collated output2019-12-09T22:37:28ZMark OLESENodd timeset for ensight collated outputAs noted by @Prashant - there seem to be too many timesets when sampling.As noted by @Prashant - there seem to be too many timesets when sampling.Mark OLESENMark OLESENhttps://develop.openfoam.com/Development/openfoam/-/issues/46ENH: Upgrade case/Allrun with -decomposeParDict option2016-04-25T10:53:07ZPrashant SonakarENH: Upgrade case/Allrun with -decomposeParDict optionNew feature -decomposeParDict could be used to update tutorial
incompressible/pisoFoam/les/motorBike/motorBike/
@Sergio @Mattijs New feature -decomposeParDict could be used to update tutorial
incompressible/pisoFoam/les/motorBike/motorBike/
@Sergio @Mattijs AdminAdmin