Skip to content

Commit

Permalink
fixed a bug in setting up IC for TG problem
Browse files Browse the repository at this point in the history
  • Loading branch information
hsalehipour committed Oct 19, 2023
1 parent 0ddb3a4 commit 25fcd4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/CFD/taylor_green_vortex.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def initialize_populations(self, rho, u):
ADE = AdvectionDiffusionBGK(**kwargs)
ADE.initialize_macroscopic_fields = self.initialize_macroscopic_fields
print("Initializing the distribution functions using the specified macroscopic fields....")
f = ADE.run(int(20000*32/nx))
f = ADE.run(int(20000*nx/32))
return f

def output_data(self, **kwargs):
Expand Down

0 comments on commit 25fcd4c

Please sign in to comment.