unexpected gusts of wind in gas flow simulation #81493

Closed
opened 2020-10-06 21:35:31 +02:00 by jensdahlkunoy@gmail.com · 13 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.48

Blender Version
Broken: version: 2.90.1, branch: master, commit date: 2020-09-23 06:43, hash: 3e85bb34d0
Worked: (newest version of Blender that worked as expected)

Short description of error
A simple setup with a steady jet is seeing unexpected strong gusts of wind.

Background
I use high initial gas velocities creatively as a rocket exhaust. High velocities give in this case a much better visual effect compared to slower. I want a relatively steady and centered gas jet. However the strong gusts from boundaries are severly disturbing rocket plume and the visual appearance.

Exact steps for others to reproduce the error

  1. start blender
  2. Change output properties to Frame end 300
  3. scale default cube x2
  4. apply all transform on cube.
  5. add fluid domain to default cube
  6. add border collision to bottom
  7. Change gas bouyancy density to 0 and Heat to 0
  8. change resolution divisions to 64
  9. Change cache type to Modular
  10. change frame end 300
  11. Add 0.5m mesh plane
  12. add fluid->inflow to mesh plane
  13. set inflow initial temperature to 0
  14. enable initial velocity to mesh plane
  15. set initial z-velocity to -40m/s
  16. bake fluid domain
  17. Run animation and see how strong gusts of wind are disrupting the expected steady downward plume. There is no physical good reason why strong gusts of wind should occur. This is seen as a bug/instability.

I tried the following changes to improve convergence/accuracy/stability.

a. Cube fluid settings: CFL Number 0.5
b. Cube fluid settings: Timesteps Maximum time steps 20
c. Cube fluid settings: Timesteps Minimum time steps 4
d. Plane fluid settings: Sampling substeps 4
e. Plane fluid settings: Flow Source, set IsPlane to true

The strong gusts still occured with these changes.

Ideas for fixing

  • increase gas viscosity seen by the flow solver. Either
  • review open boundary conditions to check they are meaningful in a scenario with a mix of inflow/outflow. Inflows in particular could potentially cause instability because inflow velocity and direction is hard to set meaningful.

Test File
gustofwind.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.48 **Blender Version** Broken: version: 2.90.1, branch: master, commit date: 2020-09-23 06:43, hash: `3e85bb34d0` Worked: (newest version of Blender that worked as expected) **Short description of error** A simple setup with a steady jet is seeing unexpected strong gusts of wind. **Background** I use high initial gas velocities creatively as a rocket exhaust. High velocities give in this case a much better visual effect compared to slower. I want a relatively steady and centered gas jet. However the strong gusts from boundaries are severly disturbing rocket plume and the visual appearance. **Exact steps for others to reproduce the error** 1. start blender 2. Change output properties to Frame end 300 3. scale default cube x2 4. apply all transform on cube. 5. add fluid domain to default cube 6. add border collision to bottom 7. Change gas bouyancy density to 0 and Heat to 0 8. change resolution divisions to 64 9. Change cache type to Modular 10. change frame end 300 11. Add 0.5m mesh plane 12. add fluid->inflow to mesh plane 13. set inflow initial temperature to 0 14. enable initial velocity to mesh plane 15. set initial z-velocity to -40m/s 16. bake fluid domain 17. Run animation and see how strong gusts of wind are disrupting the expected steady downward plume. There is no physical good reason why strong gusts of wind should occur. This is seen as a bug/instability. I tried the following changes to improve convergence/accuracy/stability. a. Cube fluid settings: CFL Number 0.5 b. Cube fluid settings: Timesteps Maximum time steps 20 c. Cube fluid settings: Timesteps Minimum time steps 4 d. Plane fluid settings: Sampling substeps 4 e. Plane fluid settings: Flow Source, set IsPlane to true The strong gusts still occured with these changes. **Ideas for fixing** - increase gas viscosity seen by the flow solver. Either - Add a adjustment field for increasing uniform gas viscosity - Add a simple turbulence model that increase gas visocity based on : https://en.wikipedia.org/wiki/Spalart%E2%80%93Allmaras_turbulence_model - review open boundary conditions to check they are meaningful in a scenario with a mix of inflow/outflow. Inflows in particular could potentially cause instability because inflow velocity and direction is hard to set meaningful. Test File [gustofwind.blend](https://archive.blender.org/developer/F8965682/gustofwind.blend)

Added subscriber: @jdk

Added subscriber: @jdk

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Thanks for the report,

I believe that the problem would be more easily reproducible with a simple .blend file.

If there are many steps to reproduce the problem, it is recommendable to attach a .blend file saved right before the bug occurs, so only a few steps are needed to trigger the bug.

Can you provide this?

Thanks for the report, I believe that the problem would be more easily reproducible with a simple .blend file. If there are many steps to reproduce the problem, it is recommendable to attach a .blend file saved right before the bug occurs, so only a few steps are needed to trigger the bug. Can you provide this?
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Here is the blend file.
gustofwind.blend

You need to rebake or download files here (640MB)
https://drive.google.com/drive/folders/1XpdRR4ok14nvS95BHZwpkGio8twAYiD4?usp=sharing

The gust happens around frame 120

Let me know if I can help more.

Here is the blend file. [gustofwind.blend](https://archive.blender.org/developer/F8965682/gustofwind.blend) You need to rebake or download files here (640MB) https://drive.google.com/drive/folders/1XpdRR4ok14nvS95BHZwpkGio8twAYiD4?usp=sharing The gust happens around frame 120 Let me know if I can help more.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123

Added subscriber: @deadpin

Added subscriber: @deadpin

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Hi @jdk, I was able to bake all 300 frames from your example file using 2.93.0 today and things seem fine. I did not observe any strong gusts of wind, just a relatively constant stream of smoke downwards. Can you try reproducing your problem using 2.93.0 or later? If it's still a problem, can you post a screenshot of the frame that exhibits the problem as well as the frame just before perhaps (or whatever might show the difference)?

Hi @jdk, I was able to bake all 300 frames from your example file using 2.93.0 today and things seem fine. I did not observe any strong gusts of wind, just a relatively constant stream of smoke downwards. Can you try reproducing your problem using 2.93.0 or later? If it's still a problem, can you post a screenshot of the frame that exhibits the problem as well as the frame just before perhaps (or whatever might show the difference)?

Hi @deadpin,
I cannot recreate the issue of sudden gust either. So I guess it has been fixed somehow. Problem solved I guess.

Hi @deadpin, I cannot recreate the issue of sudden gust either. So I guess it has been fixed somehow. Problem solved I guess.

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'
Jesse Yurkovich self-assigned this 2021-06-21 20:35:37 +02:00

Thanks for checking. If you encounter a similar problem please feel free to create a new report on the issue.

Thanks for checking. If you encounter a similar problem please feel free to create a new report on the issue.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#81493
No description provided.