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

make Box by use of surrounding faces

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 20, 2011, 10:36
Lightbulb make Box by use of surrounding faces
  #1
New Member
 
Join Date: Apr 2011
Posts: 10
Rep Power: 6
MikeyMike is on a distinguished road
Dear users,

I am quite new with OF but I will try to follow your kindly advices.
My problem is as follows:

I want to simulate a bearing chamber consisting of a rotor (inner face) and with a liquid (alpha = 1) volume(!)layer at the stator (outer face). I was adviced to have a look at the damBreak tutorial. As I imported a mesh from Ansys Icem, I canīt really relate to the original boxtoCell entry in system/setFieldsDict.
My imagination of solving the problem is to create a volumebox by the use of four enclosing faces and to set this "field" to "value alpha = 1" as an initial value.

My question is how to do so and how to bring in "setSet, faceSet, boxToFace etc.". Which of them do I need and what do they do??

Thank you in advance for some helpful posts or links!
Cheers, Mike.

Last edited by MikeyMike; July 29, 2011 at 14:38.
MikeyMike is offline   Reply With Quote

Old   September 29, 2011, 09:20
Default
  #2
Senior Member
 
Hisham's Avatar
 
Hisham El Safti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 247
Blog Entries: 10
Rep Power: 8
Hisham is on a distinguished road
Hi Mike,

The answer is right! The boxToCell will assign a value of alpha = 1 for the problem domain (i.e. all cells) that can be found inside a box that you specify with the coordinates of two points. If the outer shape of the volume, for which alpha =1, is not composed of rectangles or domain boundaries, then you should consider a zoneToCell approach or funkySetFields.

Regards
Hisham
Hisham is offline   Reply With Quote

Reply

Tags
alpha1, boxtoface, dambreak, faceset, setset

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
Problem with skew faces in simpleFoam... HelloWorld OpenFOAM 7 May 14, 2010 11:28
best way to mesh a thin box? tony CFX 1 January 14, 2008 14:22
a way to make lots of money quick and easy no lies Dob Main CFD Forum 0 October 10, 2006 16:45
Junction Box Anil CFX 2 June 27, 2006 10:18
Error to re-open fluent case file J.Gimbun FLUENT 0 April 27, 2006 08:42


All times are GMT -4. The time now is 10:20.