Please enable JavaScript to view this site.

GeoDict User Guide 2025

Pass Through UDF

The pass through UDF may replace the built-in pass through models All Particles pass, Constant absorption rate, Clogging, Constant efficiency, Velocity-dependent efficiency, or Impassable. Select it on the Particles - Interaction Model tab.

A pass through UDF contains five functions.

The sample UDF PassThroughUDF.cpp is delivered with GeoDict.

Openudf_entryMessage

Openudf_exitMessage

Openudf_numberOfMaterialParameters

Openudf_nameOfMaterialParameters

Openudf_passThrough

GeoDict passes the relevant data to these functions with help of the struct PassThroughUDF_ParticleData. The struct is defined in the CollisionStructs.h header file which can be found in the include folder.

OpenPassThroughUDF_ParticleData

©2025 created by Math2Market GmbH / Imprint / Privacy Policy