Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F fluidsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • fluiddyn
  • fluidsim
  • Merge requests
  • !11

Merged
Created Oct 23, 2018 by Bitbucket Importer@bitbucket_importerMaintainer

Update Dedalus benchmark script

  • Overview 1
  • Commits 1
  • Changes 1

Created originally on Bitbucket by kburns (Keaton Burns)

Was already merged in Bitbucket before import, marked as merged by the import user

This PR updates the bench/dedalus/ns2d_rot_faster.py benchmarking script with two changes:

  1. The problem size is modified to correctly account for the difference between the Dedalus dealiasing method (3/2 padding) and that of FluidSim (2/3 truncation). In Dedalus, the basis “resolution” is the number of resolved/dealiased modes, rather than the grid size. For proper comparisons to codes with 512 grid points, one should use floor(512*2/3)=341 modes in Dedalus, and a dealiasing factor of 512/341. For comparisons to codes with 1024 grid points, one should similarly use 682 modes in Dedalus and the same dealiasing factor.
  2. The problem formulation is modified to eliminate diagnostic equations in the implicit solves during timestepping. Dedalus is limited to first-order equations with Chebyshev bases, but not with Fourier bases, so the velocities and vorticity can be defined directly in terms of the streamfunction variable using “substitution” rules, rather than defined as extra state variables and computed during the implicit solve with additional equations. This reformulation computes the same solution while substantially improving performance.
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: bitbucket/merged-pr-11