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

Inlet slot for rooms

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2006, 01:58
Default Hi, at first sorry for my b
  #1
myting
Guest
 
Posts: n/a
Hi,

at first sorry for my bad english...

However, I want to use OpenFOAM for simulation. I am engineer for HVAC and I am to interesset in simulation for airflows in building rooms but my experiment crashed in OpenFOAM everytime :-(

I make a room with one block and every side is a wall function. Furthermore I make two blocks on the side of a wall. One block is for the inlet slot and the other for the outlet slot. My question is: When I make the block for inlet slot I am defining one patch of the block as the inlet patch and the other 5 side are walls? If am not defining the other side, the simulation stops because of "empty patches".

Maybe can somebody give me excample for simulation inlet slot in 3D rooms? It whould help me.

Thanks
Myting
  Reply With Quote

Old   September 20, 2006, 05:43
Default Hi Myting Post the case or
  #2
atzaru
Guest
 
Posts: n/a
Hi Myting

Post the case or send it to me by email and i will have a look, i think the geometry is somehow wrong

atzaru@gmail.com


atzaru
  Reply With Quote

Old   September 20, 2006, 05:45
Default Hi Myting, Please post you
  #3
atzaru
Guest
 
Posts: n/a
Hi Myting,

Please post your case or send it to me by email and i will have a look

atzaru at gmail.com

Atzaru
  Reply With Quote

Old   September 21, 2006, 09:42
Default Hi, my case: /*---------
  #4
myting
Guest
 
Posts: n/a
Hi,

my case:

/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

// FoamX Case Dictionary.

FoamFile
{
version 2.0;
format ascii;

root "/home/cfd1/OpenFOAM/cfd1-1.3/run/tutorials/buoyantSimpleFoam";
case "office";
instance "constant/polyMesh";
local "";

class dictionary;
object blockMeshDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

arguments "/home/cfd1/OpenFOAM/cfd1-1.3/run/tutorials/buoyantSimpleFoam/office" off;

convertToMeters 1;

vertices
(
(0 0 0)
(10 0 0)
(10 5 0)
(0 5 0)
(0 0 10)
(10 0 10)
(10 5 10)
(0 5 10)
(2 4 0)
(3 4 0)
(3 4.2 0)
(2 4.2 0)
(2 4 0.1)
(3 4 0.1)
(3 4.2 0.1)
(2 4.2 0.1)
(7 4 0)
(8 4 0)
(8 4.2 0)
(7 4.2 0)
(7 4 0.1)
(8 4 0.1)
(8 4.2 0.1)
(7 4.2 0.1)
);

blocks
(
hex (0 1 2 3 4 5 6 7) (40 40 40) simpleGrading (1 1 1)
hex (8 9 10 11 12 13 14 15) (20 20 20) simpleGrading (1 1 1)
hex (16 17 18 19 20 21 22 23) (20 20 20) simpleGrading (1 1 1)
);

edges
(
);

patches
(
wall floor
(
(1 5 4 0)
)
wall ceiling
(
(3 7 6 2)
)
wall fixedWalls
(
(0 4 7 3)
(2 6 5 1)
(0 3 2 1)
(4 5 6 7)
)
patch inlet
(
(12 13 14 15)
)
patch fixedWallsInlet
(
(8 11 10 9)
(9 10 14 13)
(15 11 8 12)
(14 10 11 15)
(13 12 8 9)
)
patch Outlet
(
(20 21 22 23)
)
patch fixedWallsOutlet
(
(16 19 18 17)
(17 18 22 21)
(23 19 16 20)
(22 18 19 23)
(17 21 20 16)
)
);

mergePatchPairs
(
);


// ************************************************** *********************** //
  Reply With Quote

Old   September 24, 2006, 15:55
Default 1- Actually it seems to me you
  #5
New Member
 
Adrian Magda
Join Date: Mar 2009
Posts: 7
Rep Power: 17
amagda is on a distinguished road
1- Actually it seems to me you describe in a wrong way your geometry. First u make a room (the first block). After that u make two separate blocks for inlet and outlet. The inlet-outlet ports should be located on the face of the first block (patches).

2- As a general rule the blocks should share common faces, yours are not connected what so ever


adi
amagda is offline   Reply With Quote

Old   September 25, 2006, 01:23
Default Hi, thanks for you answer.
  #6
myting
Guest
 
Posts: n/a
Hi,

thanks for you answer. Can you give me an example? It whould be nice for me.

So, I don't need the other blocks for Inlet and Outletslot? It is easier to make only a patch (face) on one site of the roomwall?
How can I connected the block with each other? I thought the Mesher do this kind of job???

Thank you
Myting
  Reply With Quote

Old   September 25, 2006, 02:51
Default ok i have a small tutorial
  #7
New Member
 
Adrian Magda
Join Date: Mar 2009
Posts: 7
Rep Power: 17
amagda is on a distinguished road
ok

i have a small tutorial with some cases i presented in our department... i will post them today or tomorrow

adrian
amagda is offline   Reply With Quote

Old   September 25, 2006, 13:19
Default Hi You can download the tut
  #8
New Member
 
Adrian Magda
Join Date: Mar 2009
Posts: 7
Rep Power: 17
amagda is on a distinguished road
Hi

You can download the tutorial here

http://www.schunternet.de/~amagda/cf...M_tutorial.odt

Any comments, corrections, new cases will be welcome, i am sure it can be made a lot better.

Adi
amagda is offline   Reply With Quote

Old   September 26, 2006, 02:46
Default Thank you very much for your h
  #9
myting
Guest
 
Posts: n/a
Thank you very much for your help...

Myting
  Reply With Quote

Old   September 28, 2006, 01:30
Default Hi Adrian, I think, the las
  #10
myting
Guest
 
Posts: n/a
Hi Adrian,

I think, the last case in your tutorial is not complete. The "blockMeshDict" has not enough vertex to make all blocks? Can you check your file please? Thank you very much...

Myting
  Reply With Quote

Old   September 28, 2006, 16:01
Default Yup i just corrected ad
  #11
New Member
 
Adrian Magda
Join Date: Mar 2009
Posts: 7
Rep Power: 17
amagda is on a distinguished road
Yup

i just corrected

adi
amagda is offline   Reply With Quote

Old   October 1, 2006, 08:02
Default Hi Adrian, I tried your las
  #12
myting
Guest
 
Posts: n/a
Hi Adrian,

I tried your last case but it is impossible. I don't know why, but I got "nan" in solution always. Can you send me your full case files?

Thank you.
Myting
  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
Floworks for simulation of airflow in large rooms. kajaken FloEFD, FloWorks & FloTHERM 1 October 28, 2008 13:58
Slot jet impinging on cylinder Diz CFX 0 September 24, 2007 21:34
Slot jet in cross flow. Hamdy Phoenics 0 March 5, 2006 04:01
impinging slot-jet ramesh.... FLUENT 1 April 6, 2005 10:35
How to do turbulent bc on the injection slot? peter.zhao Main CFD Forum 3 June 26, 2004 07:05


All times are GMT -4. The time now is 07:45.