Problem with Table Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Problem with Table « Previous Next »

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

Jerry Brown (jerrybrown11743)
Member
Username: jerrybrown11743

Post Number: 14
Registered: 03-2004
Posted on Wednesday, November 02, 2005 - 04:08 pm:   

I am having trouble using "Table" to transfer data between PDE problems.
Here is the line of script that produces the output.

elevation(ex) on 'end' as "x strain at right end" export file = 'ex.tbl'

This generates the file ex.tbl as desired. The problem is with the range of the coordinate. The feature named 'end' looks like this,

start 'end' (L-.01, W/2) line to (L, -W/2)

In the attached example L=6 and W=1
The coordinate labled 'X' in the file has a range of 0 to 0.9984874206. I can't understand how 'X' is being calculated. It doesn't seem to correspond to the disatance along 'end' or to the x or y coordinate. I would like for 'X'in the file to correspond to the y coordinate in the problem.
application/octet-streamTable problem
Basic 2D model.pde (3.5 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

Jerry Brown (jerrybrown11743)
Member
Username: jerrybrown11743

Post Number: 15
Registered: 03-2004
Posted on Thursday, November 03, 2005 - 12:53 pm:   

I've continued to investigate this. It looks like the "X" coordinate in the "table" file is distance along the "feature". But the last data point is being left off. Can this be fixed?
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 488
Registered: 06-2003
Posted on Thursday, November 03, 2005 - 04:30 pm:   

For reasons I don't yet understand, the end point of the trace is being dropped during the refinement process. I will track this down and fix it.

In the meantime, you can use
ELEVATION(ex) FROM (L,-W/2) TO (L-0.01, W/2)
This will create a table with the Y posiiton as table coordinate (labeled "X" in the table file).
You can redefine the table coordinate in an importing script by using the TABLE('file',coordinate) format (see Table Input in the Help Index).

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