Varying the time increment Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Varying the time increment « Previous Next »

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

Paul Harrison (pmh501)
New member
Username: pmh501

Post Number: 1
Registered: 04-2009
Posted on Tuesday, April 28, 2009 - 07:05 am:   

Dear Sir,

I have a question about the timestep that can be used with FlexPDE Professional 6.04 (2D version).

I am currently using FlexPDE to simulate thermal heatflow of laser pulses on a target material. I have a 40 nsec (FWHM) laser pulse, and I want to see how much residual heat is remaining at the surface of the target when the next pulse arrives 167 microsecs later.

I am using the time command:

time 0 by 1e-8 to 167e-6

which works well, but is very very slow and generates huge datafiles. I need to keep the short time increment of 10 nsecs in order for the laser pulse to be "seen" by FlexPDE, but after the pulse has finished I wonder if a longer time division would produce faster results (say 50 nsecs or 100 nsecs).

Is there a way to do this with FlexPDE? I have tried using 2 time commands such as this :

time 0 by 1e-8 to 1e-6
time 1e-6 by 50e-8 to 167e-6

but FlexPDE does not like it.

Is there any other solution?

Thanks for your help (and for some great software)
Kind Regards,

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

Marek Nelson (mgnelson)
Moderator
Username: mgnelson

Post Number: 120
Registered: 07-2007
Posted on Tuesday, April 28, 2009 - 03:57 pm:   

Historically we have used the MONITORS or PLOTS section to force a timestep at a given time.
For example :
TIME 0 to 167e-6
MONITORS
for t=0 1e-6 2e-6 167e-6

This would force a timestep at the times 1e-6 and 2e-6.

In version 6.05 we have also added a new mechanism that may be useful for you in this regard: the CRITICAL time section. This forces a timestep at specific times in the same fashion as mentioned above without forcing a MONITOR or PLOT. (It does not currently allow the use of BY and TO as do the MONITORS and PLOTS sections).
For example:
TIME 0 to 167e-6
CRTITICAL 1e-6 2e-6

You can download the version update at www.pdesolutions.com/sdmenu6.html

If you post your script, I can take a look. Alternatively, if you do not wish your script posted publicly, you can email it to support@pdesolutions.com .

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