Is there a way to avoid repetitive calculating about OpenMEEG

You can also copy one OpenMEEG head model to all the other folders and subjects with a single click:
right-click on the head model > Copy to other folders/subjects.

If you want to do this programmatically, the function to use is db_set_headmodel.m:

Note that this question was already asked in this thread: