Custom visco-plastic melt model compiles but not recognized

Hello everyone,
I’m implementing a custom visco-plastic material model focused specifically on partial melting between solidus and liquidus for two compositions.
Key characteristics: a) Only two compositional fields undergo melting
Linear melt fraction calculation: ϕ = (T - T_solidus)/(T_liquidus - T_solidus)
b)Standard visco-plastic rheology for other compositions(no additional features)
Current status: a) Compiles cleanly b) Core issue: Simulator doesn’t recognize registered model
Question:
What’s the most common cause for successful compilation but failed registration in ASPECT?

Thanks in advance for your help.


[visco_plastic_mod.zip|attachment]

(upload://1hPmGw5FByyb9BqpEOqhmuqGS6t.zip) (16.7 KB)

Hi @3Faker3,

Apologies, I hit reply mid-response, the post has now been edited.

What’s the most common cause for successful compilation but failed registration in ASPECT?

Can you tell us how you compiled the new material model? Did you add the .cc and .h to the relevant source and include directories, or was the material model compiled as a plugin in a separate folder?

Cheers,
John