Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • lbmpy lbmpy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • 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
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pycodegen
  • lbmpylbmpy
  • Merge requests
  • !17

Use Gram-Schmidt for create_mrt_orthogonal

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Michael Kuron requested to merge orthogonal into master Nov 28, 2019
  • Overview 2
  • Commits 6
  • Pipelines 10
  • Changes 17
  • orthogonalize automatically if no moments from literature are provided
  • must specify whether weighted or unweighted orthogonality is desired
  • add lbmpy.moments.is_bulk_mode and make lbmpy.moments.is_shear_mode also detect the diagonal modes
  • use the bulk mode (x^2+y^2+z^2-1) in orthogonalization so we get the same physical modes as in literature

We now match the literature MRTs in all the physical moments. The only exception is D3Q27, which chooses a different linear combination for the shear moments. Differences in the higher-order moments remain, but they have no effect on the model.

Fixes #5 (closed)

Edited Nov 28, 2019 by Michael Kuron
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: orthogonal