Using TRANSFER Out/In for time depend... Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Using TRANSFER Out/In for time dependent problems « Previous Next »

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

Kyle (kyle)
Member
Username: kyle

Post Number: 12
Registered: 08-2006
Posted on Friday, November 10, 2006 - 11:28 am:   

The sample problems:
Samples|Misc|Import-Export|Transfer_Out/In.pde
do not cover the transient case.

To transfer out (1 variable and 2 global variables) it looks like under the PLOTS section of the script the command is:
TRANSFER(Var1, GlobalVar1, GlobalVar2) file = "Transfer.dat"

To re-start the problem with a TRANSFER In command is not clear to me. I expect part of the command in the DEFINITIONS section of the script is:
TRANSFER('Transfer.dat', Var1, GlobalVar1, Global2)
But what about the INITITAL CONDITIONS and TIME range for the re-start? Are the initial conditions set automatically and the section should be left empty? Should the time range for the re-start begin at the same as the transfer out time or does it re-set to zero for a re-start? Please advise.

Best Regards,

Kyle
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 705
Registered: 06-2003
Posted on Saturday, November 11, 2006 - 03:07 pm:   

1.
If you want to preserve the mesh at the point of the output transfer, you should use TRANSFERMESH(...) to read it in.

2.
FlexPDE has no knowledge of the fact that this is a restarted problem. It must be told in the TIME section what time to ascribe to the restart.

3.
You need to read the transfer variables into dummy names and assign them to the initial values.
TRANSFER('transfer.dat', dummyvar1, dummyvar2, etc)
INITIAL VALUES
var1=dummyvar1
var2=dummyvar2
!etc...

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