Data from Matlab to FPDE.... Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Data from Matlab to FPDE.... « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Mehdi Naderi (mnader4)
Member
Username: mnader4

Post Number: 15
Registered: 12-2006
Posted on Friday, May 04, 2007 - 12:09 pm:   

Dear Mr. Nelson,
I will appreciate if you help me.
I asked a question in the topic" Help me...(a varaible dependent to the No. of cycle", 03/27/07, and you answered me (importing data from matlab to fpde).
That worked, but when the number of data in the text file of matlab is too large (i.e. 50000), fpde give an error message "Memory reallocatio failed...."
How can I read a large file from matlab?
Thank you again.
Mehdi
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 837
Registered: 06-2003
Posted on Friday, May 04, 2007 - 01:01 pm:   

You should not see this kind of error unless you have used all the available RAM in your computer.

ZIP your script and data file and send it to support@pdesolutions.com, and we will try to determine the cause of this error.
Top of pagePrevious messageNext messageBottom of page Link to this message

Mehdi Naderi (mnader4)
Member
Username: mnader4

Post Number: 16
Registered: 12-2006
Posted on Monday, May 07, 2007 - 06:15 pm:   

Hi Mr. Nelson,
Thank you so much.
I sent it to you.
Sincerely,
Mehdi
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 843
Registered: 06-2003
Posted on Monday, May 07, 2007 - 09:56 pm:   

The problem is that you have no newlines in your file.
FlexPDE reads each line of the TABLE file into a string buffer of maximum size 32767 characters. You table lines are 70,000 characters long.

Write out your table file with some program that puts in an occasional linefeed.
Top of pagePrevious messageNext messageBottom of page Link to this message

Andre Morson (andre)
New member
Username: andre

Post Number: 1
Registered: 01-2008
Posted on Tuesday, January 22, 2008 - 12:57 am:   

Hi there,

I'm sorry if this question has already been asked, perhaps you can point me in the right direction?

I was hoping to export the streamline function as a vector that could possibly be entered into Matlab.

Do you know if this is possible?

- Andre
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 1049
Registered: 06-2003
Posted on Tuesday, January 22, 2008 - 06:31 pm:   

If you are solving a stream-function model of fluid flow, then the streamlines are the contours of the stream function.

FlexPDE can export contour traces if you plot a contour plot and append TRACES to the plot qualifiers.

If you are solving some other flow model, then you will have to export the velocity field and read it in to another FlexPDE run that computes and exports the stream function.

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration