Windows build Elmergrid compiled without MATC?

Discussion about building and installing Elmer
Post Reply
NJank
Posts: 88
Joined: 05 Dec 2009, 00:05
Location: Baltimore, MD, USA

Windows build Elmergrid compiled without MATC?

Post by NJank » 27 Dec 2018, 07:48

I've been away from Elmer for a while, recently reinstalled and tried to run some older scripts. Most were created a few years back with Elmer7 (6?), noticed a few issues trying to run them in Elmer 8.x. Biggest issue at the moment is that seems the windows version of Elmergrid is compiled without MATC? I get the message:
Unable to activate matc as it is not even compiled.
tried a couple 8.x versions and got the same message.

Is this expected? I know that now LUA is also an option now. is this expected to be available within a .grd file for Elmergrid as MATC was? Playing with syntax it does not appear so.
Last edited by NJank on 27 Dec 2018, 19:54, edited 1 time in total.

NJank
Posts: 88
Joined: 05 Dec 2009, 00:05
Location: Baltimore, MD, USA

Re: Windows build Elmergrid compiled without MATC?

Post by NJank » 27 Dec 2018, 17:35

I'm also noticing some other warnings that I don't recall seeing before, even running some of the sample files from Elmer.

e.g., looking at a bunch of the grd examples in \Elmer8.4\share\ElmerGUI\samples\grd

if I run the wire example with 'elmergrid 1 2 wire' there's an odd message:
"Dimension 3 not active but higher dimensions are?"

output below:

Code: Select all

Starting program Elmergrid
Elmergrid reading in-line arguments
Output will be saved to file wire.

Elmergrid loading data:
-----------------------
Loading the geometry from file 'wire.grd'.
Loading ElmerGrid file version: 210903
Defining the coordinate system (2-DIM).
Loading 4 subcell limits in X-direction
Loading 2 subcell limits in Y-direction
Loading material structure
Loading boundary conditions
Found 6 boundaries
Reached the end of command file
Found 1 divisions for grid

Loading ElmerGrid commands from file 'wire.grd'.
Reached the end of command file
Read commands from a file

Elmergrid creating and manipulating meshes:
-------------------------------------------
3 cells were created.
Numbered 231 knots in 200 4-node elements.
Numbering order was <x><y> and max levelwidth 23.
12 element sides between materials -1 and 1 were located to type 1.
10 element sides between materials -2 and 1 were located to type 2.
12 element sides between materials -3 and 1 were located to type 3.
8 element sides between materials -1 and 2 were located to type 4.
10 element sides between materials -2 and 2 were located to type 5.
8 element sides between materials -3 and 2 were located to type 6.
Dimension 3 not active but higher dimensions are?
Coordinates defined in 2 dimensions
Created 32 divisions in 8 cells for rotation [0.5  1].
Elementtype 404 extruded to type 808.
Allocated for 6 new BC lists
Extruded mesh has 5760 elements in 32 levels.
Simple extrusion would have 6400 elements
Cylindrical geometry with r1=0.5 r2=1 for 7623 nodes.
1375/7623 candidates for duplicate nodes.
Found 528 double nodes in 944625 tests.
Eliminated 1860 nodes from topology.
Extruded BCs list 0 of types [1,1] has 320 elements.
Extruded BCs list 1 of types [2,2] has 320 elements.
Extruded BCs list 2 of types [3,3] has 320 elements.
Extruded BCs list 3 of types [4,4] has 256 elements.
Extruded BCs list 4 of types [5,5] has 320 elements.
Extruded BCs list 5 of types [6,6] has 256 elements.
7623 original nodes moved to 6523 new ones.
Reordering 6523 knots and 5760 elements in 3-dimensions.
Ordering with (100*x + 1*y + 1e+004*z)
Moving knots to new positions
Moving the elements to new positions
Moving the parents of the boundary nodes.
Indexwidth of the new node order is 816.
Cylindrical coordinate for r1=0.5 and r2=1.
Improving cylindrical mesh quality r1=0.5, r2=1 and c=0.7887
Created 5760 elements and 6523 nodes by rotation of 360 degrees.

Elmergrid saving data with method 2:
-------------------------------------
Saving mesh in ElmerSolver format to directory wire.
Reusing an existing directory
Saving 6523 coordinates to mesh.nodes.
Saving 5760 element topologies to mesh.elements.
Saving boundary elements to mesh.boundary.
Saving header info to mesh.header.

Thank you for using Elmergrid!
Send bug reports and feature wishes to elmeradm@csc.fi

Similarly, 'elmergrid 1 2 angle3d' produces the following error:
"There is a risk that somethings was missed in line:
Element Densities 3 = 1"

Code: Select all

Starting program Elmergrid
Elmergrid reading in-line arguments
Output will be saved to file angle3d.

Elmergrid loading data:
-----------------------
Loading the geometry from file 'angle3d.grd'.
Loading ElmerGrid file version: 210903
Defining the coordinate system (3-DIM).
Loading 2 subcell sizes in X-direction
Loading 2 subcell sizes in Y-direction
Loading 1 subcell sizes in Z-direction
Loading material structure
Loading boundary conditions
Found 1 boundaries
There is a risk that somethings was missed in line:
Element Densities 3 = 1
The program encountered a minor error...
Check your output line length!

...we'll try to continue...
Reached the end of command file
Found 1 divisions for grid

Loading ElmerGrid commands from file 'angle3d.grd'.
There is a risk that somethings was missed in line:
Element Densities 3 = 1
The program encountered a minor error...
Check your output line length!

...we'll try to continue...
Reached the end of command file
Read commands from a file

Elmergrid creating and manipulating meshes:
-------------------------------------------
3 cells were created.
Numbered 96 knots in 75 4-node elements.
Numbering order was <x><y> and max levelwidth 13.
40 element sides between materials 0 and 1 were located to type 1.
Created 4 extruded divisions.
Elementtype 404 extruded to type 808.
Allocated for 3 new BC lists
Extruded mesh has 300 elements in 4 levels.
Simple extrusion would have 300 elements
Extruded BCs list 0 of types [1,1] has 160 elements.
Layer BCs list 1 of types [2,2] has 75 elements.
Layer BCs list 2 of types [3,3] has 75 elements.
Created 300 elements and 480 nodes by extruding the 2D geometry

Elmergrid saving data with method 2:
-------------------------------------
Saving mesh in ElmerSolver format to directory angle3d.
Saving 480 coordinates to mesh.nodes.
Saving 300 element topologies to mesh.elements.
Saving boundary elements to mesh.boundary.
Saving header info to mesh.header.

Thank you for using Elmergrid!
Send bug reports and feature wishes to elmeradm@csc.fi

I guess there have been quite a few elmergrid changes since last time I used it? I flipped through some of the release notes but didn't notice anything specific.

Post Reply