SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] reading structured mesh


Chronological Thread 
  • From: Michael Callahan <callahan@sci.utah.edu>
  • To: lgraham@postoffice.utas.edu.au
  • Cc: scirun-users@sci.utah.edu
  • Subject: Re: [SCIRUN-USERS] reading structured mesh
  • Date: Tue, 01 Mar 2005 08:53:10 -0700

This was a bug on our end in the StructQuadSurfMesh writer.  It was
fixed a while back and should be working with the latest (beta) release.
Or you can fix it in your tree or send me the text file and I'll convert
it for you.  For more details on that bug see 
http://software.sci.utah.edu/bugzilla/show_bug.cgi?id=1862

  Michael

On Tue, 2005-03-01 at 14:08 +1000, lgraham@postoffice.utas.edu.au wrote:
> 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         ==
> ===========================================================================

===========================================================================
== 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