[Gmsh] [multiple boundary layers]
Feilin Jia
jiafeilin1990 at gmail.com
Thu Jul 28 21:22:07 CEST 2016
Dear All,
Recently, I want to generate a mesh which has 2 boundary layers in 2
different locations. These 2 boundary layers should use different grid
size. I know how to define many boundary layers with the same grid
properties. However, I do not know how to define many boundary layers with
2 or more grid properties (e.g. grid size). The code to define boundary
layers is list as below:
Field[1] = BoundaryLayer;
Field[1].EdgesList = {5,6,7};
Field[1].Quads = 1;
Field[1].hfar = 0.5;
Field[1].hwall_n = 0.01;
Field[1].hwall_t = 0.02;
Field[1].thickness = 0.2;
Field[1].ratio = 1.2;
BoundaryLayer Field = 1;
I tried to use the code below to try, but fails:
Field[1] = BoundaryLayer;
Field[1].EdgesList = {5,6,7};
Field[1].Quads = 1;
Field[1].hfar = 0.5;
Field[1].hwall_n = 0.01;
Field[1].hwall_t = 0.03;
Field[1].thickness = 0.2;
Field[1].ratio = 1.2;
Field[2] = BoundaryLayer;
Field[2].EdgesList = {8};
Field[2].Quads = 1;
Field[2].hfar = 0.5;
Field[2].hwall_n = 0.05;
Field[2].hwall_t = 0.2;
Field[2].thickness = 2.2;
Field[2].ratio = 1.1;
BoundaryLayer Field = {1,2}
The Gmsh told me that the "BoundaryLayer Field = {1,2}" is syntax error,
and I can not find the related things in manual. Hope for your help. Thanks.
Best regards,
Feilin Jia
--
-------------------------------------------------
Feilin Jia, Research Assistant
Department of Aerospace Engineering
University of Kansas
Lawrence, Kansas, USA
-------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20160728/e698365e/attachment-0001.html>
More information about the gmsh
mailing list