SCIRun User Mailing List

Text archives Help

Re: [SCIRUN-USERS] Taseen Jawad, University of Toronto, SCIRun v4.7 Debug Help

Chronological Thread 
  • From: jess <>
  • To: Taseen Jawad <>
  • Cc: "" <>
  • Subject: Re: [SCIRUN-USERS] Taseen Jawad, University of Toronto, SCIRun v4.7 Debug Help
  • Date: Mon, 18 Apr 2022 15:12:33 -0600

Hi Taseen, 

I’m having trouble reading the .fld file that you included.  It appears to be a different file type.  Make sure that it is saved out from SCIRun’s writefield module with the correct option.  

Still, I think that you might be better served using SetFieldData instead of SwapFieldDataWithMatrixEntries.  SetFieldData require a matrix with one dimension that matches either the number of nodes or the number of elements of the mesh.  Similarly, I would use ConvertIndicesToFieldData instead of setConductivities.  The fieldData should not need to be converted with these. 

If you’re having trouble checking the size of the field or matrix, the metadata can be seen with ReportFieldInfo and ReportMatrixInfo.  


On Apr 17, 2022, at 1:57 PM, Taseen Jawad <> wrote:


I am a MASc. candidate at UofT using SCIRun for my thesis. 

I am attempting to add conductivites to a mesh generated using the matlab package Iso2Mesh. I have converted my mesh to a SCIRun native .fld file. 

I am getting an error message indicating that there is a matrix dimension mismatch. I was wondering if there is any way to see the matrix dimensions read in the scirun .fld format. 

Or if there is any other good way to debug the issue.

I have attached the following files as reference:

  1. A screenshot of what I'm trying to do
  1. Create_Field_with_Conductivities_Taseen.srn  -> the SCIrun net
  1. taseen_scirun_native.fld -> the scirun native version of my mesh
  1. indexes.txt -> the matrix file of  indices (readmatrix in the net)

Any advice is appreciated!



SCIRun users mailing list:
To unsubscribe, email with the "unsubscribe scirun-users" in the message body.

Archive powered by MHonArc 2.6.18.

Top of page