You can subscribe to this list here.
2003 
_{Jan}
(4) 
_{Feb}
(1) 
_{Mar}
(9) 
_{Apr}
(2) 
_{May}
(7) 
_{Jun}
(1) 
_{Jul}
(1) 
_{Aug}
(4) 
_{Sep}
(12) 
_{Oct}
(8) 
_{Nov}
(3) 
_{Dec}
(4) 

2004 
_{Jan}
(1) 
_{Feb}
(21) 
_{Mar}
(31) 
_{Apr}
(10) 
_{May}
(12) 
_{Jun}
(15) 
_{Jul}
(4) 
_{Aug}
(6) 
_{Sep}
(5) 
_{Oct}
(11) 
_{Nov}
(43) 
_{Dec}
(13) 
2005 
_{Jan}
(25) 
_{Feb}
(12) 
_{Mar}
(49) 
_{Apr}
(19) 
_{May}
(104) 
_{Jun}
(60) 
_{Jul}
(10) 
_{Aug}
(42) 
_{Sep}
(15) 
_{Oct}
(12) 
_{Nov}
(6) 
_{Dec}
(4) 
2006 
_{Jan}
(1) 
_{Feb}
(6) 
_{Mar}
(31) 
_{Apr}
(17) 
_{May}
(5) 
_{Jun}
(95) 
_{Jul}
(38) 
_{Aug}
(44) 
_{Sep}
(6) 
_{Oct}
(8) 
_{Nov}
(21) 
_{Dec}

2007 
_{Jan}
(5) 
_{Feb}
(46) 
_{Mar}
(9) 
_{Apr}
(23) 
_{May}
(17) 
_{Jun}
(51) 
_{Jul}
(41) 
_{Aug}
(4) 
_{Sep}
(28) 
_{Oct}
(71) 
_{Nov}
(193) 
_{Dec}
(20) 
2008 
_{Jan}
(46) 
_{Feb}
(46) 
_{Mar}
(18) 
_{Apr}
(38) 
_{May}
(14) 
_{Jun}
(107) 
_{Jul}
(50) 
_{Aug}
(115) 
_{Sep}
(84) 
_{Oct}
(96) 
_{Nov}
(105) 
_{Dec}
(34) 
2009 
_{Jan}
(89) 
_{Feb}
(93) 
_{Mar}
(119) 
_{Apr}
(73) 
_{May}
(39) 
_{Jun}
(51) 
_{Jul}
(27) 
_{Aug}
(8) 
_{Sep}
(91) 
_{Oct}
(90) 
_{Nov}
(77) 
_{Dec}
(67) 
2010 
_{Jan}
(25) 
_{Feb}
(36) 
_{Mar}
(98) 
_{Apr}
(45) 
_{May}
(25) 
_{Jun}
(60) 
_{Jul}
(17) 
_{Aug}
(36) 
_{Sep}
(48) 
_{Oct}
(45) 
_{Nov}
(65) 
_{Dec}
(39) 
2011 
_{Jan}
(26) 
_{Feb}
(48) 
_{Mar}
(151) 
_{Apr}
(108) 
_{May}
(61) 
_{Jun}
(108) 
_{Jul}
(27) 
_{Aug}
(50) 
_{Sep}
(43) 
_{Oct}
(43) 
_{Nov}
(27) 
_{Dec}
(37) 
2012 
_{Jan}
(56) 
_{Feb}
(120) 
_{Mar}
(72) 
_{Apr}
(57) 
_{May}
(82) 
_{Jun}
(66) 
_{Jul}
(51) 
_{Aug}
(75) 
_{Sep}
(166) 
_{Oct}
(232) 
_{Nov}
(284) 
_{Dec}
(105) 
2013 
_{Jan}
(168) 
_{Feb}
(151) 
_{Mar}
(30) 
_{Apr}
(145) 
_{May}
(26) 
_{Jun}
(53) 
_{Jul}
(76) 
_{Aug}
(33) 
_{Sep}
(23) 
_{Oct}
(72) 
_{Nov}
(125) 
_{Dec}
(38) 
2014 
_{Jan}
(47) 
_{Feb}
(62) 
_{Mar}
(27) 
_{Apr}
(8) 
_{May}
(12) 
_{Jun}
(2) 
_{Jul}
(22) 
_{Aug}
(22) 
_{Sep}

_{Oct}
(17) 
_{Nov}
(20) 
_{Dec}
(12) 
2015 
_{Jan}
(25) 
_{Feb}
(2) 
_{Mar}
(16) 
_{Apr}
(13) 
_{May}
(21) 
_{Jun}
(5) 
_{Jul}
(1) 
_{Aug}
(8) 
_{Sep}
(9) 
_{Oct}
(30) 
_{Nov}
(8) 
_{Dec}

2016 
_{Jan}
(16) 
_{Feb}
(31) 
_{Mar}
(43) 
_{Apr}
(18) 
_{May}
(21) 
_{Jun}
(11) 
_{Jul}
(17) 
_{Aug}
(26) 
_{Sep}
(4) 
_{Oct}
(16) 
_{Nov}
(5) 
_{Dec}
(6) 
2017 
_{Jan}
(1) 
_{Feb}
(2) 
_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

S  M  T  W  T  F  S 


1
(1) 
2

3

4
(1) 
5

6
(2) 
7

8

9

10
(11) 
11
(7) 
12

13

14

15
(4) 
16

17
(3) 
18

19

20

21

22
(5) 
23

24

25

26

27

28

29

30

31




From: Norbert Stoop <norbert@st...>  20081215 17:19:15

Derek Gaston wrote: > Right... I agree with all of this.... which is exactly _why_ I want a > Mesh that was created with dim=2 to be written out to an Exodus file > correctly as having dim=2. > > I guess my feeling is that most often when people are asking for a 2 > dimensional mesh... they are doing so in order to perform a calculation > in 2 dimensional space... not perform a 3D calculation on a 2D > manifold. I don't want to exclude the latter option... but it should be > just that... an _option_. > > Like John says you should have the ability to change any of the 3 of > mesh_dimension(), spatial_dimension() or LIBMESH_DIM independently... > but I would lobby for mesh_dimension() and spatial_dimension() to be the > same by default... with a user needing to elevate spatial_dimension() in > order to solve a lower dim problem in a higher dim space. Yes, I fully agree with this idea. It only requires to set spatial_dimension=mesh_dimension instead of spatial_dimension=LIBMESH_DIM in the mesh initialization routines and adding a function to override the default. Since spatial_dimension is not used at many other places, the possibility to break other things is relatively small. To me, this also sound the most consistent and the original Exodus fix will not break anything anymore. Norbert PS: Sorry, Derek, for sending you a separate copy of this message... 
From: Derek Gaston <friedmud@gm...>  20081215 15:52:50

Right... I agree with all of this.... which is exactly _why_ I want a Mesh that was created with dim=2 to be written out to an Exodus file correctly as having dim=2. I guess my feeling is that most often when people are asking for a 2 dimensional mesh... they are doing so in order to perform a calculation in 2 dimensional space... not perform a 3D calculation on a 2D manifold. I don't want to exclude the latter option... but it should be just that... an _option_. Like John says you should have the ability to change any of the 3 of mesh_dimension(), spatial_dimension() or LIBMESH_DIM independently... but I would lobby for mesh_dimension() and spatial_dimension() to be the same by default... with a user needing to elevate spatial_dimension() in order to solve a lower dim problem in a higher dim space. It's just counterintuitive that I read a 2D mesh into a 2D Mesh object and when I write it out I get a 3D mesh... Again, I'm not trying to be argumentative... I've already updated all of my regression test gold files to use 3D meshes... it still just feels wrong. Derek On Dec 15, 2008, at 7:07 AM, Norbert Stoop wrote: > Sorry for the delayed answer, I had a lot of work to do and was away > for > some days... > > Derek Gaston wrote: >> On Dec 10, 2008, at 3:07 PM, Benjamin Kirk wrote: >> >>> Because if you try adding quads to a dim=3 mesh it will fail. >> >> You're right. >> >>> And because 2D mesh which is a surface in 3D needs to be written as >>> a 3D >>> exodusII mesh, right? >> >> This I don't know. > > The short answer is: Yes, absolutely. > > The long answer: > The logical dimension of a mesh can be understood as the number of > parameters required to describe each point in it. A curve, for > instance, > needs a single parameter t which measure where along the curve you > are, > ie. it has logical dimension 1. A sheet requires two parameters > (s,t) to > describe the position on the sheet (logical dimension is 2). > Now, these objects can live in different spaces. For example, a curve > could live in 2D, meaning that each t corresponds to a point > (x(t),y(t)) > in 2D. If it lives in 3D, the positions are given as (x(t),y(t),z(t)). > The same goes for a sheet in 2D or 3D, only that x,y and z depend on t > *and* s. > This map, which brings you from the parameter space (t,s) \in R^2 to > the > physical space AFAIK is called the embedding. Ie. > f: (s,t) > R^3 > is the embedding of a sheet in 3D. > > The surface of a sphere with radius R, as an example, is given by > > x(phi,theta)=R*sin(theta)*cos(phi) > y(phi,theta)=R*sin(theta)*sin(phi) > z(phi,theta)=R*cos(theta) > > Here, you have two parameters, phi and theta, and a map which goes > from > (phi,theta) to the 3D space. The logical dimension of this surface > is 2, > but the number of coordinates to describe it in the physical space > is 3. > Since your mesh viewer does not now about the embedding map, you > *have* > to give it the cartesian coordinates, of which you need 3 here. > > I hope things are a bit more clear now... > >>> And what is the problem reading an exodusII file with a 2d mesh if >>> dim in >>> the exodus file is 3? We need to remove the assertion on read. >> >> I guess the question here is what does the dimension in the Exodus >> file mean at all? We certainly don't use it at all (except for that >> assert() in read) and as far as I can tell in my testing, none of >> Ensight, Paraview or Cubit seems to care about reading a 2D solution/ >> mesh from an Exodus file that states its dimension as 3. > > The dimensionality in the Exodus API specifies how many coordinates in > the physical space to expect for each vertex, ie. it corresponds to > LIBMESH_DIM, and not to the logical mesh dimension. > >> So why do I care... I dunno... it just makes me feel icky... and >> there >> is the chance that some code someday will assume something from a >> file >> that states its dimension as 3 and really only contains a 2D mesh. > > I guess one should be more careful with specifying the dimension of > the > physical space (LIBMESH_DIM) anyway. For example, consider a planar > mesh > in the xyplane. On this mesh, you can define vectors/gradients that > live in the xyplane. > Now, if you consider this mesh to be a planar "thing" in three > dimensions, then the crossproduct of two such vectors gives you a > vector > perpendicular to the mesh, ie. zcomponent is not zero. On the other > hand, if your mesh is really living in two dimensions (LIBMESH_DIM=2), > then the cross product of two vectors in the xyplane still will be > in > the xyplane (since the definition of the cross product differs > depending on the dimension of the *embedding* space). This difference > has physical consequences... > In other words, if you have true 2D system and you simulate with > LIBMESH_DIM=3, it *might* be that you solve it in a wrong way. > > Maybe one should be able to tell the physical dimension at the level > of > the problem and not as a compile time option for the whole library? > > > Best, > Norbert > >  > SF.Net email is Sponsored by MIX09, March 1820, 2009 in Las Vegas, > Nevada. > The future of the web can't happen without you. Join us at MIX09 to > help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Libmeshdevel mailing list > Libmeshdevel@... > https://lists.sourceforge.net/lists/listinfo/libmeshdevel 
From: John Peterson <peterson@cf...>  20081215 15:33:12

On Mon, Dec 15, 2008 at 8:07 AM, Norbert Stoop <norbert@...> wrote: > > Maybe one should be able to tell the physical dimension at the level of > the problem and not as a compile time option for the whole library? LIBMESH_DIM is a compiletime constant for both storage and efficiency's sake. It allows constructs like "Real array[LIBMESH_DIM]" and "#ifdef (LIBMESH_DIM==X)" code paths. This is a separate concept from the spatial dimension a mesh can/should have, although it must be true that mesh.spatial_dimsion <= LIBMESH_DIM. I propose that we should be able to set LIBMESH_DIM, mesh.mesh_dimension() and mesh.spatial_dimension() independently, so long as it holds that mesh.mesh_dimension() <= mesh.spatial_dimension() <= LIBMESH_DIM. Default values would match the current setup in which the spatial_dimension and LIBMESH_DIM are the same, but the user would then have the flexibility to specify say a 1D mesh living in 2D with a library compiled for 3D. I'm sure there will still be some technical issues, but the fact remains we should logically separate the three concepts.  John 
From: Norbert Stoop <norbert@st...>  20081215 14:07:10

Sorry for the delayed answer, I had a lot of work to do and was away for some days... Derek Gaston wrote: > On Dec 10, 2008, at 3:07 PM, Benjamin Kirk wrote: > >> Because if you try adding quads to a dim=3 mesh it will fail. > > You're right. > >> And because 2D mesh which is a surface in 3D needs to be written as >> a 3D >> exodusII mesh, right? > > This I don't know. The short answer is: Yes, absolutely. The long answer: The logical dimension of a mesh can be understood as the number of parameters required to describe each point in it. A curve, for instance, needs a single parameter t which measure where along the curve you are, ie. it has logical dimension 1. A sheet requires two parameters (s,t) to describe the position on the sheet (logical dimension is 2). Now, these objects can live in different spaces. For example, a curve could live in 2D, meaning that each t corresponds to a point (x(t),y(t)) in 2D. If it lives in 3D, the positions are given as (x(t),y(t),z(t)). The same goes for a sheet in 2D or 3D, only that x,y and z depend on t *and* s. This map, which brings you from the parameter space (t,s) \in R^2 to the physical space AFAIK is called the embedding. Ie. f: (s,t) > R^3 is the embedding of a sheet in 3D. The surface of a sphere with radius R, as an example, is given by x(phi,theta)=R*sin(theta)*cos(phi) y(phi,theta)=R*sin(theta)*sin(phi) z(phi,theta)=R*cos(theta) Here, you have two parameters, phi and theta, and a map which goes from (phi,theta) to the 3D space. The logical dimension of this surface is 2, but the number of coordinates to describe it in the physical space is 3. Since your mesh viewer does not now about the embedding map, you *have* to give it the cartesian coordinates, of which you need 3 here. I hope things are a bit more clear now... >> And what is the problem reading an exodusII file with a 2d mesh if >> dim in >> the exodus file is 3? We need to remove the assertion on read. > > I guess the question here is what does the dimension in the Exodus > file mean at all? We certainly don't use it at all (except for that > assert() in read) and as far as I can tell in my testing, none of > Ensight, Paraview or Cubit seems to care about reading a 2D solution/ > mesh from an Exodus file that states its dimension as 3. The dimensionality in the Exodus API specifies how many coordinates in the physical space to expect for each vertex, ie. it corresponds to LIBMESH_DIM, and not to the logical mesh dimension. > So why do I care... I dunno... it just makes me feel icky... and there > is the chance that some code someday will assume something from a file > that states its dimension as 3 and really only contains a 2D mesh. I guess one should be more careful with specifying the dimension of the physical space (LIBMESH_DIM) anyway. For example, consider a planar mesh in the xyplane. On this mesh, you can define vectors/gradients that live in the xyplane. Now, if you consider this mesh to be a planar "thing" in three dimensions, then the crossproduct of two such vectors gives you a vector perpendicular to the mesh, ie. zcomponent is not zero. On the other hand, if your mesh is really living in two dimensions (LIBMESH_DIM=2), then the cross product of two vectors in the xyplane still will be in the xyplane (since the definition of the cross product differs depending on the dimension of the *embedding* space). This difference has physical consequences... In other words, if you have true 2D system and you simulate with LIBMESH_DIM=3, it *might* be that you solve it in a wrong way. Maybe one should be able to tell the physical dimension at the level of the problem and not as a compile time option for the whole library? Best, Norbert 