jerabaul29 / Cylinder2DFlowControlDRL

code for performing active flow control of the 2D Karman street using Deep Reinforcement Learning
MIT License
150 stars 64 forks source link

Change the model and run singlerunner from Ann_ controlled_ flow_ Singlerun folder, did not get the same result #20

Closed gaogao188 closed 3 years ago

gaogao188 commented 3 years ago

Hi, I used Gmsh to draw a cylinder model like you. Running baseline got the same result as you, but after adding control, I didn't get the same result as you.

thank you very mush.

gaogao188 commented 3 years ago

would you please give me some ideas about this?

Thank you for your reply

jerabaul29 commented 3 years ago

Hi,

It is difficult to know exactly what you are doing from your post. If your mesh is too coarse, or refined at the wrong place, you may get different results. If your domain has a different size, you may have more or less wall blocking effect and that may change slightly what control would be necessary. Maybe there is another subtle change somewhere between your and our configuration.

What I know for sure is:

Apart from this there is not really more I can say from the information you provide. You may try to perform a new learning in your configuration and see if the ANN can learn some control strategy. If yes, it will be interesting to investigate what the initial difference between your and our configuration was. Note that it is possible that the ANN provided here is little robust and that the control strategy is very sensitive to small changes in the simulation, since the ANN was trained specifically on only this simulation (i.e. no "generalization" to other, similar but slightly different configurations).

Maybe the ANN provided in this other (extension) work may be much more robust to changes in the configuration, as this was trained with the goal to be efficient across Reynolds numbers:

https://github.com/thw1021/Cylinder2DFlowControlGeneral

.

jerabaul29 commented 3 years ago

Without more details I think this may be user case dependent, closing for now.