Author Topic: Cell data  (Read 3284 times)

dolesch

  • Jr. Member
  • **
  • Posts: 30
Cell data
« 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

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Cell data
« Reply #1 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?

dolesch

  • Jr. Member
  • **
  • Posts: 30
Re: Cell data
« Reply #2 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)?

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Cell data
« Reply #3 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