I am new to Gmsh and I am having trouble creating a circle with a coarse mesh. I use
Geometry->Elementary entities->Add->Circle
to create the geometry and then
Mesh->1D
to create a mesh. Then I can can refine the mesh using Mesh->Refine by splitting but there seems to be no option for coarsening the mesh?
For other shapes/dimensions I can easily coarsen the mesh using the .geo file directly. For example, I created a planar rectangle in 3D and use the 'h' parameter in my .geo file to make the mesh finer/coarser. Here is that .geo file:
h = 1;
//+
Point(1) = {-1, -1, 0, h};
//+
Point(2) = {1, -1, 0, h};
//+
Point(3) = {1, 1, 0, h};
//+
Point(4) = {-1, 1, 0, h};
//+
Line(1) = {1, 2};
//+
Line(2) = {2, 3};
//+
Line(3) = {3, 4};
//+
Line(4) = {4, 1};
//+
Line Loop(1) = {3, 4, 1, 2};
//+
Plane Surface(1) = {1};
But my .geo mesh for the circle doesn't to have any place I can use a variable such as 'h' above to refine/coarsen the mesh for the circle:
//+
SetFactory("OpenCASCADE");
Circle(1) = {0, 0, 0, 1, 0, 2*Pi};
So how can I create coarser meshes for the circle either in Gmsh or directly using some parameter in the .geo file?