Closed AsimUdel closed 4 weeks ago
Hi, thanks for your questions.
sampling.output_format= native
. But the postprocessing tools are lagging so you might have to devise your own. Though the outputs are easily parsed in paraview/visit/yt if you are comfortable with those.Hi @marchdf , Thank you for your reply. 1) I have not run cases on the previous version, will do that, then I can confirm and get back to you. 2) I will look into those, thank you. I have not used paraview/visit/yt, I always use python to visualize the netCDF (sampling files). 3)Sure, I will make that. 4) Sure, thank you Best Regards Asim
I took a quick look at your input files and incflo.velocity
is 12.0 for the neutral case, and 7.0 for the other two. This could be a potential reason why that case is failing with a fixed dt
while the other two cases are running. The warning seems to indicate that for a CFL of 0.95, the fixed dt
set is too high.
Would you be able to copy the amr_wind
executable to the path where you want to store the sampling files? This could be a workaround.
@moprak-nrel Thank you 1) Actually I wanted to run Neutral case for low thrust coefficient (at relatively high wind speed than Stable and Unstable), that is why I set wind speed 12 m/s here and 7 m/s in other two cases. I have reduced my dt = 0.25 and have run again now. (Mean while I am running exactly same input file on previous version too) 2) I want to store files in (temporary storage "lustre"), and my amr_wind executable is in my "workgroup" directory, right now I do not know how to link, maybe in "job submission script", if this what you are asking, I am sorry I did not understand it correctly.
This is just general practice, and not specific to amr_wind
, you should be able to move the executable file to the lustre or other termporary storage directories and run from there. Example job script
cp $WORKING_DIR/amr_wind $TEMP_DIR/
cd $TEMP_DIR
mpirun -n 32 ./amr_wind input_file
@moprak-nrel Thank you for the this suggestion.
@marchdf I can confirm that for the previous version (AMR-Wind v.1.0.0) have also got "fixed_dt does not satisfy CFL condition" warning for the exact input file
and solution stopped calculating (variables values). I suspect that by keeping "time.fixed_dt =-1 " will resolve this issue, can someone please correct me if I am wrong.
Well the good news is that we didn't cause a regression...
yeah you can reduce your dt until you find one that works for these velocities. Or you can have it use a variable dt ("time.fixed_dt =-1") and a CFL condition.
Hi @AsimUdel, did settingfixed_dt = -1
resolve this issue?
Hi @moprak-nrel , yes, I have tried running both with fixed_dt = -1 and fixed_dt = 0.25 (half of initial sertting), both completed successfully.
Hello All, I have a couple of questions and queries, 1) I have upgraded to AMR-Wind (v.2.1.0) from v.1.0, I am running three different simulation for (stable, neutral and unstable atmospheric stabilities), but I am getting an error in only neutral case. (Basically after some time I am getting "WARNING: fixed_dt does not satisfy CFL condition" and then solution does solve for variables (velcocity, tke, temperature), and my stable and unstable cases successfully completed. (I will attach my input files and screenshot of outputfiles of all the simulations (as those are too big to big). Spinupneutral.txt Spinupstable.txt Spinupunstable.txt
![Neutral_output](https://github.com/Exawind/amr-wind/assets/156853074/9f1a7570-58b3-48c3-b5da-428b260059ad)
2) I am getting a "WARNING: Sampling: netcdf output will negatively impact performance" message in my AMR-Wind(v.2.1.0), did not not get in v.1.0.
3) Due to space storage constraint in my working directory I used to save my (checkpoint and plot files in some other place by using this feature io.check_file = "/lustre/scratch/asim/Wind_Energy_Cases/Stable/chk" io.plot_file = "/lustre/scratch/asim/Wind_Energy_Cases/Stable/plt" my question is, can I use any feature to save (output files( sampling.nc and ablstatistics.nc)) files somewhere else to save space storage in working directory? Can I do as: "sampling.file = "" "
4) Does AMR-Wind only produce (sampling and abl_statistics) output files ?
Thank you so much in advance. Asim