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

changing fan-direction

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 4, 2011, 05:45
Default changing fan-direction
  #1
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,076
Blog Entries: 4
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
hi together,

i think it 's very simple question. I tested the fan BC and made a case. there i get four fans.
The problem is, that just two of them have the correct direction (picture).
The other two fan's are wrong. I tested many things but don 't get it solved (just i set 2 of them to cyclic --> other picture)
And i am not good in reading the code :/ so I am not sure what to do (till now).


p-file (fan2.png)
Code:
dimensions      [0 2 -2 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    internalWall
    {
        type            zeroGradient;
    }
    fan1      
    {
        type            fan;
        patchType       cyclic;
        f List<scalar>  2 (0.1 1.0);
        value           uniform 0;
    }
    fan3      
    {
        type            fan;
        patchType       cyclic;
        f List<scalar>  2 (0.1 1.0);
        value           uniform 0;
    }
    fan2      
    {
        type            fan;
        patchType       cyclic;
        f List<scalar>  2 (0.1 -1.0);
        value           uniform 0;
    }

    fan4      
    {
        type            fan;
        patchType       cyclic;
        f List<scalar>  2 (0.1 1.0);
        value           uniform 0;
    }
    frontAndBack
    {
        type empty;
    }
    wall
    {
        type zeroGradient;
    }
}
p-file (fan.png)
Code:
dimensions      [0 2 -2 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    internalWall
    {
        type            zeroGradient;
    }
    fan1      
    {
        type            fan;
        patchType       cyclic;
        f List<scalar>  2 (0.1 1.0);
        value           uniform 0;
    }
    fan3      
    {
        type            fan;
        patchType       cyclic;
        f List<scalar>  2 (0.1 1.0);
        value           uniform 0;
    }
    fan2      
    {
        type               cyclic;
       // patchType       cyclic;
       // f List<scalar>  2 (0.1 -1.0);
       // value           uniform 0;
    }

    fan4      
    {
        type                cyclic;
      //  patchType       cyclic;
      //  f List<scalar>  2 (0.1 1.0);
      //  value           uniform 0;
    }
    frontAndBack
    {
        type empty;
    }
    wall
    {
        type zeroGradient;
    }
}
Tobi is offline   Reply With Quote

Old   June 4, 2011, 05:47
Default
  #2
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,076
Blog Entries: 4
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
here the pictures


thx for help in advanced.
Tobi
Attached Images
File Type: jpg fan.jpg (45.4 KB, 46 views)
File Type: jpg fan2.jpg (14.9 KB, 37 views)
Tobi is offline   Reply With Quote

Old   June 21, 2011, 14:20
Default
  #3
Member
 
Thomas Wolfanger
Join Date: Mar 2009
Location: South West Germany
Posts: 60
Rep Power: 8
anger is on a distinguished road
Hi Tobi,

see Fan type BC in OF15

Regards,
-Thomas
anger 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
Simulation of Axial Fan Flow using A Momentum Source Subdomain Liam CFX 28 July 16, 2013 08:24
Reversing Fan Direction / Cyclic Boundary Conditions dk1 OpenFOAM Running, Solving & CFD 3 October 4, 2010 05:37
Momentum Source for fan TX_Air CFX 5 September 29, 2010 18:42
[ICEM] Changing edge direction la7low ANSYS Meshing & Geometry 2 June 7, 2010 13:26
changing gravity vector direction using UDF Nico FLUENT 0 September 7, 2006 12:00


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