About the use of Rectangle

Asked by Dupront on 2013-01-29

Hello,
  I am using Rectangle to create 2D channel flow
meshes.
  How can I make the lines parallel to the walls
follow a geometric progession in order to refine
the mesh near the walls.

Thanks a lot in advance.

Question information

Language:
English Edit question
Status:
Answered
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Last query:
2013-01-29
Last reply:
2013-01-29
Anders Logg (logg) said : #1

On Tue, Jan 29, 2013 at 09:21:00AM -0000, Dupront wrote:
> New question #220424 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/220424
>
> Hello,
> I am using Rectangle to create 2D channel flow
> meshes.
> How can I make the lines parallel to the walls
> follow a geometric progession in order to refine
> the mesh near the walls.
>
> Thanks a lot in advance.

There is no support for that. My suggestion would be to write your own
version of the RectangleMesh class where you distribute the lines
according to whichever distribution myou want.

--
Anders

Can you help with this problem?

Provide an answer of your own, or ask Dupront for more information if necessary.

To post a message you must log in.