4.2. Loading the MHD Module

The MHD module is loaded into ANSYS Fluent through the text user interface (TUI). The module can only be loaded when a valid ANSYS Fluent case file has been set or read. The text command to load the module is

define → models → addon-module.

A list of ANSYS Fluent add-on modules is displayed:

> /define/models/addon-module 
Fluent  Addon Modules:
     0. None
     1. MHD Model
     2. Fiber Model
     3. Fuel Cell and Electrolysis Model
     4. SOFC Model with Unresolved Electrolyte
     5. Population Balance Model
     6. Adjoint Solver 
     7. Battery Module 
     8. MSMD Battery Model
     9. PEM Fuel Cell Model
Enter Module Number: [0] 1

Select the MHD model by entering the module number 1. During the loading process a scheme library containing the graphical and text user interface, and a UDF library containing a set of user defined functions are loaded into ANSYS Fluent. A message Addon Module: mhd...loaded! is displayed at the end of the loading process.

The basic set up of the MHD model is performed automatically when the MHD module is loaded successfully. The set up includes:

The MHD module set up is saved with the ANSYS Fluent case file. The module is loaded automatically when the case file is subsequently read into ANSYS Fluent. Note that in the saved case file, the MHD module is saved with the absolute path. Therefore, if the locations of the MHD module installation or the saved case file are changed, ANSYS Fluent will not be able to load the module when the case file is subsequently read.

To unload the previously saved MHD module library, open the UDF Library Manager dialog box

 Parameters & Customization → User Defined Functions  Manage...

and reload the module as described above. Note that the previously saved MHD model setup and parameters are preserved.


Release 18.2 - © ANSYS, Inc. All rights reserved.