STRETCHING AND SHRINKING DOMAINS Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » STRETCHING AND SHRINKING DOMAINS « Previous Next »

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

Mauro Chierici Lopes (chierici)
Member
Username: chierici

Post Number: 10
Registered: 01-2006
Posted on Friday, January 20, 2006 - 05:55 am:   

I interchanged left and right moving boundary conditions in the sample stretchx. I wait that the domain shrank, but this did not function. Why? How to work with domains that shrink?
Thank you.
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 531
Registered: 06-2003
Posted on Thursday, February 02, 2006 - 06:00 pm:   

Interchanging the boundary conditions does not result in the definition of a shrinking domain.
1) The parameter "lmove" is the end-point coordinate, and must have the sign of time reversed.
2) The initial values of velocity must be negated.
3) Value BC's on vx must be negated, but those on Xm must not.
4) in a shrinking domain, the boundaries encroach on the gaussian, so U=0 is no longer a valid BC on U. Value(U)=U0 works better.

If you think about what the problem means, you can come up with a consistent conversion to a shrinking domain that works successfully.

Note: U develops some saw-tooth structure at late time. This may be due to interpolation errors in the initial values, or it may be a result of incomplete treatment of Jacobian terms in velocity. I will investigate.

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