Skip to content

collision_type='SmagorinskyLESBGK' raises error when using IncompressibleNavierStokesStepper #149

@fred2019-dev

Description

@fred2019-dev

Hi, thanks very much for your excellent work. But when I am trying to simulate flow for a wind-farm, when i switched the collision_type from 'BGK' to 'SmagorinskyLESBGK", error occurs like this:

Traceback (most recent call last):
File "..../xlb_test/run_simulation_dem.py", line 360, in
for step in range(num_steps):
File "..../xlb_test/xlb/operator/operator.py", line 75, in call
raise Exception(f"Error captured for backend with key {key} for operator {self.class.name}: {error}\n {traceback_str}")
Exception: Error captured for backend with key ('IncompressibleNavierStokesStepper', <ComputeBackend.JAX: 1>, '(self, f_0, f_1, bc_mask, missing_mask, omega, timestep)') for operator IncompressibleNavierStokesStepper:

when this collision_type was set 'BGK', nothing happens.

please help me with this problem, for google said BGK does not suit the task of flow simulation with wind farms. Thanks again!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions