---
name: "mkgeo_sector"
section: "1rheolef"
platform: "linux"
package: "rheolef"
version: "7.2-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mkgeo_sector"
---

# mkgeo\_sector(1rheolef)

mesh of a sector (rheolef-7.2)

## NAME

mkgeo\_sector - mesh of a sector (rheolef-7.2)

## SYNOPSIS

```
mkgeo_sector [options] n
```

## EXAMPLE

The following command build 2d unstructured mesh of the triangular region delimited by the three points (0,0), (1,0), (1,1):

```
    mkgeo_sector
    geo sector.geo
```

## DESCRIPTION

This command is convenient for building a mesh for a sector of a square pipe section, as it is a very classical benchmark in complex fluid flow problems. It calls `bamg` unstructured mesh generator. The mesh files goes on name.geo where *name* is the basename for the output (see option `-name` below). The three auxiliary files required for automatic mesh generation with Rheolef combined with `bamg` are also provided:

```
    name.bamg
    name.bamgcad
    name.dmn
```

## THE GEOMETRY

The geometry is the triangular sector (0,0), (a,0), (a,b). By default a=b=1.

`-a` *float* \
 `-b` *float*

 These options control the geometry parameters.

## THE DISCRETIZATION

The optional *n* argument is an integer that specifies the subdivision in each direction. By default n=10.

## BOUNDARY DOMAINS

The boundary sides are represented by domains: `axis`, `boundary`, and `bisector`.

## OTHERS OPTIONS

- `-name` *string*

   Set the basename for the output files. By default, the basename is `sector`.

`-[no]clean`

 Clear temporary files (this is the default).

`-[no]verbose`

 In verbose mode, print to stderr all commands and logs.

## IMPLEMENTATION

This documentation has been generated from file main/sbin/mkgeo\_sector.sh

## AUTHOR

Pierre  Saramito  \<Pierre.Saramito@imag.fr\>

## COPYRIGHT

Copyright   (C)  2000-2018  Pierre  Saramito  \<Pierre.Saramito@imag.fr\> GPLv3+: GNU GPL version 3 or later  \<http://gnu.org/licenses/gpl.html\>. This  is  free  software:  you  are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
