Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

A simple question...

Please login with a confirmed email address before reporting spam

How does one set up a system where the following types of simple 1-D problems can be solved?

1. u''(x) = f(x), u(a) = A, u(b) = B, a and b within the domain but not necessarily on the boundaries.

2. u''(x) = f(x), u(a) = A, u'(b) = B, a and b within the domain but not necessarily on the boundaries.

These are simple to do analytically, and to program in FD form.

For example, let u'' = 2, u(0) = 0, u'(0) = 0. This is an initial value problem in which the value or its derivative on the right boundary is unspecified. It has the solution u(x) = x^2.

How does one set this up in Comsol? If tried all the obvious approaches twiddling the boundary conditions in various ways but can't get the right answer.

Anyone know how to do this?

Thanks

0 Replies Last Post 2010年2月13日 GMT-5 04:26
COMSOL Moderator

Hello Davis Sentman

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.