partial differential equation

Please login with a confirmed email address before reporting spam

How to specify the Neumann boundary conditions in a coefficient form partial differential equation? (The derivative of u specified by the constraint is affected by the size of the grid)


1 Reply Last Post 2023/11/16 21:08 GMT-5
Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 5 months ago 2023/11/16 21:08 GMT-5
Updated: 5 months ago 2023/11/16 21:18 GMT-5

If you use a sufficiently fine mesh and/or sufficiently high order discretization then you can usually successfully/correctly compute solutions that may have strong gradients (spatially or temporally) in their derivatives. Under those circumstances, the specification of u (or its derivative) on a boundary will not introduce a mesh-dependent effect. If you see a strong mesh dependent effect on your solution, then you need to either use a finer mesh, a higher-order discretization, or both. (And in time domain, you might need to take shorter time steps.) Note: if you are able/willing to describe a more specific math or physics problem, then you may possibly receive more useful/specific advice on this forum.

p.s. I'm assuming that by "grid" you are referring to the finite element mesh, or perhaps to size of steps in time. If you meant something else, then my answer may not apply.

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
If you use a *sufficiently* fine mesh and/or *sufficiently* high order discretization then you can usually successfully/correctly compute solutions that may have strong gradients (spatially or temporally) in their derivatives. Under those circumstances, the specification of u (or its derivative) on a boundary will not introduce a mesh-dependent effect. If you see a strong mesh dependent effect on your solution, then you need to either use a finer mesh, a higher-order discretization, or both. (And in time domain, you might need to take shorter time steps.) Note: if you are able/willing to describe a more specific math or physics problem, then you may possibly receive more useful/specific advice on this forum. p.s. I'm assuming that by "grid" you are referring to the finite element mesh, or perhaps to size of steps in time. If you meant something else, then my answer may not apply.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.