How to add a new constant in MFIX code?

I want to add a new constant in the MFIX code, so I try to name the new constant in constant_mod.f and initial it in Init_namelist.f and call it in other subroutines. I can configure the new MFIX code, however, when i run a new test with the new constant added in the mfix.dat, it shows that the new sentence is identified as being deprecated as of the 2015-2 Release. But the new constant is just like other old constants, so i wonder what’s wrong?

1 Like

I figure it out!The new input parameter should be added into the namelist file, i.e, the inc. file.