Comments (4)
Closing for now, as the answer is "read the readme for more details" :) . You may also want to look at the code in details to understand exactly what is being done.
from cylinder2dflowcontroldrl.
I have not used this code for a long time, but if I remember well, this is just a question of sign - i.e. is the force / "drag" coefficient computed from the point of view of the cylinder or the point of view of the fluid, and which conventions are chosen. To make things even more confusing, we are interested in reducing the drag, while the DRL algorithm tries to maximize the reward; so, in the end, you always end up with a different "sign" needed between the Cd and the reward.
from cylinder2dflowcontroldrl.
Thanks that is good direction for me to look into regarding negative sign. Also the plot in the paper shows reduction of cd from ~3.4 to ~3 for Re 100. But while training, even the drag magnitude is in the 0.1 scale. So is it the drag force that is getting printed while training or I'm missing something?
For instance "Rec Area: 0.0113, drag: -0.1635, lift: 0.0957"
from cylinder2dflowcontroldrl.
The information printed in terminal is raw "force", "non scaled" data, while the paper presents "scaled" drag coefficient etc. I.e. this is because the terminal spits out drag, while the paper reports the scaled drag coefficient. See the section "Confusing choices in the code" of the README file, and the links to the discussions #3 and #6 therein.
from cylinder2dflowcontroldrl.
Related Issues (20)
- How to customize the .xdmf file for initial conditions? HOT 7
- How the reward function working HOT 3
- No file in mesh directory HOT 5
- How to define Neumann boundary condition HOT 1
- symmetric case HOT 4
- Problem with creating a new mesh HOT 3
- about changing the geometry HOT 5
- could not connect to display ":0.0" HOT 9
- Can not get the "fenics-and-more.img" file HOT 5
- Could not open image; image format not recognized HOT 15
- Change the model and run singlerunner from Ann_ controlled_ flow_ Singlerun folder, did not get the same result HOT 3
- New airfoil model encountered mesh convertion probelm HOT 2
- About Q<0.06 HOT 1
- Lift fluctuations resulting from DRL training using the OpenFOAM platform HOT 2
- issues about running single_runner.py HOT 10
- higher Reynolds problem HOT 1
- Download the Singularity container HOT 2
- problems about singularity container parts HOT 3
- Using Dolphin Expression HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cylinder2dflowcontroldrl.