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

type FAN OpenFOAM1.7.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 22, 2011, 07:11
Default type FAN OpenFOAM1.7.1
  #1
Member
 
Claudio
Join Date: Mar 2010
Posts: 57
Rep Power: 16
claco is on a distinguished road
Hi All,

I tried to use the "type fan" boundary condition in OpenFOAM.

In order to investigate this b.c., I created a wind tunnel, with an inlet and an outlet. Then I created a 2D disk simulating the rotor, onto which I applied the fan boundary condition.

I set it in such a way to specify a constant pressure jump. I used the rhoSimpleFoam solver, in OF1.7.1.

Simulation residuals are good, and residuals convergence is clearly reached.

Then I compared the results, in terms of totalPressure distribution, with those gained with a commercial code run (the mesh, the pressure jump and the other boundary conditions being the same).

As regards OF results, it seems that the wake due to the fan weakens nearly immediately, preventing me from studying the interference of the latter with possible bodies located downstream (not present in this model).

I used like-second-order discretization schemes in OF.

I ask You what can I do in order to "augment" the fan effects, such those resulting from the commercial code run.

In fact, if the fan effects are only local, I cannot investigate the aerodynamic interference resulting from the wake impinging on the downstream bodies, which is the aim of this work.

I hope someone can help me, since I don't know what it can be due to.

I can accept some differences between the two models, but these ones seem to me unacceptable.


Yours sincerely,


Claudio

P.S. the totalPressure ranges in the two figures are different, but it can be seen that the rotor effects are qualitatively different.
Attached Images
File Type: jpg Ptot_distribution_OPENFOAM.jpg (41.1 KB, 137 views)
File Type: jpg rotor_cruise_mode_commercial.jpg (50.2 KB, 147 views)
Attached Files
File Type: txt fvSchemes.txt (1.5 KB, 36 views)
File Type: txt p.txt (1.5 KB, 82 views)
claco is offline   Reply With Quote

Old   August 22, 2011, 12:40
Default
  #2
Member
 
Sylvain Aguinaga
Join Date: Feb 2010
Posts: 41
Rep Power: 16
Sylvain is on a distinguished road
Hi Claudio

In OF the fan BC only prescribes a jump of the pressure trough the interface. Unlike fluent (which is your commercial code I guess) it doesn't generate the rotational velocity induced by the rotor nor the increase of turbulence due to the fan. The solution should be to write specific cyclic BCs for k, epsilon and U which represent the behaviour of the variables though the fan. Lot of work.

I'm currently working in modeling the fan of a closed loop WT, and the classic fan BC wasn't good enough for my case.

If OF 2.0.x you have an new BC called fanPressure which is a BC of type patch. I made a post last week about it.

http://www.cfd-online.com/Forums/ope...essure-bc.html

With such a BC you can prescribe you pressure jump according to you fan law, but you can also prescribe BCs of type patch for k and epsilon which represent the increase of turbulence through the fan. (like in the pimpleFoam/TJunction tutorial).

Might be enough to represent the "wake effect" of you fan.

Hoping it is useful

Sylvain
Sylvain is offline   Reply With Quote

Old   August 22, 2011, 14:52
Default
  #3
Member
 
Claudio
Join Date: Mar 2010
Posts: 57
Rep Power: 16
claco is on a distinguished road
Thank You Sylvain,

after neglecting the increase of turbulence due to the rotor, I would like to reproduce the Fluent increase of totalPressure downstream of the rotor. Moreover I'm worried about the fact that the totalPressure decreases too much quickly when compared to that of Fluent. This fact constitutes my real concern.

This quick dissipation of total pressure when compared to that featuring Fluent simulation, makes me scared.

Thank You,

Claudio

P.S.: I built up the mesh with Tgrid. Then I specified a type fan for the rotor, just before exporting the mesh in msh format. After that I imported the mesh via the fluent3DMeshToFoam utility. The rotor patch is automatically recognized as a cyclic patch. I did not make use of createBaffles or other utilities, and I imposed directly a type fan for the rotor, in file p, whereas into the other files I imposed a type cyclic. Is this procedure correct, or I have to use createBaffles or other utilities? The residuals are converged, but the results seems to be wrong, as highlighted in #1. On the contrary, in tutorial TJunctionFan the topoSet and the createBaffles commands are used, and results make sense. So I think this is the key point of my problems, because I do not make use of this utilities. I kindly ask you your opinion.

Last edited by claco; August 25, 2011 at 10:50.
claco is offline   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
second order schemes marine OpenFOAM 67 April 11, 2022 19:19
boundary conditions for simpleFoam calculation foam_noob OpenFOAM Running, Solving & CFD 8 July 1, 2015 09:07
Need help with boundary conditions: open to atmosphere Wolle OpenFOAM 2 April 11, 2011 08:32
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 18:08
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50


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