Skip to content
Snippets Groups Projects
Commit 876c82d8 authored by Christian Godenschwager's avatar Christian Godenschwager
Browse files

Fixed force field layout

parent 45772d64
Branches
Tags
No related merge requests found
import sympy as sp import sympy as sp
from lbmpy_walberla import Field, generateLatticeModelFiles, RefinementScaling from lbmpy_walberla import Field, generateLatticeModelFiles, RefinementScaling
forceField = Field.createGeneric('force', spatialDimensions=3, indexDimensions=1, layout='c') forceField = Field.createGeneric('force', spatialDimensions=3, indexDimensions=1, layout='fzyx')
force = [forceField(0), forceField(1), forceField(2)] force = [forceField(0), forceField(1), forceField(2)]
omega = sp.Symbol("omega") omega = sp.Symbol("omega")
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment