Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lbmpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
lbmpy
Commits
6fbc32ab
Commit
6fbc32ab
authored
3 years ago
by
Markus Holzer
Browse files
Options
Downloads
Patches
Plain Diff
Fix Documentation
parent
de367453
No related branches found
No related tags found
1 merge request
!98
Generalisation of Relaxation rate setter
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lbmpy/methods/creationfunctions.py
+2
-1
2 additions, 1 deletion
lbmpy/methods/creationfunctions.py
with
2 additions
and
1 deletion
lbmpy/methods/creationfunctions.py
+
2
−
1
View file @
6fbc32ab
...
...
@@ -187,6 +187,7 @@ def create_from_equilibrium(stencil, equilibrium, moment_to_relaxation_rate_dict
the same rate
compressible: see create_with_discrete_maxwellian_eq_moments
force_model: see create_with_discrete_maxwellian_eq_moments
moment_transform_class: class to define the transformation to the moment space
"""
if
any
(
isinstance
(
moment_to_relaxation_rate_dict
,
t
)
for
t
in
(
sp
.
Symbol
,
float
,
int
)):
moment_to_relaxation_rate_dict
=
{
m
:
moment_to_relaxation_rate_dict
...
...
@@ -459,7 +460,7 @@ def create_centered_cumulant_model(stencil, cumulant_to_rr_dict, force_model=Non
stencil: instance of :class:`lbmpy.stencils.LBStenil`
cumulant_to_rr_dict: dict that has as many entries as the stencil. Each cumulant, which can be
represented by an exponent tuple or in polynomial form is mapped to a relaxation rate.
See `lbmpy.methods.default_moment_sets.cascaded_moment_sets_literature`
See
:func:
`lbmpy.methods.default_moment_sets.cascaded_moment_sets_literature`
force_model: force model used for the collision. For cumulant LB method a good choice is
`lbmpy.methods.centeredcumulant.CenteredCumulantForceModel`
equilibrium_order: approximation order of macroscopic velocity :math:`\mathbf{u}` in the equilibrium
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment