CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] Question about icoFoam boundary file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2007, 23:59
Default Question about icoFoam boundary file
  #1
New Member
 
JZ
Join Date: Mar 2009
Location: PBC, Florida, USA
Posts: 14
Rep Power: 17
jack2000 is on a distinguished road
Dear all,
I am a brand new OpenFoam user. I have some difficulties to understand how fill the boundary information. For example, in the case of icoFoam of tutorials, what is real meaning of nFaces and startFace? How can get information from a mesh? I would very appreciate if somebody can give me an answer.

Regards!

Jack


PS: part of boundary information from the icoFoam tutorials.

movingWall
{
type wall;
physicalType wall;
nFaces 20;
startFace 760;
}

fixedWalls
{
type wall;
physicalType wall;
nFaces 60;
startFace 780;
}

frontAndBack
{
type empty;
physicalType empty;
nFaces 800;
startFace 840;
}
jack2000 is offline   Reply With Quote

Old   February 5, 2007, 08:51
Default That information is found in t
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
That information is found in the Userguide Section 6.1.2

But don't bother about these numbers. Nobody (I guess not even Henry, Hrv or Mattijs) edits them by hand. You let utilities do that for you.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   February 6, 2007, 17:50
Default Hi, Bernhard, Thank you very
  #3
New Member
 
JZ
Join Date: Mar 2009
Location: PBC, Florida, USA
Posts: 14
Rep Power: 17
jack2000 is on a distinguished road
Hi, Bernhard,
Thank you very much for giving me some suggestion. Could you tell me what untilies I can use for finding nFaces and startFace if I have already generated a mesh? Could you use icoFoam as the example to show me how to use it? I will very appricate for that.

Best Reagrds!

Jack
jack2000 is offline   Reply With Quote

Old   February 7, 2007, 16:01
Default Jack. The utilities I was r
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Jack.

The utilities I was refering to are mesh generators like blockMesh and manipulators like splitMesh. They write these values and there is no need to touch them in a solver like icoFoam.

If you are a brand new user there are two things you have to know about them:

- Their meaning is explained in section 6.1.2
- Don't touch them (you'll propably break the mesh)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   February 7, 2007, 23:40
Default Hi, Bernhard, I am very appre
  #5
New Member
 
JZ
Join Date: Mar 2009
Location: PBC, Florida, USA
Posts: 14
Rep Power: 17
jack2000 is on a distinguished road
Hi, Bernhard,
I am very appreciated for your help.
Based on your answer and the testing, I am now clear that the boundary file is generated by blockMesh.

Because my FoamX doesn't work, I try to prepare the mesh and other input data manually without using FoamX. Do you think this idea works? Thank you very much again!

Best Regards!

Jack
jack2000 is offline   Reply With Quote

Old   April 26, 2007, 13:19
Default Hi Jack, I had the same pr
  #6
New Member
 
Giovanni Boldrini
Join Date: Mar 2009
Location: Bologna, Italy
Posts: 10
Rep Power: 17
giovanni is on a distinguished road
Hi Jack,

I had the same problem, but i discovered that the boundary file is generated automatically by the command blockMesh. So you haven't to define nFaces and startFaces.

If you want to understand better what they mean, try to generate one simple block: hex (0 1 2 3 4 5 6 7) (1 1 1) simpleGrading (1 1 1), then divide it in two parts (1 2 1), finally in 8 parts (2 2 1).

It will be easier to understand face's numbers and their location.

Good Luck

Giovanni
giovanni 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
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 22:03
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 18:18
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 07:42
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 12:32
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46


All times are GMT -4. The time now is 01:33.