[Gmsh] anisotropic boundary layers

Nico Schlömer nico.schloemer at gmail.com
Sat Jul 6 13:43:06 CEST 2013


Hi all,

I'd like to create a boundary layer that is only refined normal to an edge.
I tried

// ============================
Point(1) = {0, 0, 0};
Point(2) = {1, 0, 0};
Point(3) = {0, 1, 0};

Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 1};

Line Loop(4) = {1, 2, 3};
Plane Surface(5) = {4};

Field[1] = BoundaryLayer;
Field[1].EdgesList = {2};
Field[1].hfar = 0.05;
Field[1].hwall_n = 0.001;
Field[1].hwall_t = 0.010;
Field[1].ratio = 5.0;
Field[1].thickness = 0.1;
Field[1].AnisoMax = 100.0;

Background Field = 1;
// ============================

but the refinement is also tangential to the mesh. How do I best adapt the
parameters?

Cheers,
Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130706/4a539409/attachment.html>