SCIRun User Mailing List

Text archives Help

Re: [SCIRUN-USERS] Difficulty with the "BuildFeMatrix" in ScirRun 4.7, 5,0

Chronological Thread 
  • From: jess <>
  • To: Douglas Wallace Todd <>
  • Cc:
  • Subject: Re: [SCIRUN-USERS] Difficulty with the "BuildFeMatrix" in ScirRun 4.7, 5,0
  • Date: Thu, 19 Mar 2020 15:49:08 -0600

Hi Douglas,

SCIRun fields can have data located at the nodes or the elements, which SCIRun then interprets as a linear or constant basis for interpolating data over an element.   The BuildFEmatrix is designed to work for data located on the elements.  There are many ways to get the data on the elements in SCIRun, but I think in this case, you will only need to change the CreateLatVol to have data located at the cells (cells are volumetric elements in SCIRun). 

In general, moving data between data locations can be done with MapFieldDataFromNodeToElem and its reciprocal, MapFieldDataFromElemToNode.  ConvertFieldBasis will do a similar mapping with fewer options.  Some other modules have options for data locations similar to CreateLatvol, eg, CreateFieldData. 



On Mar 19, 2020, at 2:39 PM, Douglas Wallace Todd <> wrote:

Good Afternoon

I am trying to follow the Difiberelator tutorial in the SciRun 4.7 documentation. It appears that the BuildFeMatrix is returning with an error. 

The error states:

ERROR: (SCIRun_FiniteElements_BuildFEMatrix_0:BuildFEMatrix) This function has only been defined for data that is located at the elements


The error propagates to AddKnowsToLinearsystem, SolveLinerSystem, and SetFieldData.

I am following the tutorial in the SciRun documentation at:

I have included my setup (.srn) file. 

My hope is that you help me to get a working setup. Perhaps you can send me a link, or send me a .srn file with this example to try.

I am having similar difficulties on both Windows and Linux for SciRun version 4.7 and the current version of SciRun 5.  

I look forward to hearing from you soon.


Douglas Todd

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