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

[snappyHexMesh] defining boundary condition in SHM

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2012, 11:02
Default defining boundary condition in SHM
  #1
Senior Member
 
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 15
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, 13:06
Default
  #2
Senior Member
 
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 15
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, 05:39
Default
  #3
kid
Senior Member
 
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17
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, 14:33
Default
  #4
Senior Member
 
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 15
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 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
Wind turbine simulation Saturn CFX 58 July 3, 2020 02:13
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 09:44
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 05:39
External Radiation Boundary Condition for Grid Interface CFD XUE FLUENT 0 July 9, 2010 03:53
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 07:49


All times are GMT -4. The time now is 03:04.