:orphan:
# DMPlexCreateFluentFromFile
Create a `DMPLEX` mesh from a Fluent mesh file 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexCreateFluentFromFile(MPI_Comm comm, const char filename[], PetscBool interpolate, DM *dm)
```
Collective


## Input Parameters

- ***comm        -*** The MPI communicator
- ***filename    -*** Name of the Fluent mesh file
- ***interpolate -*** Create faces and edges in the mesh



## Output Parameter

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





## See Also
 [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexCreateFromFile()`, `DMPlexCreateFluent()`, `DMPlexCreate()`

## Level
beginner

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


---
[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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
