SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] reading structured mesh


Chronological Thread 
  • From: lgraham@postoffice.utas.edu.au
  • To: scirun-users@sci.utah.edu
  • Subject: [SCIRUN-USERS] reading structured mesh
  • Date: Tue, 01 Mar 2005 14:08:33 +1000
  • Organization: University of Tasmania


G'day,

I'm trying to read in a 2D square structured mesh (100x100 node) into SCIRun.

I'm using the converter "TextToStructQuadSurfField":

> TextToStructQuadSurfField squareMesh.txt squareMesh.fld

where sqaureMesh.txt contains the x y z node locations:

100 100
0.00000000E+00 0.00000000E+00 0.00000000E+00
8.08080808E-01 8.98989899E-01 0.00000000E+00
3.03030303E-02 9.19191919E-01 0.00000000E+00
5.95959596E-01 1.00000000E+00 0.00000000E+00
9.49494949E-01 9.19191919E-01 0.00000000E+00
1.71717172E-01 9.39393939E-01 0.00000000E+00
.
.
etc.

but when I enter the follow command: 

> TextToStructQuadSurfField squareMesh.txt squareMesh.fld -debug
number of points = (100 100)
done adding points.
>

the node locations are not written to the sqareMesh.fld file:

SCI
ASC
1
{@1 {StructQuadSurfField<double> 1
{GenericField<StructQuadSurfMesh,FData2d<double>> 1 {Field 1 4
{PropertyManager 2 0 }
}
{StructQuadSurfMesh 1 {Mesh 2 {PropertyManager 2 0 }
}
100 100 }
{Array2 1 0 0 }
}
}
}


I tried to view the squareMesh.fld in SCIRun but I got errors.

There might be something simple that I'm missing out here, does anyone
know what the problem is?



Leon





 


===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================





Archive powered by MHonArc 2.6.16.

Top of page