GitIgnore File for openfoam

Create a .gitignore file to tell git which files or folders to ignore in your openfoam project.

# Created by https://Shodkk.com/create-gitignore (Shantanu Bombatkar) SirDeploy Package
# It helps deploy fakeserver ReactApp on Heroku and Github Pages
#  Hope it helps || Thanks for Using SirDeploy Package

### OpenFOAM ###
# Timestep directories
0.*
[1-9]*

# Fields that must get ignored
*/phi*
*/meshPhi*

# Decomposed domain
processor*

# logfiles
log.*
*log

# paraview/ParaFoam
*.foam
*.OpenFOAM
*.pvsm

# mesh data that is no dictionary
constant/polyMesh/points*
constant/polyMesh/faces*
constant/polyMesh/owner*
constant/polyMesh/neighbour*
constant/polyMesh/boundary*
constant/polyMesh/sets
constant/polyMesh/*

# Zones and levels
*Level*
*Zone*

# snappyHexMesh files that are not snappyHexMeshDict
constant/polyMesh/refinementHistory*
constant/polyMesh/surfaceIndex*
constant/triSurface

# function object and post-processing data
forces
postProcessing

# Needed when C++ code is built using the OpenFOAM library, since it does not
# use a "normal" build tool (make, cmake, ..).
lnInclude
*.dep
linux*
Darwin*

#exclude important folders and files:
!0/
!constant/thermophysicalProperties
!constant/turbulenceProperties
!system/
!.gitignore

 # Star the Repo https://github.com/shaantanu9/SirDeploy
# https://www.linkedin.com/in/shantanu-bombatkar/ 
# End of File
Download openfoam.gitignore

List Of Files and Folders That Get Ignored using this Gitignore code

Above Code Helps ignore following files from openfoam Project

Timestep directories

Fields that must get ignored

Decomposed domain

logfiles

paraview/ParaFoam

mesh data that is no dictionary

Zones and levels

snappyHexMesh files that are not snappyHexMeshDict

function object and post-processing data

Needed when C++ code is built using the OpenFOAM library, since it does not

use a "normal" build tool (make, cmake, ..).

If you have any questions or suggestions please feel free to contact us


Feedback is the most important part of any website.

If you have any query, suggestion or feedback, Please feel free to contact us.