Dummy example for a regular grid mesh with 20 columns and 10 rows, spaced by 2.0m in both directions and whose lower left corner starts at coordinate (10, 10).
Mesh
{
-- General mesh attributes
id = 'mesh',
typeName = 'RegularGridMesh.grid',
description = 'Simple test grid',
-- Mesh dimensions
coordinateDim = 2,
coordinateUnit = 'm',
coordinateFormat = '6.3f',
-- Mesh origin and spacing
nodeOrigin = {10.0, 10.0},
nodeCount = {20, 10},
nodeSpacing = 2.0, -- Could also be a table with the spacing in each direction
-- State vars associated with each node
stateVars = {'sv1', 'sv2'},
-- Attributes associated with each node
nodeAttributes = {
{id = 'na1', description = 'Node attribute 1', unit = 'degC', format='4.1f',
defVal = -999, functions = true, storage = 'both'},
{id = 'na2', description = 'Node attribute 2', dim = 2},
{id = 'na3', description = 'Node attribute 3', dim = '2x2', unit = 'cm'},
},
-- Node sets
nodeSetData = {
{ id = 'left nodes', nodeList = {1, 21, 41, 61, 81, 101, 121, 141, 161, 181} },
},
}