CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

defining boundary condition in SHM

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 24, 2012, 10:02
Default defining boundary condition in SHM
  #1
Senior Member
 
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 190
Blog Entries: 1
Rep Power: 7
mihaipruna is on a distinguished road
I tried this, but, after meshing, looking in the boundary file it generated, all the STL patches are walls!
SHM:

sduct.stl
{
type triSurfaceMesh;
name sduct;
regions
{
Sductface1
{
name Sductface1;
type wall;
}
Sductface2
{
name Sductface2;
type wall;
}
SDuctInlet
{
name SDuctInlet;
type patch;
}
SDuctOutlet
{
name SDuctOutlet;
type patch;
}
}
}



Boundaries:

Sductface1
{
type wall;
nFaces 139535;
startFace 2352772;
}
Sductface2
{
type wall;
nFaces 13938;
startFace 2492307;
}
SDuctInlet
{
type wall;
nFaces 13938;
startFace 2506245;
}
SDuctOutlet
{
type wall;
nFaces 136863;
startFace 2520183;
}
)
__________________
Mihai Pruna's Bio
mihaipruna is offline   Reply With Quote

Old   April 24, 2012, 12:06
Default
  #2
Senior Member
 
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 190
Blog Entries: 1
Rep Power: 7
mihaipruna is on a distinguished road
assuming my time 0 BCs are defined properly, does this even matter for simpleFoam to define the inlet as an inlet and the outlet as an outrlet,etc?
__________________
Mihai Pruna's Bio
mihaipruna is offline   Reply With Quote

Old   April 25, 2012, 04:39
Default
  #3
kid
Senior Member
 
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 8
kid is on a distinguished road
Yes it does.

But you can overcome this "wall" by editing 0/u p adn all ... for -type "wall" to the one you want them to be like patch,empty,fixedValue; etc.
Also you will be required to edit /constant/polyMesh/ boundary file for same i.e for stl walls where ever you need different type , name it accordingly. Remember few will still be type wall.

Also point to be noted here is , this editing has to be done after meshing.

Note: It is just nature of problem one is solving. In your case some internal flow might be taking place . Generally for outer flow less or no editing is required. ( only my guess)
__________________
________________________________________
Regards,
CFDkid

It never gets easier You just get Better
kid is offline   Reply With Quote

Old   April 25, 2012, 13:33
Default
  #4
Senior Member
 
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 190
Blog Entries: 1
Rep Power: 7
mihaipruna is on a distinguished road
hmm so far from the tests I did it seems inlets and outlets are overridden by setting the BCs.
__________________
Mihai Pruna's Bio
mihaipruna 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
External Radiation Boundary Condition for Grid Interface CFD XUE FLUENT 0 July 9, 2010 02:53
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 06:49
how to set up a wall boundary condition according to calculated wall shear stress? gameoverli OpenFOAM Pre-Processing 1 May 21, 2009 08:28
How to set boundary condition in Fluent for the fo Peiyong FLUENT 1 November 10, 2006 12:44
defining thermal boundary condition??? REZA FLUENT 1 February 15, 2006 22:13


All times are GMT -4. The time now is 23:52.