-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some questions in running example.ALM #43
Comments
Hello Shenghai, Read my reply on Issue #26 . It will explain how to set-up the drivingData folder and couple your a windPlantSolver simulation to your precursor simulation. Cheers, |
Hello ,@Bartdoekemeijer ,thanks for your help. turbine0 turbine1 so as far as I'm consider there are two turbines named turbine0 & turbine1, And what if I want to choose/change the airfoilProperties ? Airfoils I cannot figure out where it was defined, yours |
You are correct in that it does not make sense for the turbines to be at the same baseLocation—this is case dependent and for you to set up.
The airfoils are defined in constant/airfoilProperties/*; their order in the Airfoils list defined in constant/turbineProperties/NREL5MWRef corresponds to the numerical airfoil ID in the last column of the BladeData list in the same file.
Hope this helps.
From: ShenghaiLiao <[email protected]>
Reply-To: NREL/SOWFA <[email protected]>
Date: Wednesday, March 20, 2019 at 3:53 AM
To: NREL/SOWFA <[email protected]>
Cc: Subscribed <[email protected]>
Subject: Re: [NREL/SOWFA] some questions in running example.ALM (#43)
Hello ,@Bartdoekemeijer<https://github.com/Bartdoekemeijer> ,thanks for your help.
I haven't start running yet becuase I want to learn a little more about example.ALM.
Until now ,I think that turbine models are located in constant/turbineArrayProperties
turbine0
{
turbineType "NREL5MWRef";
baseLocation (1000.0 1500.0 0.0);
numBladePoints 40;
turbine1
{
turbineType "NREL5MWRef";
baseLocation (1000.0 1500.0 0.0);
numBladePoints 40;
so as far as I'm consider there are two turbines named turbine0 & turbine1,
they have the same propreties ,but how could they be at the same location?
And what if I want to choose/change the airfoilProperties ?
I saw the following in constant/NREL5MWRef
Airfoils
(
"Cylinder1"
"Cylinder2"
"DU40_A17"
"DU35_A17"
"DU30_A17"
"DU25_A17"
"DU21_A17"
"NACA64_A17"
);
I cannot figure out where it was defined,
would you mine send me some help.
yours
ShenghaiLiao
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#43 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ARa7swZBK-aWASHoAzOVwkQTV6qp6_GVks5vYgUPgaJpZM4b0COw>.
|
hello ,thanks for the both of you @ewquon @Bartdoekemeijer ,that's really helpful. // Initial values for the variables. the windHeight is only 99.27m,the tubine is 87.6 meters high with radiius 63 meters In total ,is this output capable to be a"precursor" or I should change some parameters,I'm going to use it to run example.ALM |
Hi @ShenghaiLiao , In theory, you could use any kind of precursor as an inflow to your wind farm simulation. I guess the question becomes "how realistic is my precursor simulation", which is a big topic on itself. I am by no means an expert, but in my experience, wind farm simulations are typically done in domains much larger than the wind farm itself, I assume to reduce boundary effects. Hence, a precursor is generally also much larger than the wind farm. This is why the example precursor simulation is of a 3km x 3km x 1km domain. A domain of 600m x 600m x 200m seems very small. I am not sure why your turbulence levels seem so off on this small domain, though. I have had success with smaller precursor domains myself (e.g., a 2km x 1km x 650m domain sampled at 200 x 100 x 65 cells). You might want to try a slightly larger domain. Furthermore, please note that in the windPlantSolver.ALM simulation, you will need to further refine the mesh near the rotor for accurate results, yielding even more cells. Perhaps to avoid these boundaryData issues, you could consider running a pisoFoamTurbine.ADM or pisoFoamTurbine.ALM simulation. In contrary to windPlantSolver, pisoFoamTurbine does not require a precursor simulation and assumes a uniform inflow. This might be easier to start out with. Furthermore, the ADM code works pretty well without further refining the mesh. Cheers, |
A few comments:
Eliot |
Thanks again for both of you @ewquon @Bartdoekemeijer,I have successfully run example.ALM then I went to "setUp" second: <U_1> = (4.31034335563 0.164729403542 -0.0118860960976) <U_s> = (2.35541986325 0.0981680940245 0) <dU/dn> = (0.195492349239 0.00665613095171 -0.00237721921951) I checked $precursorDir/drivingData/west and find the values start at 20000.7173601,so I created a floder name "20000",and just copied the contents form "20000.7173601" and the error disappeared, Third At last ,What are those in floder example.ALM/turbineOutput/20000,they can not be open by paraview,could them be postProcessing? best wishes |
Yes, correct
This is how it is fixed in practice, too. Indeed, perhaps a fix can be made in the makeBoundaryDataFiles scripts!
This folder contains the full state information of your simulation. This is in binary OpenFOAM format. You need to convert it to readable format if you would like to open it in ParaView. Take a look at the Hope this helps! Best regards, |
Dear Bart Doekemeijer, I am sorry that I am placing question in this closed discussion. I am going to run example.ALM based on the precursors made from "example.ABL.flatTerrain.stable". reconstructPar -time 20000 -fields '(k kappat nuSgs p_rgh qwall Rwall T U)' as:
Could you please let me know, if you have any idea about the source of error? Thanks a lot. Best regards, Hosein |
Hosein, In any case, note that even though you asked for time 20000, it is attempting to reconstruct time 1000. Check if you have times 1000 and 20000, and check if the variable that is giving you issues actually exists. Good luck. |
hello, I was trying to run "Example.ALM", and I fellow the suggestions provided by #26
Starting time loop <U_1> = (7.99914611291 8.35307024211e-06 0) <U_s> = (8.00085388709 -8.35307024206e-06 0) <dU/dn> = (-8.53887094084e-05 8.35307024206e-07 0) FOAM parallel run exiting
|
The average value is not used as mentioned here in #26. So you can ignore that. FoamFile
{
version 2.0;
format ascii;
class scalarAverageField;
object values;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Average
0
30000
(
0.0273590000799
0.0233944500754
.
.
.
) Are the same files at the locations Just from the data you've provided, it is difficult to say why it might be happening but see if you exactly followed the steps as given in #26. Also, as you've changed the simulation times, see if the Having said that, you can also think of following the same initial run-time of 20000 s as the time span of 5000 s is not long enough to reach a quasi-equilibrium state. |
Thank you! Maybe it caused the error. |
@Cookiewyf Okay, this explains the source of error. So, once you have finished the initial run (upto 5000 s or 20000 s as mentioned in #26), your next step should be to create a new You can see the
When you were launching the script |
hello,I had run "example.ABL.flatTerrain.stable" yet ,and got the inflow velocity and temperature
data which are contained by folder"20000".(which looks nice in paraview)
So I turned to example.ALM,when I open the "runscript.preprocess",at line 16 "precursorDir=/projects/precursor/neutral3x3",that's not the same path as mine.
Then I saw command "#cp -rf $precursorDir/$startTime $startTime & cp -rf $precursorDir/constant/polyMesh ./constant",and I guess it may be the path to "example.ABL.flatTerrain.stable".
But I cannot find out the following:
Get the inflow data linked up.
#ln -s $precursorDir/drivingData/boundaryData ./constant
Get the driving source terms linked up.
#ln -s $precursorDir/drivingData/sources ./constant
becuase there are no such file or directory in "example.ABL.flatTerrain.stable",then I searched my computer and find out there is no directory name "drivingData" .
What am I missing ?
I would be very grateful if someone could help me.
The text was updated successfully, but these errors were encountered: