|
[Sponsors] |
timeVaryingUniformFixedValue + dynamic mesh + OpenFOAM-1.5-dev |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 19, 2009, 06:24 |
timeVaryingUniformFixedValue + dynamic mesh + OpenFOAM-1.5-dev
|
#1 |
Member
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17 |
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 ). 1- Open the ~/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/fields/PointPatchFields/derived/timeVaryingUniformFixedValue/TimeVaryingUniformFixedValuePointPatchField.H file 2- Go to line 74 and change TypeName("oscillatingFixedValue"); with TypeName("timeVaryingUniformFixedValue"); 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: $(derivedTetPolyPatchFields)/timeVaryingUniformFixedValue/timeVaryingUniformFixedValueTetPolyPatchFields.C to the ~/OpenFOAM/OpenFOAM-1.5-dev/src/tetDecompositionFiniteElement/Make.cellDecomp/files file at line 126 8- Add: $(derivedTetPolyPatchFields)/timeVaryingUniformFixedValue/timeVaryingUniformFixedValueTetPolyPatchFields.C 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 Regards Norman |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to set boundary layer of a moving body in GAMBIT to a mesh zone for dynamic mesh | tomyangbath | FLUENT | 18 | October 12, 2016 07:57 |
Problem with cyclic boundaries in Openfoam 1.5 | fs82 | OpenFOAM | 36 | January 7, 2015 01:31 |
dynamic mesh on a hexa grid | Manoj Kumar | FLUENT | 4 | August 8, 2010 09:28 |
dynamic mesh on a hexa grid | Manoj Kumar | FLUENT | 0 | August 21, 2007 08:41 |
Dynamic mesh + grid adapt = Crash! (Files included | BillH | FLUENT | 4 | July 24, 2007 16:31 |