Difference between revisions of "Main ContribUtilities"

From OpenFOAMWiki
 
(thermophysical)
 
(62 intermediate revisions by 26 users not shown)
Line 12: Line 12:
  
 
==== conversion ====
 
==== conversion ====
 +
 +
* [[contrib_fluentMeshToFoamWithInternals|fluentMeshToFoamWithInternals]]: modified version of fluentMeshToFoam that writes cellZones and faceZones
 +
 +
* [[contrib_gmshToFoamMod|gmshToFoamMod]]: modified version of gmshToFoam with a few optimizations. This version also has options to write cellZones, write faceZones and control the quantity of text output.
 +
 +
* [[contrib_gmsh2ToFoam|gmsh2ToFoam]]: A modified gmshToFoam with Gmsh 2.0 support and other features. The page describes gmsh2ToFoam that comes with gmshFoam (see the Other section below).
 +
 +
* [[Contrib/salomeToOpenFOAM|salomeToOpenFOAM]]: It provides a few Python scripts for assisting in the conversion of meshes created in Salome to OpenFOAM mesh format.
  
 
==== generation ====
 
==== generation ====
 +
 +
* [[contrib_blockMeshWithSets|blockMeshWithSets]]: generates a mesh from a blockMeshDict with cellSets
 +
* [[contrib_blockMeshHexModel|blockMeshHexModel]]: a paper model of the standard OF hexaeder
 +
* [[Contrib_blockMeshDG|blockMeshDG]]: A patch to the blockMesh tool to enable double graded meshes, that is meshes which have a minimum or maximum cell spacing in the middle of an edge.
  
 
==== manipulation ====
 
==== manipulation ====
  
* [[contribMakeAxialMesh|makeAxialMesh]]: converts a 2D-mesh into an axial-symmetric (wedge) mesh
+
* [[contrib_AlignMeshSurf|alignMeshSurf]]: moves mesh points in the Z direction so that the bottom and top faces are aligned with provided surfaces
 +
* [[contrib_MakeAxialMesh|makeAxialMesh]]: converts a 2D-mesh into an axial-symmetric (wedge) mesh
 +
* [[contrib_SplitMeshWithSets|splitMeshWithSets]]: variation of the original [[splitMesh]] that preserves <tt>faceSet</tt>s
  
 
=== miscellaneous ===
 
=== miscellaneous ===
 +
* [[Contrib modifyPatches‎|modifyPatches ]] is a utility used to manipulate the "constant/polyMesh/boundary" file to be used with (e.g. splitMesh or gmshToFoam)
 +
 +
* [[Contrib/cellCenters|cellCenters]]: A utility to write the position of each mesh cell center for a given timestep.
 +
 +
* [[Contrib_checkMeshEx|checkMeshEx]]: A patch to the checkMesh tool to calculate the volume ratio of adjacent cells.
  
 
=== parallelProcessing ===
 
=== parallelProcessing ===
  
 
=== postProcessing ===
 
=== postProcessing ===
 +
 +
* [[contrib_calcPressureDifference|calcPressureDifference]]: Simple Utility to calculate the Pressure Difference between two boundaries
 +
 +
* [[contrib_calcMassFlow|calcMassFlow]]: Simple Utility to calculate the mass-flow through selected boundaries and face-sets
 +
 +
* [[Contrib_foamCalcEx|foamCalcEx]]: An extension of the [http://www.openfoam.org/docs/user/cavity.php#dx5-24001 foamCalc] utility with more calculation features
 +
 +
* [[contrib_probeToAudio|probeToAudio]]: Simple auralization utility of probed data.
 +
 +
* [[computeTorque]]: Compute the pressure torque on a given patch
 +
 +
* [[contrib_wpcRAS|wpcRAS]]: Calculate true static pressure (i.e. p-2/3k) and wind pressure coefficient
 +
 +
* [[Contrib_Parallelized_Native_OpenFOAM_Reader_for_ParaView|vtk"P"OpenFOAMReader]]: Parallelized native OpenFOAM reader for ParaView/VTK
 +
 +
* [[vtkAnim]]: A small utility to make animations from cross section field data
 +
 +
* [[Contrib/reconstruct-interpolate-fields|reconstruct-interpolate-fields]]: Utilities for reconstructing and interpolating fields
 +
 +
* [[Contrib_yPlusLESTwoPhase|yPlusLESTwoPhase]]: Modified version of yPlusLES utility for interFoam results.
  
 
=== preProcessing ===
 
=== preProcessing ===
 +
 +
* [[contrib_setfieldbycellset|setFieldByCellSet]]:  sets the values of a field for a certain cell set
 +
 +
* [[contrib_funkySetFields|funkySetFields]]: set fields using expressions
 +
 +
* [[contrib_setDiscreteFields|setDiscreteFields]]: sets profiles of any vector/scalar fields at specified boundary patches with using discrete profile data
  
 
=== surface ===
 
=== surface ===
  
 
=== thermophysical ===
 
=== thermophysical ===
 +
 +
* [[Contrib/wallHeatFluxIncompressible|wallHeatFluxIncompressible]]: Utility adapted from OpenFOAM's [[wallHeatFlux]] for incompressible simulations, such as those performed with [[buoyantBoussinesqSimpleFoam]].
 +
 +
* [[Contrib/wallShearStressLES|wallShearStressLES]]: Utility based on OpenFOAM's own [[wallShearStress]] for calculating the wall shear stress for a LES simulation.
 +
 +
* [[Contrib/wallHeatFluxAutoWallTreatmentCFX|wallHeatFluxAutoWallTreatmentCFX]]: Heat flux calculation Utility based on CFX's Automatic Wall Treatment for Wall function meshes. For OF version 2.3.1 and 4.1.
  
 
== Other ==
 
== Other ==
  
 
These utilities don't fit into the above categories.
 
These utilities don't fit into the above categories.
 +
 +
* [[Contrib_gmshFoam|gmshFoam]]: A conceptual implementation of a total Gmsh pre/mid/post-processing environment for OpenFOAM
 +
 +
* [[Contrib_gdbOF|gdbOF]]: A debugging tool for OpenFOAM.

Latest revision as of 22:24, 30 January 2017

These are utilities contributed by users.

1 Utilities that fit into the OpenFOAM scheme

The structure of this page is modelled after the directory structure of the utility sources.

1.1 errorEstimation

1.2 mesh

1.2.1 advanced

1.2.2 conversion

  • gmshToFoamMod: modified version of gmshToFoam with a few optimizations. This version also has options to write cellZones, write faceZones and control the quantity of text output.
  • gmsh2ToFoam: A modified gmshToFoam with Gmsh 2.0 support and other features. The page describes gmsh2ToFoam that comes with gmshFoam (see the Other section below).
  • salomeToOpenFOAM: It provides a few Python scripts for assisting in the conversion of meshes created in Salome to OpenFOAM mesh format.

1.2.3 generation

  • blockMeshWithSets: generates a mesh from a blockMeshDict with cellSets
  • blockMeshHexModel: a paper model of the standard OF hexaeder
  • blockMeshDG: A patch to the blockMesh tool to enable double graded meshes, that is meshes which have a minimum or maximum cell spacing in the middle of an edge.

1.2.4 manipulation

  • alignMeshSurf: moves mesh points in the Z direction so that the bottom and top faces are aligned with provided surfaces
  • makeAxialMesh: converts a 2D-mesh into an axial-symmetric (wedge) mesh
  • splitMeshWithSets: variation of the original splitMesh that preserves faceSets

1.3 miscellaneous

  • modifyPatches is a utility used to manipulate the "constant/polyMesh/boundary" file to be used with (e.g. splitMesh or gmshToFoam)
  • cellCenters: A utility to write the position of each mesh cell center for a given timestep.
  • checkMeshEx: A patch to the checkMesh tool to calculate the volume ratio of adjacent cells.

1.4 parallelProcessing

1.5 postProcessing

  • calcMassFlow: Simple Utility to calculate the mass-flow through selected boundaries and face-sets
  • wpcRAS: Calculate true static pressure (i.e. p-2/3k) and wind pressure coefficient
  • vtkAnim: A small utility to make animations from cross section field data

1.6 preProcessing

  • setDiscreteFields: sets profiles of any vector/scalar fields at specified boundary patches with using discrete profile data

1.7 surface

1.8 thermophysical

  • wallHeatFluxAutoWallTreatmentCFX: Heat flux calculation Utility based on CFX's Automatic Wall Treatment for Wall function meshes. For OF version 2.3.1 and 4.1.

2 Other

These utilities don't fit into the above categories.

  • gmshFoam: A conceptual implementation of a total Gmsh pre/mid/post-processing environment for OpenFOAM
  • gdbOF: A debugging tool for OpenFOAM.