|
[Sponsors] |
August 7, 2009, 04:58 |
question on nonuniform BC
|
#1 |
Guest
Posts: n/a
|
Hi, I have a question about setting up nonuniform BC's in OF. Namely, when specifying the whole list of values, are these numbers assigned to the points in the center of each boundary cell face or are these values assigned for the whole boundary cell face? Thanks
|
|
August 11, 2009, 03:06 |
|
#2 |
Guest
Posts: n/a
|
Does anyone have an idea? I am new to OF and this would really help... I would also ask if blockMesh can be used to create unstructured grids? Sorry if the questions seem lame. Thanks!
|
|
August 11, 2009, 03:53 |
|
#3 |
Senior Member
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18 |
Dear Grig,
1) Yes, blockMesh can be used to create unstructured grids using the the mergePatchPairs keyword. You can find an example in $FOAM_TUT/simpleFoam/pitzDaily3Block/constant/polyMesh/blockMeshDict But I am not sure whether this is what you are after. 2) Yes, the values are assigned at the face centers and in order of the face list. If you have a function that describes your boundary, you either write your own BC or use "groovyBC": http://www.cfd-online.com/Forums/ope...burb-mesh.html If you have the values at some arbitrary points, you may want to use "timeVaryingMappedFixedValue" used here: $FOAM_TUT/simpleFoam/pitzDailyExptInlet Henrik |
|
August 11, 2009, 04:00 |
|
#4 |
Guest
Posts: n/a
|
Thank you very much for the reply. So, if the values are assigned for the face center, than are they also interpolated over the whole boundary cell face during solving?! I am asking this because I want to implement a certain velocity value in a particular boundary cell and it seems to me that the values shown in paraFoam are 4 times lower all the time?!
I will have a look at the mergePatchPairs example. Thank you again! |
|
August 11, 2009, 04:13 |
|
#5 |
Senior Member
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18 |
Dear Grig,
with cell and faces your are at the atomic level of the finite volume method which assumes that that face and cell values are uniform. Henrik |
|
August 11, 2009, 04:19 |
|
#6 |
Guest
Posts: n/a
|
Ok, then there must be some other problem because, talking specifically, I assigned to only one boundary (wall) cell a velocity of 10 m/s, but when I visualize in paraFoam it shows around 2.5. This why I am a bit puzzled...
Best, Grig |
|
August 11, 2009, 07:39 |
|
#7 |
Senior Member
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18 |
Dear Grig,
make sure that you plot the cell values. That's the fat icon rather than the pointy one in paraview's field selector. Each cell/face should then get a unique color - no shading. Alternatively, have a look into the output files to work out what the exact value is. Henrik |
|
August 11, 2009, 08:07 |
|
#8 |
Guest
Posts: n/a
|
Thanks, I will have a look. Best, Grig.
|
|
May 26, 2010, 10:56 |
help about groovyBC
|
#9 |
New Member
Joseph
Join Date: Mar 2010
Posts: 14
Rep Power: 15 |
Hi sir/madam
i simulated polymer in extruder(screw mill) by ViscoElastic fluidFoam,Jovani. According to my geometry, velocity vectors in boundary condition are changed .As result i should code variables condition in 0File>> U>> movingWalls.do you know that GroovyBC was compiled to OpenFoam as defualt or i have to compile it?and how to compile groovyBC to OpenFoam v.1.6?if anybody coded one geometry by groovyBC this is thanksful to sent it me by tamsilian@gmail.com. Thanks in advanced your help |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unanswered question | niklas | OpenFOAM | 2 | July 31, 2013 16:03 |
Nonuniform boundary syntax | juho | OpenFOAM Running, Solving & CFD | 1 | December 11, 2008 16:13 |
Poisson Solver question | Suresh | Main CFD Forum | 3 | August 12, 2005 04:37 |
CHANNEL FLOW: a question and a request | Carlos | Main CFD Forum | 4 | August 23, 2002 05:55 |
question | K.L.Huang | Siemens | 1 | March 29, 2000 04:57 |