# Fan Pressure BC

**URL:** <https://www.simscale.com/forum/t/fan-pressure-bc/87054>\
**Category:** Fluid Flow / CFD\
**Created:** [December 2, 2019, 3:23pm UTC](https://www.simscale.com/forum/t/fan-pressure-bc/87054 "2019-12-02T15:23:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![wilove](https://www.simscale.com/forum/user_avatar/www.simscale.com/wilove/32/13599_2.png) [@wilove](https://www.simscale.com/forum/u/wilove)\
**Post date:** [December 2, 2019, 3:23pm UTC](https://www.simscale.com/forum/t/fan-pressure-bc/87054/1 "2019-12-02T15:23:55Z")

</div>

Hello, i’m having trouble using the Fan Pressure Boundary condition in the middle of the domain

I want to simulate the effect of the fan. I started with a simple [project](https://www.simscale.com/workbench/?pid=3959358593265287355&mi=spec%3A237e4799-2a30-4966-882b-56448717b998%2Cservice%3ASIMULATION%2Cstrategy%3A2&ps=analysis%2FIncompressible--oneOf%2FboundaryConditions%2F4) (fan + a bluff body, just to see if the interaction is realistic).

**Simulation “Volume”**  
At first I thought I had to set an inlet and outlet face of the fan. In this simulation I did that but thos clearly hasn’t worked

**Simulation “Superficie”**  
Then I tried with only a surface but this still gives me strange results.

Maybe I’m getting lost with something very simple but I don’t find any resource with this bc used inside the domain.

---

<div class="post-metadata">

**Author:** ![jousefm](https://www.simscale.com/forum/user_avatar/www.simscale.com/jousefm/32/34908_2.png) [@jousefm](https://www.simscale.com/forum/u/jousefm)\
**Post date:** [December 2, 2019, 4:05pm UTC](https://www.simscale.com/forum/t/fan-pressure-bc/87054/2 "2019-12-02T16:05:28Z")

</div>

Hi @wilove!

Before I go more into depth here, maybe this post from my old colleague can help you out: **[Custom BC: Fan pressure](https://www.simscale.com/forum/t/custom-bc-fan-pressure/10018)**

Keep us updated!

Jousef

---

<div class="post-metadata">

**Author:** ![wilove](https://www.simscale.com/forum/user_avatar/www.simscale.com/wilove/32/13599_2.png) [@wilove](https://www.simscale.com/forum/u/wilove)\
**Post date:** [December 2, 2019, 5:31pm UTC](https://www.simscale.com/forum/t/fan-pressure-bc/87054/3 "2019-12-02T17:31:16Z")

</div>

Thank you. I saw that post but in that case the bc is used at the bounding walls of the domain. I need the opposite of that (bc inside the domain).

Maybe it is not possible to do what I’m thinking but up until now I have set the bc without a deep understanding of it. Since there are few resources, I hope this topic can make things clearer.

---

<div class="post-metadata">

**Author:** ![DaleKramer](https://www.simscale.com/forum/user_avatar/www.simscale.com/dalekramer/32/20201_2.png) [@DaleKramer](https://www.simscale.com/forum/u/DaleKramer)\
**Post date:** [December 2, 2019, 7:06pm UTC](https://www.simscale.com/forum/t/fan-pressure-bc/87054/4 "2019-12-02T19:06:55Z")

</div>

Are you saying that the results you are getting for Run 4 are not what you expected, if so what did you expect?

Run 4:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/0/f/0fe9ae6b8f268a689e1d3c2e5f4da2f0ea2c8bb5.jpeg)

---

<div class="post-metadata">

**Author:** ![wilove](https://www.simscale.com/forum/user_avatar/www.simscale.com/wilove/32/13599_2.png) [@wilove](https://www.simscale.com/forum/u/wilove)\
**Post date:** [December 2, 2019, 9:13pm UTC](https://www.simscale.com/forum/t/fan-pressure-bc/87054/5 "2019-12-02T21:13:06Z")

</div>

Do you think it is realistic?

It seemed to me that it was not for 3 reason:

1. I expected more uniformity of the p and U field in front of the fan
2. The filed away from the fan is highly perturbed
3. The residuals seems high  
 ![image](https://www.simscale.com/forum/uploads/default/original/3X/3/2/329c875fb181246330bf8e2d148a7b8a6741f658.png)

Maybe this is due to the bad mesh (I did not put too mush effort in it). What do you think?

Furthermore, if it is ok the way I used the BC, the ‘in’/‘out’ setting should be useless (I should get the same results since the face where the BC is applied influence the domain on both sides). Probably I’m wrong but I can’t see why 🤔

---

<div class="post-metadata">

**Author:** ![DaleKramer](https://www.simscale.com/forum/user_avatar/www.simscale.com/dalekramer/32/20201_2.png) [@DaleKramer](https://www.simscale.com/forum/u/DaleKramer)\
**Post date:** [December 2, 2019, 9:21pm UTC](https://www.simscale.com/forum/t/fan-pressure-bc/87054/6 "2019-12-02T21:21:25Z")

</div>

> [@wilove](#):
>
> Do you think it is realistic?

I do not know what the purpose of the internal velocity BC on the fan is…

Why are you ramping the P to the fan with a csv file?

Convergence is not solely determined by low residuals, you need a force or coefficients results on some geometry to verify that those results are stable over a large number of the final iterations.

Besides, your residuals are not anywhere near becoming stable, you need more iterations…

We really need to know what results you are interested in…

---

<div class="post-metadata">

**Author:** ![wilove](https://www.simscale.com/forum/user_avatar/www.simscale.com/wilove/32/13599_2.png) [@wilove](https://www.simscale.com/forum/u/wilove)\
**Post date:** [December 3, 2019, 10:56pm UTC](https://www.simscale.com/forum/t/fan-pressure-bc/87054/7 "2019-12-03T22:56:12Z")

</div>

> [@DaleKramer](#):
>
> We really need to know what results you are interested in…

I’m doing this simulation only to understand how the bc works. I will use the fan bc coupled with a radiator. Both are placed in a duct and I’m interested in the effect of those in the flow outside the duct.

My aim was to obtain, for this simple simulation, something like this:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/a/9/a955dab02c8ff1b8fd005a076360145bb3b4e71b.png)

From what I read [online](https://www.cfd-online.com/Forums/openfoam/91630-fanpressure-bc.html), I thought that this bc worked using an inlet and and outlet.

- The mass flow would be the one flowing in the intlet
- In and Out patch are “connected” with mass conservation and the dP would be calculated according the fan Q-dP curve

Clearly I was wrong but since the radiator+fan will be put inside a conveyor, it is not a problem to reduce the fan as a surface.

> [@DaleKramer](#):
>
> I do not know what the purpose of the internal velocity BC on the fan is…

I set the velocity BC of the fan patch as “pressure inlet-outlet” since it was suggested in the topic i linked above. Reading the OpenFOAM documentation I think it makes sense.

> [@DaleKramer](#):
>
> Why are you ramping the P to the fan with a csv file?

Probably I’m misinterpreting the question but: simply because that was needed for the bc.

> [@DaleKramer](#):
>
> Besides, your residuals are not anywhere near becoming stable, you need more iterations…

Tomorrow I will perform a simulation with more iterarion, meanwhile envery suggestion is welcome!

---

<div class="post-metadata">

**Author:** ![DaleKramer](https://www.simscale.com/forum/user_avatar/www.simscale.com/dalekramer/32/20201_2.png) [@DaleKramer](https://www.simscale.com/forum/u/DaleKramer)\
**Post date:** [December 4, 2019, 9:38pm UTC](https://www.simscale.com/forum/t/fan-pressure-bc/87054/8 "2019-12-04T21:38:11Z")

</div>

I do not think I can be of much help here…

But, now with this further information which you have provided, there will be someone here who can help you further… 🙏
