Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Apr 5, 2010, 10:17 p.m. EDT
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
Apr 6, 2010, 3:31 a.m. EDT
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
Apr 6, 2010, 11:54 a.m. EDT
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
Apr 9, 2010, 7:05 p.m. EDT
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.