Problem due to limited mesh size in s... Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Problem due to limited mesh size in student version? « Previous Next »

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

larssl
Member
Username: larssl

Post Number: 4
Registered: 06-2010
Posted on Monday, July 19, 2010 - 10:35 am:   

Dear FlexPDE creators,

I'm wondering if some numerical instabilities in my solutions are due to the limited mesh size in the student version or more likely some error in my script. The problem is of the diffusion-reaction type, and the solution is a gaussian-like peak in 1D. I've plotted the variation of the peak amplitude as a function of domain length L, attached. The oscillations increase greatly in amplitude when the domain length is increased. They can be seen to follow each other for both value and natural BC's, and are also exactly the same when varying other parameters. Are these oscillations most likely due to the limited mesh size?

If necessary I'll post the program code later.

image/pngPlot of oscillations
domain_length_variation_oscillations.png (13.9 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

rgnelson
Moderator
Username: rgnelson

Post Number: 1385
Registered: 06-2003
Posted on Monday, July 19, 2010 - 01:05 pm:   

It is possible that such oscillations are due to limited mesh size in the student version. A Gaussian is poorly approximated by polynomials unless the mesh is dense. If by increasing the domain length you decrease the number of cells in the Gaussian, then this could be the problem.

You should post the script so that we can validate our assumptions about this.
Top of pagePrevious messageNext messageBottom of page Link to this message

larssl
Member
Username: larssl

Post Number: 5
Registered: 06-2010
Posted on Wednesday, October 13, 2010 - 12:43 pm:   

Sorry, I never got back to you on this. I ordered the 1D professional version, and that immidiately allowed me to solve the system over a much larger area without the described oscillations in the solution.

In other words, the oscillations _were_ due to the limited mesh size in the student version, and this particular problem is now solved for my part.

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