-
Hi @ebranlard Recently I tried to understand the code about FVW, I read part of the code and it blew me away, your work is just fantastic. I try to add some models to FVW for my PhD project. So far I have only read some of it briefly and I have some questions for you. 1.Are there other materials available to help understand the code besides the OLAF manual? 2.About VortexTools , Is this section all about algorithms for calculating induced velocity? I would like to know what Tree, Seg and Part correspond to? From reading other code, I understand that Tree represents the tree algorithm, and segments represents the blade segments, which are used to compute the algorithm for each segment. There doesn't seem to be an implementation yet that uses vortex particles to calculate the flow field and update the blade circulation?
4.About FVW_Wings , A wing represents a blade right, which is a carry over from wing theory ?Is wing made up of segments? 5.About FVW_Subs, subroutine CountSegments(p, nNW, nFW, iDepthStart, nSeg, nSegP, nSegNW) Shouldn't there be panels where NW/FW shed? Why are segments used? 6.About FVW_Types, Why is the Alpha particle intensity in TPart type is 3 x np, and what does 3 mean here? Shouldn't there be only one unit of intensity? Or is this alpha in the vortex particle method? I'm sorry I have so many questions. Hope you can help answer, thank you very much. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Hi @robytian Thank you for diving into OLAF's code. Here are some elements of responses:
I hope that helps |
Beta Was this translation helpful? Give feedback.
-
Hi @ebranlard I want to implement Aerodyn_driver to call my C++ code. The sequence I want to implement is that after Aerodyn_driver has done the calculations on the inputfile(aerodyn module test), at this point all the results of the calculations are kept (as far as I know these results are saved, regardless of whether the channel output is set or not), and I pull out from the results obtained from the calculations parameters such as AB1N001Gam and so on, perhaps for multiple blades or for multiple turbines, as well as the segmentation of the blades. I then use these parameters to pass into my C++ function to do the calculation. Making it so that in the end I only had to run the Aerodyn_driver program on the original input file, and get the out that I got from Aerodyn and the out that I got from my C++ program. Is this achievable? Also where should this part of the C++ code be written? Do I just need to continue my code after the program in AeroDyn_Driver.f90? Best regards, Roby |
Beta Was this translation helpful? Give feedback.
-
Hi @ebranlard I'm sorry to bother you again, but could you please tell me if you have written a separate code for the lift line and vortex lattice part before you coupled the olaf module into aerodyn, or could you understand this part of the code from the reading of the blade data to the calculation of the velocities on the blade as well as the flow field information. The large amount of code integrated into aerodyn makes it a bit overwhelming for me to read. BR, Roby |
Beta Was this translation helpful? Give feedback.
-
Hi @ebranlard I would like to know how you determine the azimuth and wake age angles in OLAF theory. I know that the azimuth angle can be discretized based on the time step (in degrees), but the wake age angle is obtained from the vector from the origin to the marking point, how should this be valued or how can I get it during the calculation? Thanks Roby |
Beta Was this translation helpful? Give feedback.
Hi,
To be fair, OLAF does not really use the "wake age angle". OLAF defines a wake age, as the number of time steps since the vortex was emitted. And element of "wake age" 3 was emitted three time steps ago.
The lattice of vortex elements is stored for each blade. Each point in the lattice has 3 cartesian coordinates (x,y,z). The Points are stored in an array of shape
3 x nSpan+1 x nMaxAge+1
wherenSpan
is the number of spanwise section of AeroDyn,nMaxAge
is the maximum wake age (typically the number of near wake panels).I hope that helps,
Emmanuel