new file:   physics_model/jdutil.py