How to conveniently implement user-defined initialization

Hello everyone,

I’ve encountered an issue while using MFIX for computations and I’m hoping to get some assistance. I need to perform a user-defined initialization on a particular variable, especially when restarting computations, where customizing its distribution is necessary. However, I’m a bit confused about how to accomplish this within MFIX.

I’ve tried a few methods, but it seems like I haven’t stumbled upon a convenient and effective solution yet. I’m wondering if there’s a simpler way to achieve this goal, or if there are specific functions or techniques that can help me accomplish this task.

If anyone has any insights into this issue or any suggestions to offer, I would greatly appreciate it. Thank you!

Did you try initializing the variable in usr0.f ? It would be helpful to see what you are trying to initialize and what you have tried so far.