Skip to content

A body fitted version of OpenFOAM's blockMesh

Notifications You must be signed in to change notification settings

calculix/blockMeshBodyFit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

blockMeshBodyFit

A body fitted version of OpenFOAM's blockMesh. Solves Poisson grid equations to place interior points. So far no attempt is made to adjust cell sizes and grid orthogonality near boundaries. Grading is supported though.

As a solver for the linear system resulting from the Poisson equations, the code is relying on AMGCL (https://github.com/ddemidov/amgcl). In AMGCL the so-called builtin solver is used, which has no external dependency, except the boost library.

Testing: Do a wmake in the lib and app directory respectively. Take a OpenFOAM case, and place the provided testCase blockMeshDict file in the constant/polyMesh directory. Place the stl-file in constant/triSurface and run "blockMeshBoyFit".

Dependencies: You need to install the boost library!

Works with OF2.3

About

A body fitted version of OpenFOAM's blockMesh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 63.1%
  • C 19.5%
  • CMake 12.6%
  • CSS 1.9%
  • Python 1.5%
  • Pascal 0.9%
  • Other 0.5%