# DMPlexCreateFluent
Create a `DMPLEX` mesh from a Fluent mesh file. 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexCreateFluent(MPI_Comm comm, PetscViewer viewer, PetscBool interpolate, DM *dm)
```
Collective


## Input Parameters

- ***comm  -*** The MPI communicator
- ***viewer -*** The `PetscViewer` associated with a Fluent mesh file
- ***interpolate -*** Create faces and edges in the mesh



## Output Parameter

- ***dm  -*** The `DM` object representing the mesh



## Note
http://aerojet.engr.ucdavis.edu/fluenthelp/html/ug/node1490.htm




## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMCreate()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexfluent.c.html#DMPlexCreateFluent">src/dm/impls/plex/plexfluent.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexfluent.c.html#DMPlexCreateFluent_ReadString">DMPlexCreateFluent_ReadString in src/dm/impls/plex/plexfluent.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexfluent.c.html#DMPlexCreateFluent_ReadValues">DMPlexCreateFluent_ReadValues in src/dm/impls/plex/plexfluent.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexfluent.c.html#DMPlexCreateFluent_ReadSection">DMPlexCreateFluent_ReadSection in src/dm/impls/plex/plexfluent.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexfluent.c)


[Index of all DMPlex routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
