Please enable JavaScript to view this site.

GeoDict User Guide 2025

User-Defined Functions (UDFs)

You may change some of the inbuilt functionality of FilterDict with the help of user defined functions. FilterDict UDFs are written in C++. Five different types of user defined functions (UDF) are possible in FilterDict:

UDFs available in FilterDict

  • Particle Motion UDF
    Change the equations that describe the particle motion.
  • Collision UDF
    Define collision models in addition to the in-built models (Caught on First Touch, Sieving, and Hamaker)
  • Pass Through UDF
    Define alternative pass-through models that calculate the passing probability for particles passing through a porous voxel.
  • User Data UDF
    Attach additional data to a particle, that can be used and modified during the simulation. Use this UDF combination with one of the other UDF types.
  • Electrostatic Decay UDF
    Describe the decay of electrostatic charges with your own decay function.
  • Particle Status Codes
    Table of status codes used for particles.

During the first startup, GeoDict copies a number of sample UDFs into the user’s directory at:

  • /home/username/.geodict2026/UDF/ (Linux)
  • C:\Users\username\GeoDict2026\UDF\ (Windows)

GeoDict does not compile the source code (*.cpp) automatically. Therefore, you must compile the UDF before using it in GeoDict as described below.

OpenCompilation in Linux

OpenCompilation in Microsoft Windows

©2025 created by Math2Market GmbH / Imprint / Privacy Policy