Author |
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 |
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...
|
|