Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2010年4月5日 GMT-4 22:17
I haven't tried working in 1D yet, but aren't you seeing a basic property of the finite element method here?
In 2D graphing, for instance, if you try to fit a higher order curve solution with a finite number of lower order elements, then the solution will change with the number of elements. It's like plotting a complex curve using short straight line segments: the more segments, the better fit.
If you had an exponential order 1D element, it would solve your problem with any arbitrary number of elements.
I took a quick look at the elements available and I see linear, quadratic, .... up to quintic. No exponential there. I think you're stuck with mesh dependent solutions.
Maybe I'm missing something in your question, but I learned a little from thinking about it anyway.
-Jeff
I haven't tried working in 1D yet, but aren't you seeing a basic property of the finite element method here?
In 2D graphing, for instance, if you try to fit a higher order curve solution with a finite number of lower order elements, then the solution will change with the number of elements. It's like plotting a complex curve using short straight line segments: the more segments, the better fit.
If you had an exponential order 1D element, it would solve your problem with any arbitrary number of elements.
I took a quick look at the elements available and I see linear, quadratic, .... up to quintic. No exponential there. I think you're stuck with mesh dependent solutions.
Maybe I'm missing something in your question, but I learned a little from thinking about it anyway.
-Jeff
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2010年4月6日 GMT-4 03:31
the problem you describe dont have a solution [ "not well posed" ] but comsol dont know that this is why he try and provide "garbage".. this is the old wisdom
Garbage in -> Garbage out :-)
JF
the problem you describe dont have a solution [ "not well posed" ] but comsol dont know that this is why he try and provide "garbage".. this is the old wisdom
Garbage in -> Garbage out :-)
JF
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2010年4月6日 GMT-4 11:54
ditto -
your BC u(x=1)=0 cannot be satisfied with the DE. Another way to look at it is this- You have a first order DE but two BC's thus the problem is overspecified and not well posed.
ditto -
your BC u(x=1)=0 cannot be satisfied with the DE. Another way to look at it is this- You have a first order DE but two BC's thus the problem is overspecified and not well posed.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2010年4月9日 GMT-4 19:05
just wanted to point out that if the second boundary condition satisfied the solution...
i.e. analytic solution was Ae^-x and based on boundary 0, A was equal to unity...
then inserting u(x=0)=1 and u(x=1)=e^(-x)
in this manner your second boundary condition satifies the DE.
just wanted to point out that if the second boundary condition satisfied the solution...
i.e. analytic solution was Ae^-x and based on boundary 0, A was equal to unity...
then inserting u(x=0)=1 and u(x=1)=e^(-x)
in this manner your second boundary condition satifies the DE.