Skip to content
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

There seems to be no wind here when simulating a large-scale environment #48

Open
lvzhoujing opened this issue Jun 19, 2024 · 4 comments

Comments

@lvzhoujing
Copy link

lvzhoujing commented Jun 19, 2024

10x7x3:
图片1
20x20x3:
图片2
50x50x3:
图片1
150x150x3:
图片3

The process of modeling and CFD simulation is the same, and I found that no matter how much wind speed is set, it doesn't work.
And I also want to know what the red particles represent?Is it because the particles are expired?
There is a green wind arrow in the 10x7x3 room, but it has disappeared in other rooms(solved!!! wind_point_inv.scale.x = std::max(0.1,2*sqrt(pow(u,2)+pow(v,2)));). And when I put in an anemometer, the wind speed I get is very small (<1m/s).
I don't know why there are spherical particles around the gas source, and they appear again at intervals.It seems like I fixed the issue by setting the End Time to 0.5s all the time during the CFD simulation(solved by changing the Write interval). but the wind speed measured by the sensor is still wrong.

Looking forward to your reply!

@lvzhoujing
Copy link
Author

Changing the write control to Runtime makes it better.But wind values still strange.
image

@PepeOjeda
Copy link
Collaborator

Hello. I cannot really say for sure based on the images alone, but it seems like it might be a problem with the resolution at which the wind data was generated. Make sure that you are using the same resolution in gaden as you used in whatever CFD tool you used to create the wind, as otherwise there will be areas of the environment for which no wind vector exists.

Alternatively, if all you need is simple, homogeneous wind you can set the uniformWind parameter in the preprocessing node to true and create a file that contains a single vector value for the wind (for example: 1,0,0 would be all the file contents for a wind of 1 m/s in the positive x direction)

@lvzhoujing
Copy link
Author

Hello. I cannot really say for sure based on the images alone, but it seems like it might be a problem with the resolution at which the wind data was generated. Make sure that you are using the same resolution in gaden as you used in whatever CFD tool you used to create the wind, as otherwise there will be areas of the environment for which no wind vector exists.

Alternatively, if all you need is simple, homogeneous wind you can set the uniformWind parameter in the preprocessing node to true and create a file that contains a single vector value for the wind (for example: 1,0,0 would be all the file contents for a wind of 1 m/s in the positive x direction)

I set the algorithm for generating the mesh to standard, and then the magnitude of the wind speed is normal. Thank you very much for your reply.

@lvzhoujing
Copy link
Author

lvzhoujing commented Jun 27, 2024

The gas profile is incorrect because the parameters time_step the GADEN.launch file are too large. I found that the anemometer reading at the (1,25,0.7) position has been small (<1m/s), then I added the wind speed value of this precise point in the wind.csv file, and the anemometer reading was normal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants