multi stage solution Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » multi stage solution « Previous Next »

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

Ray Anderson (raymonda)
New member
Username: raymonda

Post Number: 1
Registered: 12-2004
Posted on Friday, December 03, 2004 - 02:55 pm:   

I'm trying to set up a simple simulation to determine the impedance of a stripline transmission line. I have an electrostatic 2D simulation working that calculates the PUL capacitance of the line. I want to run the simulation twice, once with the Er set to 1 (for a vacuum) and then again with the Er set to the appropriate value for some dielectric. Then I can calculate the impedance Z as 1/[c*sqrt(C*Co)] where C and Co are the capacitances with and without the dielectric in place. I am able to use the STAGED keyword to accomplish running the simulation as described and to utilize HISTORY to plot the results of the two simulations wrt the STAGE variable. Is there a way to get at the results of the various staged simulations to calculate a final result based on the two earlier runs? So far I haven't been successful.

-Raymonda
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 270
Registered: 06-2003
Posted on Friday, December 03, 2004 - 03:55 pm:   

There is no mechanism to feed data forward across more than one stage (the result of a stage becomes the initial condition for the next).

But if you use TRANSFER(...) output, you will get a series of files with the staged data. You can subsequently read these files in a second script and combine them in any way you want.
Top of pagePrevious messageNext messageBottom of page Link to this message

Juergen Hasch (juhasch)
New member
Username: juhasch

Post Number: 1
Registered: 12-2004
Posted on Sunday, December 05, 2004 - 03:46 pm:   

I have done this for a microstrip line some time ago. Attached is my input file (sorry the comments are in german).
You have to run the script twice to get the correct results.
Also, when you run the script for the very first time, replace the "transfer" statement with "cair=0", because FlexPDE will not run without a transfer file being created first.
application/octet-streammicrostrip.pde
microstrip.pde (1.5 k)


...Juergen

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