[aspect-devel] inconsistency in use of x, y, and z

Timo Heister heister at clemson.edu
Tue Mar 10 11:19:11 PDT 2015

> In 2D the dimension of the box are set with X extent and Y extent. However, for the initial temperature
> function, the variables that need to be used are x and z.

No, the variables used in the function expression can be anything you
want and are set in "Variable names". You can call them a and b for

> This is also an issue with the boundary indicators.  To easily move from a 2D to a 3D model, the boundary
> indicators for left, right, bottom, top should remain 0-3 and adding the third dimension should add the boundary indicators 4 and 5 for the front and back.  I know you can get around this by using the words "front",  "back", etc...
> but this seems like a weird way of counting things

What is your argument for not using left/right/top/bottom/front/back?

I agree that it annoying, that the current definitions do not allow
you to switch between 2d and 3d with a single line change. There is
certainly something we can try to improve.

Timo Heister

More information about the Aspect-devel mailing list