Robert Koslover
Certified Consultant
Please login with a confirmed email address before reporting spam
Posted:
1 year ago
Nov 16, 2023, 9:08 p.m. EST
Updated:
1 year ago
Nov 16, 2023, 9:18 p.m. EST
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.