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

question on nonuniform BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2009, 04:58
Default question on nonuniform BC
  #1
grig
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
  Reply With Quote

Old   August 11, 2009, 03:06
Default
  #2
grig
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!
  Reply With Quote

Old   August 11, 2009, 03:53
Default
  #3
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
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
henrik is offline   Reply With Quote

Old   August 11, 2009, 04:00
Default
  #4
grig
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!
  Reply With Quote

Old   August 11, 2009, 04:13
Default
  #5
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
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
henrik is offline   Reply With Quote

Old   August 11, 2009, 04:19
Default
  #6
grig
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
  Reply With Quote

Old   August 11, 2009, 07:39
Default
  #7
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
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
henrik is offline   Reply With Quote

Old   August 11, 2009, 08:07
Default
  #8
grig
Guest
 
Posts: n/a
Thanks, I will have a look. Best, Grig.
  Reply With Quote

Old   May 26, 2010, 10:56
Default help about groovyBC
  #9
New Member
 
Joseph
Join Date: Mar 2010
Posts: 14
Rep Power: 15
tamsilian is an unknown quantity at this point
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
tamsilian is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 00:29.