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

timeVaryingUniformFixedValue + dynamic mesh + OpenFOAM-1.5-dev

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2009, 06: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: 17
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, 16 views)
norman1981 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 21:25.