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

Axisymmetric source term!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2017, 23:46
Default Axisymmetric source term!
  #1
Member
 
OpenFoam
Join Date: Jun 2016
Posts: 82
Rep Power: 10
CFD-Lover is on a distinguished road
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.
CFD-Lover is offline   Reply With Quote

Old   August 27, 2017, 13:38
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
Similarly for cyclic boundaries:
Code:
find $FOAM_TUTORIALS -name "*Dict" | xargs grep cyclic
In the list given by last command, it's not very easy to see a tutorial case similar to yours, but I believe the tutorial "incompressible/SRFSimpleFoam/mixer" is similar to what you are looking for.
__________________
wyldckat is offline   Reply With Quote

Old   August 27, 2017, 22:11
Thumbs up Cyclic/wedge BCs
  #3
Member
 
OpenFoam
Join Date: Jun 2016
Posts: 82
Rep Power: 10
CFD-Lover is on a distinguished road
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.
CFD-Lover 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
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


All times are GMT -4. The time now is 01:13.