can I resume the simulation at whatever time I require (suppose I have a Mfix file 0-20 sec, and I want to resume from a 5-sec file and want to edit some parameter then Mfix give me the freedom to run the simulation? please let me know how.
can I re-use an Mfix simulation file to run the other simulation (suppose I have the complete simulation setup file and I want to run another simulation using the previous file edit some parameters then how can I use it?
can i resume my simulation from the previous time if suddenly the power off my computer?
Resuming the simulation requires a .RES file. The controls for restart files are in the “Output” pane (although perhaps they would make more sense in the “Run” pane).
Normally, each .RES file saved clobbers the previous one, so you can only restart from the time the file was last saved. The variable RES_DT (“Restart/checkpoint write interval”) controls how frequently (in simulation time, not real time) this file is saved.
However there is an option to save backup RES files, setting “Restart backup count” and “Restart backup interval”. If you set these, then numbered backup copies of the .RES file will be saved to a directory called BACKUP_RES (this directory name is hard-coded and cannot be changed) - for example:
Note that a restart of a DES simulation requires two files, the XXX.RES and XXX_DES.res. TFM and fluids-only simulations will have only 1 .RES file.
Unfortunately, there is no good way to tell MFiX to restart with one of the BACKUP_RES files. You will have to copy the file from the BACKUP_RES directory to the project directory and remove the number at the end. We should probably have a better way to specify which RES file to use!
I’m not sure I understand this question. You can change some parameters and restart, but others are locked. EG you cannot change the geometry, add a new initial condition, etc. But you can change some velocities and other parameters, and modify things like monitors and VTK outputs. The controls which are not editable are disabled in the GUI and the controls which you can change are “unlocked”. If there’s something which is locked which you believe should be unlocked, let us know. The definitive reference is the .inc files which you can see in the model/include directory, e.g.:
!vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv!
! Namelist: GAS_PHASE_LOCKED !
! Author: J.Musser Date: 03-APR-15 !
! !
! Purpose: List MFIX keywords that CANNOT be edited during a run. !
!^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!
NAMELIST / GAS_PHASE_LOCKED /&
NMAX_g, SPECIES_g, SPECIES_ALIAS_g
!vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv!
! Namelist: GAS_PHASE_UNLOCKED !
! Author: J.Musser Date: 03-APR-15 !
! !
! Purpose: List MFIX keywords that may be edited during a run by !
! invoking a REFRESH. !
!^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!
NAMELIST / GAS_PHASE_UNLOCKED /&
RO_g0, MU_g0, MW_AVG, MW_g, K_g0, C_pg0, DIF_g0
You can resume a run any time you have a valid .RES file.