|
[Sponsors] |
July 6, 2017, 23:46 |
Axisymmetric source term!
|
#1 |
Member
OpenFoam
Join Date: Jun 2016
Posts: 82
Rep Power: 10 |
Hi,
I am working on developing an axisymmetric actuator disk code to study the flow over wind turbines. So far, I have come to a code where a volume source term was added to the momentum equation. The volume force varies in the radial direction and it is calculated such that a prescribedtotal thrust and torque is imposed on the fluid i.e. if you specify thrust and torque forces for any turbine, you can visualize the flow over it. I have verified the code for a specified thrust and torque and the results were in agreement with other CFD results. However, when I applied wedge boundary conditions on the same turbine i.e axisymmrtric, the velocity and pressure distributions were not in agreement with the 3d results. Is this the correct method or am I supposed to be specifying a 2D source term? I have verified results obtained using the wedge BC versus a full 3D simulation of an axisymmetric diffuser and as hoped, I got pretty decent agreement at a much lower computational cost. Attached is some results. Axi results; VAxi.png 3D results; V3D.png The code; actuatorDiskSimpleFoam.zip Thanks in advance for any suggestions. |
|
August 27, 2017, 13:38 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: I came looking into this post due to a PM you sent me. Took me quite a while to be able to look into this.
As far as I can figure out from your description, the problem is that you are not familiar with the "wedge" boundary: AFAIK, this is designed for when the flow goes parallel to the two wedge boundaries, it does not transfer fluid between the two boundaries. What you are looking for is the "cyclic" boundary. If you use the following command, you can find several tutorial cases that use the "wedge" boundary: Code:
find $FOAM_TUTORIALS -name "*Dict" | xargs grep wedge Code:
find $FOAM_TUTORIALS -name "*Dict" | xargs grep cyclic
__________________
|
|
August 27, 2017, 22:11 |
Cyclic/wedge BCs
|
#3 |
Member
OpenFoam
Join Date: Jun 2016
Posts: 82
Rep Power: 10 |
Dear Bruno,
Thank you very much for the reply. I have tried your suggestion by using Cyclic BCs. Surprisingly, both boundary conditions (either applying wedge or cyclic) led to the same results. I don't know what to do? Regards, Last edited by CFD-Lover; August 28, 2017 at 01:48. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Source Term due to evaporation in energy transport equation | styleworker | OpenFOAM Programming & Development | 3 | September 7, 2022 04:09 |
[Other] How to use finite area method in official OpenFOAM 2.2.0? | Detian Liu | OpenFOAM Meshing & Mesh Conversion | 4 | November 3, 2015 04:04 |
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error | FerdiFuchs | OpenFOAM Community Contributions | 27 | April 16, 2014 16:14 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 11, 2000 04:43 |