How to use partial transfer data Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » How to use partial transfer data « Previous Next »

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

Gustav Carlson (gurra_g)
New member
Username: gurra_g

Post Number: 2
Registered: 06-2006
Posted on Wednesday, July 12, 2006 - 05:41 pm:   

Hello,

I have been working on a one-dimensional problem for some time, however, the implementation is two-dimensional with NATURAL(u)=0 conditions at the y-ends. I would like to use the one-dimensional solution curve u(x) as boundary condition at y=0 and then use other in-outflux boundary conditions for the rest of the domain. what is the best way to do this?

Sincerely

Gustav Carlson
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 656
Registered: 06-2003
Posted on Thursday, July 13, 2006 - 02:11 pm:   

1. Export a TABLE of values from the 1D calculation. Specify enough density to resolve the shape of the curve.

2. Import the table into the 2D script, using the coordinate redefinition form of the TABLE function
Curve = Table('filename',X)

3. Use the imported data in your boundary condition
VALUE(u) = curve


(There are other ways to accomplish this, but this is probably the most straightforward).

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