CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   timeVaryingUniformFixedValue + dynamic mesh + OpenFOAM-1.5-dev (

norman1981 June 19, 2009 05:24

timeVaryingUniformFixedValue + dynamic mesh + OpenFOAM-1.5-dev
1 Attachment(s)
Dear OpenFOAM-1.5-dev developers,

I wasn't able to use the timeVaryingUniformFixedValue bc in a dynamic mesh case in the OpenFOAM-1.5-dev version, so I checked a little the code and I think there's a bug in the TimeVaryingUniformFixedValue header file and there's also something missed in the tetDecompositionFiniteElement folder...
I will post here my solution, now it's working for me, but as far as I don't know if I'm doing something nasty I'm kindly asking you to check it (I might be wrong :cool: ).

1- Open the ~/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/fields/PointPatchFields/derived/timeVaryingUniformFixedValue/TimeVaryingUniformFixedValuePointPatchField.H file
2- Go to line 74 and change
3- Go to the ~/OpenFOAM/OpenFOAM-1.5-dev/src/tetDecompositionFiniteElement/fields/tetPolyPatchFields/derived folder
4- Create a folder called timeVaryingUniformFixedValue
5- Go into the timeVaryingUniformFixedValue folder
6- Put the two attached files into this folder
7- Add:


to the ~/OpenFOAM/OpenFOAM-1.5-dev/src/tetDecompositionFiniteElement/Make.cellDecomp/files file at line 126

8- Add:


to the ~/OpenFOAM/OpenFOAM-1.5-dev/src/tetDecompositionFiniteElement/Make.faceDecomp/files file at line 126

9- Go to the ~/OpenFOAM/OpenFOAM-1.5-dev/src/tetDecompositionFiniteElement folder and type ./Allwmake

Now everything should work :)



All times are GMT -4. The time now is 06:54.