Author |
Message |
Mehdi Naderi (mnader4)
Member Username: mnader4
Post Number: 6 Registered: 12-2006
| Posted on Monday, March 05, 2007 - 03:12 pm: | |
Hi, Could you help me? I want to find a variable (Damage) which depends to the number of cycle (the attached file). I think Flexpde is unable to do that. Or not how can I determine it. I need to put damage in the PDE(time dependent) which Flexpde will solve. while fpde is solving the pde, it is important to put that damage related to the specified time or cycle. Sincerely, Mehdi
|
Robert G. Nelson (rgnelson)
Moderator Username: rgnelson
Post Number: 778 Registered: 06-2003
| Posted on Monday, March 05, 2007 - 04:22 pm: | |
This makes no sense. "Cycle" is not a meaningful measure in a PDE problem. The sequence of "cycles" will depend on how the timestep control chooses to set the timesteps. If you run twice with different timestep controls, you will get different sequences for D, even though the solution of the PDE might be identical.
|
Mehdi Naderi (mnader4)
Member Username: mnader4
Post Number: 7 Registered: 12-2006
| Posted on Monday, March 05, 2007 - 05:16 pm: | |
Hi Mr. Nelson, Thank you so much. the No. of cycle is equivalent to time (No. of cycle=Time*Frequency) and for me frequency is constant, so in my formula damage is a function of time. I calculated damage in matalb for every cycle. The attached file shows the results. First column is damage and second column is time. If fpde can read this file and replace damge due to its time in PDE, it will be ok. I read import and export in fpde but I have not been successful yet. Could you help me how fpde can read matlab results(especially my output) and use them in the later equations? Sincerely, Mehdi
Damage-Time or No. of cycle D.dat (68.0 k) |
|
Robert G. Nelson (rgnelson)
Moderator Username: rgnelson
Post Number: 785 Registered: 06-2003
| Posted on Saturday, March 10, 2007 - 04:54 pm: | |
The format of TABLE input for FlexPDE can be found under TABLE INPUT FORMAT in the Help Index. You can read in your tables of D, but you will have to decide what to use for a table coordinate. If you use cycle number, then you will need to define the conversion from problem time to cycle number in your importing script.
|
Mehdi Naderi (mnader4)
Member Username: mnader4
Post Number: 10 Registered: 12-2006
| Posted on Tuesday, March 27, 2007 - 06:53 pm: | |
Hi, Thank you so much. I have not solved my problem yet. I want to use Damge without coordinate. It does not depend on coordinate. I want to export damage from Matlab to FPDE with the same time steps which I calculated in Matlab. Could you help me how I can export those data without introducing of coordinate? Sincerely, Mehdi
|
Robert G. Nelson (rgnelson)
Moderator Username: rgnelson
Post Number: 797 Registered: 06-2003
| Posted on Tuesday, March 27, 2007 - 07:05 pm: | |
You should just use a TABLE to imput the sequence from Matlab. FlexPDE will interpolate in time (or whatever you choose for the name of your table coordinate). FlexPDE has its own ideas about what the integration timestep should be. It's not a good idea to try to override this.
|
Mehdi Naderi (mnader4)
Member Username: mnader4
Post Number: 11 Registered: 12-2006
| Posted on Tuesday, March 27, 2007 - 07:24 pm: | |
Hi, Thank you so much. Damage depends on time and in my table I can have just damage and time. how can I tell to fpde that one of my table inputs is time? I am going to import a table with below format (a table without coordinate): time 1 2 3 4 . . . Damage 0.00001 0.00002 0.000025 0.00007 . . . Is it true format? Sincerely, Mehdi
|
Robert G. Nelson (rgnelson)
Moderator Username: rgnelson
Post Number: 798 Registered: 06-2003
| Posted on Tuesday, March 27, 2007 - 07:53 pm: | |
See "TABLE input function" and "TABLE file format" in the Help Index and the example script "Samples | Misc | Table.pde". Use T as the table coordinate, and it will be associated with time in the PDE script.
|
Jessy Lowie (jessyl)
New member Username: jessyl
Post Number: 1 Registered: 08-2007
| Posted on Friday, August 10, 2007 - 06:31 am: | |
>> See "TABLE input function" Thank you, Robert for your help! I looking this information for a long time! Jessy Lowie. JMP manager. low fat recipes jmp@best diet plans.com
|