1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Non-uniform grid via coordinate transformation in Comsol

  1. Feb 12, 2014 #1
    Hi all,

    I would like to know if there is a way to construct a non-uniform grid using coordinate transformation in Comsol. More specifically, I have a PDE on a rectangle and I would like to transform the equidistant grid on the x axis

    x1_m = m/M, where m = 1,...,M

    to the following one

    x2_m = A + B * sinh(c1*x1_m + c2*(1 − x1_m)), where A, B, c1 and c2 are scalars.

    The reason for this transformation is that choosing adequately c1 and c2 will lead to a finer mesh around B.

    Then, I would like to do the same kind of tranform for the y axis. I tried with the distribution option using a Free Quad meshing, but it is linked to a boundary, as I understand.

    Thanks in advance.
     
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted



Loading...
Similar Threads for uniform grid coordinate
Curvilinear coordinate adaptive method in COMSOL