Replies: 32 comments 160 replies
-
Hi! Glad to hear you are trying out the code. We have a public chat channel on this Zulip: |
Beta Was this translation helpful? Give feedback.
-
Dear @bstoeve , I've converted your issue to a "Discussion". We can continue here or on zulip. |
Beta Was this translation helpful? Give feedback.
-
Thanx a lot! Maybe for now, I would keep it here, since it can be read by externals, making it easier for others to approach the code. |
Beta Was this translation helpful? Give feedback.
-
Now, to our background: We have been using OpenFoam for a long time. I personally, also have some experience with nektar, but this is some time ago. We haven't used nek5000. |
Beta Was this translation helpful? Give feedback.
-
The next thing was: What kind of mesh format does this code need? Well, we guessed nek5000. But of course we never generated a mesh for that before. But we managed. |
Beta Was this translation helpful? Give feedback.
-
Currently, we are on setting up a case. The general description of the case file contains everything in the case file. Now, if you want specific boundary and initial conditions, obviously you have to set the option "user". Then this is defined in a fortran code file of the case. This is all you get to know. There is no documentation on this file though. |
Beta Was this translation helpful? Give feedback.
-
The meshing is indeed generally poorly described in the documentations. I know it is a bit of a detour for creating meshes, but it have worked fine for me. I know that others use GMesh to create a mesh and then do a similar chain of conversions as i described above, which is automated by the authors of neko through their gmsh2nek tool: https://github.com/ExtremeFLOW/neko/tree/develop/contrib/gmsh2nek |
Beta Was this translation helpful? Give feedback.
-
Hello I am working with @bstoeve in trying to simulate flow around an airfoil using NEKO. I tried to mesh an airfoil in a structured mesh as shown in the files below using gmsh. I tried following the instructions as mentioned in the earlier post. Initially tried converting a 2d mesh into gmsh2nek, it identified line elements and boundary groups. When tried executing the further conversion into .nmsh using rea2nbin, it popped up the following errors, but the file was generated in .nmsh format. When I tried to execute the file using a simple case file, it crashed. Please let me know where the error is - mesh file or the case file. I presume it is the mesh which is causing trouble and I am having trouble visualizing the converted binary format mesh .nmsh. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hello Thank you for the support and insight, I was able to run the simulation as shown below. Re=10000; v = 1m/s; t = 10s with an ahw9300 airfoil. Though the mesh wasn't optimal the simulation ran pretty well. Following are the points I have to mention:
Thank you |
Beta Was this translation helpful? Give feedback.
-
Hello @timofeymukha and @timfelle Good evening Is there any way to visualise the re2 boundaries after we have converted using the gmsh2nek conversion. I want to see the assignment of boundaries to corresponding geometry faces. I tried to visualise the simulated results in paraview, but I cannot see the boundary details. I just see everything as a single mesh. There is a hyperbolic mesh generator for airfoils - Construct2D and I am trying to use the mesh generated with this in NEKO. Thank you |
Beta Was this translation helpful? Give feedback.
-
Hello @timofeymukha and @timfelle I tried simulating the airfoil using c-grid topology using couple of mesh development approaches below. In both the cases the solver diverged with iterations in all the directions reaching the maximum
casefile:
Not sure what is causing the error, but another thing I have observed is that all the examples have rectangular domain and is it the case for the curved inlet? Please let me know what the source of error is. PS: I have added snaps instead of files as it would be easy to follow. Thank you |
Beta Was this translation helpful? Give feedback.
-
Hello @timofeymukha and @timfelle Good afternoon. Also I have used variable time step in the script, which should be implemented but I donot see the timestep being increased when CFL number drops. Is it beacuse I have an older version 0.7.99? Thank you |
Beta Was this translation helpful? Give feedback.
-
Hello @timofeymukha, This is regarding the nekton map file utilised for .rea2nbin file where I managed to generate .ma2 file (using genmap from NEK5000 for elements < 150000) and .co2 file (using gencon from NEK5000 for elements > 150000) but when I run the rea2nbin it looks for a nekton map file but it cannot identify these files. Can you suggest if this map file is necessary (which I believe is as it has the connectivity data inside it) and how to make sure the rea2nbin reads it. tried renaming the file to .map but there seems to be an error Thank you |
Beta Was this translation helpful? Give feedback.
-
Hello @timofeymukha Good morning.
Thanks again for your patience in responding to all the queries :) |
Beta Was this translation helpful? Give feedback.
-
Hello @timofeymukha and @MartinKarp I am trying to execute the following code and it seems to work when I remove the statistics and simulation components block. I need to write the output from 10sec sampling at every 0.5sec and writing for every 1sec. {
} Am i declaring some of the parameters wrongly? Thank you |
Beta Was this translation helpful? Give feedback.
-
Hello @timofeymukha , I found that the script works well if I remove the statistics block. Is the sampling frequency too low or the options being declared twice, could you clarify? The same block worked well when I implemented in 2d_cylinder example. {
} Thank you |
Beta Was this translation helpful? Give feedback.
-
@timofeymukha and @MartinKarp, can I know if there is a way to simulate turbulence intensity for the inflow wind in NEKO? |
Beta Was this translation helpful? Give feedback.
-
I am trying to execute the same case on the CPU nodes but I have this error when i have the case running. Can I know what is the source of the problem? Is it missing some requirements or my execution is wrong. {
} |
Beta Was this translation helpful? Give feedback.
-
@njansson, are you free for a meet sometime this week? It is going to be a short discussion with my colleague, and we can probably look at the execution of NEKO using multi-GPU's and on CPU Thank you |
Beta Was this translation helpful? Give feedback.
-
Hello @timofeymukha / @njansson / @MartinKarp / @timfelle , A general question on how much aspect ratio NEKO can handle, in my case as I am resolving the boundary layer for y+<1 , I am getting high aspect ratios near the wall of the airfoil. What is the status of the o+dong bc, can it be implemented as I ran my case with o+dong and it diverged after 30% completion Thank you |
Beta Was this translation helpful? Give feedback.
-
Hello all. I have few queries below: 1)Can I know if there is a way to capture the output exactly where the solver diverges as its difficult in predicting the frequency and re-running the simulation or starting from a check point
Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello all, I have been trying to simulate the Re 75000 around an airfoil and following ppt describes the mesh configurations and Reynolds number achieved. I could manage to run Re 10000 and one key factor observed is whenever there are iterations in the z direction the pressure iterations ramp up and there is divergence. Assessing the mesh quality parameters is a big gap in spectral element mesh and how do I ensure that the z direction has enough length and elements for characteristics to be captured? Also, is there a way for better debugging i.e. knowing where the error is? Attached a presentation, excel and a simulation test file for verification. Please let me know if you need any more information. I know its too many questions, maybe a short meeting would be helpful. Thank you |
Beta Was this translation helpful? Give feedback.
-
Hello all, Can I know if the variable timestep feature is being implemented as I have not seen implemented though I have called it during the run. Also, how to decide on the dt for the simulation, my simulation crashed around 0.13% when I went with order 6 and dt 1E-5 whereas it ran for around 10% when I changed the polynomial order to 3 and dt to 1E-4. I know that it depends on the cfl and the velocity of the flow, but how to really determine the time step depending on the polynomial order? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello can I know when will @timofeymukha and @MartinKarp will return from vacation? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello @MartinKarp Regarding the post processing, I wanted to know what the fields in stats meant? ⟨pp⟩ is the temporal average of pressure^2 or is it the fluctuations? same question for u, v and w indicated in the picture below also is it the same here, the temporal average of pressure*du/dy and so on? Just an update on the run, it is running around 60% and will keep you updated :) Thanks |
Beta Was this translation helpful? Give feedback.
-
This follows standard notation within turbulence, i.e. the brackets correspond to a time (and potentially spatial) average, and primes indicate fluctuating quantities. You can then construct the fluctuations (variance) afterwards as <u'u'> = - . There is a recent journal paper on the KTH framework for Nek5000, which describes this quite well: https://www.sciencedirect.com/science/article/pii/S0010465524001723 |
Beta Was this translation helpful? Give feedback.
-
prms^2 = <p'^2> = <(p- )^2> = <p^2> + ^2 -<2p > = <p^2>- ^2. So pp is <p^2>. |
Beta Was this translation helpful? Give feedback.
-
Hello @MartinKarp Can I know what is meant by zone number in the script of contrib/calc_lift_from_field/calc_lift_from_field.f90 that we need to pass as arguments? Thank you Thank you |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi,
we are new to the neko code. It is clear, it is still heavily under development. Nevertheless, we are trying to test it for our applications. Now, we discovered several points, which made it difficult to enter the usage of the code with the exiting guides.
We would be willing to contribute on this point, however, we are a bit shy on just adding stuff, without contacting the main contributors. Who can we contact or could contact us, to get us a bit more into the project?
With kind regards
Beta Was this translation helpful? Give feedback.
All reactions