CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

timeVaryingUniformFixedValue + dynamic mesh + OpenFOAM-1.5-dev

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 19, 2009, 05:24
Default timeVaryingUniformFixedValue + dynamic mesh + OpenFOAM-1.5-dev
  #1
Member
 
norman1981's Avatar
 
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 8
norman1981 is on a distinguished road
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
Attached Files
File Type: gz timeVaryingUniformFixedValueTetPolyPatchFields.tar.gz (1,017 Bytes, 13 views)
norman1981 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with cyclic boundaries in Openfoam 1.5 fs82 OpenFOAM 37 January 7, 2015 01:31
How to set boundary layer of a moving body in GAMBIT to a mesh zone for dynamic mesh tomyangbath FLUENT 16 January 18, 2012 05:47
dynamic mesh on a hexa grid Manoj Kumar FLUENT 4 August 8, 2010 08:28
dynamic mesh on a hexa grid Manoj Kumar FLUENT 0 August 21, 2007 07:41
Dynamic mesh + grid adapt = Crash! (Files included BillH FLUENT 4 July 24, 2007 15:31


All times are GMT -4. The time now is 14:04.