FEAP User Forum

FEAP => Programming => Topic started by: dolesch on September 03, 2018, 12:48:57 AM

Title: Cell data
Post by: dolesch on September 03, 2018, 12:48:57 AM
Good morning all,

I have a question concerning the output of data in cellarray format. I want to write cell data form my element routine in form of cell data output. How can acomplish that with an umacr file?

Thanks in advance

Darius
Title: Re: Cell data
Post by: Prof. R.L. Taylor on September 03, 2018, 11:03:31 AM
I assume you want to input the data into Matlab??  If so all  you have to do is write the data as numbers in a file and then
load the file from matlab.  so if you write to a filnamed "myfile" as an array of numbers
   v11  v12   v13
   v21   v22   v23
   v31   v32   v33  etc.

Then in your matlab program you say

load myfile

v1 = myfile(:,1);
v2 = myfile(:,2);
v3 = myfile(:,3):

Is this what you want?
Title: Re: Cell data
Post by: dolesch on September 19, 2018, 02:24:08 AM
Thanks for your answer, but I found the solution(writing in the mr-field and output per umacr in vtu format)

Another questions I have,
 is there a way in feap to create paths(as an output region like in ansys)?
Title: Re: Cell data
Post by: Prof. R.L. Taylor on September 19, 2018, 05:05:17 AM
No, but you may be able to adapt the plot command to do it.

Look at SPLOt for example. It only works in 2-d

Good idea