Skip to content

Issue importing Plot3D grid #137

@mburabay

Description

@mburabay

Hi,

I am using the following in the prep-grid file:


fileName = "StructGridExp1.x"

grids = {}

grids[0] = importPlot3DGrid(fileName, 3, scale=1.0)

registerFluidGridArray{
grid = grids[0],
nib=2, njb=8, nkb=4,
fsTag="initial",
bcTags={north="inlet", top="symmetry", bottom="symmetry", east="symmetry", west="symmetry"}
}


However, I keep getting the error at the prep-grid stage:


lmr.globalconfig.FlowSolverException@./commands/prepgrids.d(127): StructGridExp_grid_v1.lua:7: ')' expected near '='

where line 7 is: grids[0] = importPlot3DGrid(fileName, 3, scale=1.0)

I am not sure why the mistake happens because I looked up this format in the grids-in-eilmer.adoc file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions