Difference between revisions of "FluentMeshToFoam"

From OpenFOAMWiki
(Tutorials)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The procedure of converting a Fluent .msh file is first to create a new OpenFOAM
+
==Name==
case.  This can be accomplished using FoamX, as described in section 5.3.2 or by copying requisite files from a tutorial case.
+
<tt>fluent3DMeshToFoam</tt> - Converts a Fluent mesh (in ASCII format) to foam format including multiple region and region boundary
  
Then at a command prompt, or from within FoamX, the user should execute:
+
{{VersionInfo}}{{Version2.1}}
  
    fluentMeshToFoam <root> <caseName> <meshFile>
+
==Synopsis==
 +
fluentMeshToFoam [OPTIONS] FLUENT_MESH
  
where <meshFile> is the name of the .msh file, including the full or relative path.
+
==Description==
 +
Convert a mesh file FLUENT_MESH from Fluent format to foam format.
  
 +
'''-scale''' ''FACTOR''
 +
:Scale the mesh geometry by ''FACTOR''. If omitted, use 1
 +
 +
'''-case''' ''DIR''
 +
:Execute the command on the case directory ''DIR''. If not provided, use the current directory
 +
'''-noFunctionObjects'''
 +
:Skip the execution of the [[functionObjects]]
 +
'''-help'''
 +
:Display the help and exit
 +
 +
See also [http://www.openfoam.org/docs/user/mesh-conversion.php paragraph 5.5.1] of the [http://www.openfoam.org/docs/user/ User Guide].
 +
 +
== Tutorials ==
 +
 +
* Tutorials by Tobias Holzmann  (update 18.10.2016)
 +
** Converting a 3D multi-region fluent mesh into a multi-region OpenFOAM mesh [http://www.holzmann-cfd.de/index.php/en/tutorials-en Multi-Region Fluent Mesh]
 +
 +
== Limitations ==
 +
* {{tt|fluentMeshToFoam}} does not work on Gambit meshes.  See [[gambitToFoam]] for more information.
 +
* {{tt|fluentMeshToFoam}} can only handle the following 2D cell types: tri, quad
 +
* {{tt|fluentMeshToFoam}} can only handle the following 3D cell types: tet, hex, pyramid, prism
 +
** For other 3D cell types, see [[fluent3DMeshToFoam]].
 +
* {{tt|fluentMeshToFoam}} requires a workaround for handling internal walls/patches: [[Howto importing fluent mesh with internal walls]]
 +
** [[fluent3DMeshToFoam]] can handle internal walls/patches.
  
(see also Chapter 6.4.1. at the User-Guide)
 
This utility does not work on Gambit meshes.  See [http://openfoamwiki.net/index.php/GambitToFoam GambitToFoam] for more information.
 
  
 
[[Category:Mesh conversion utilities]]
 
[[Category:Mesh conversion utilities]]

Latest revision as of 18:27, 21 October 2016

1 Name

fluent3DMeshToFoam - Converts a Fluent mesh (in ASCII format) to foam format including multiple region and region boundary

Valid versions: OF Version 21.png

2 Synopsis

fluentMeshToFoam [OPTIONS] FLUENT_MESH

3 Description

Convert a mesh file FLUENT_MESH from Fluent format to foam format.

-scale FACTOR

Scale the mesh geometry by FACTOR. If omitted, use 1

-case DIR

Execute the command on the case directory DIR. If not provided, use the current directory

-noFunctionObjects

Skip the execution of the functionObjects

-help

Display the help and exit

See also paragraph 5.5.1 of the User Guide.

4 Tutorials

  • Tutorials by Tobias Holzmann (update 18.10.2016)

5 Limitations

  • fluentMeshToFoam does not work on Gambit meshes. See gambitToFoam for more information.
  • fluentMeshToFoam can only handle the following 2D cell types: tri, quad
  • fluentMeshToFoam can only handle the following 3D cell types: tet, hex, pyramid, prism
  • fluentMeshToFoam requires a workaround for handling internal walls/patches: Howto importing fluent mesh with internal walls