3.3.2. Source Term UDF Setup

If you answered no to presetting all fiber model-specific UDF hooks during the loading process (Loading the Continuous Fiber Module) then you will need to set source terms, individually, for each fluid zone in your model. Alternatively, you can leave the default settings (none for no source term).

For each fluid zone in your model, specify none, constant, or UDF for all of the source terms by following the procedure below:

 Setup →   Cell Zone Conditions

  1. In the Cell Zone Conditions task page, select a fluid zone under Zone and click edit.... This opens the Fluid dialog box.

  2. In the Fluid dialog box, check Source Terms and click the Source Terms tab.

  3. For each of the source terms in the scroll list (Mass, X Momentum, and so on), click the Edit... button next to each source term to open the corresponding source dialog box. Leave the default none, or choose constant or UDF from the drop-down list. Choose the UDF in the drop-down list that corresponds to the particular source term. For example, udf fm_src_mass corresponds to the Mass source term. Use the table below (Table 3.1: Source Terms and Corresponding UDFs) as a reference guide.

    Table 3.1:  Source Terms and Corresponding UDFs

    Mass udf fm_src_mass
    X Momentum or Axial Momentum udf fm_src_x_mom
    Y Momentum or Radial Momentum udf fm_src_y_mom
    Z Momentum udf fm_src_z_mom
    Energy udf fm_src_enthalpy
    discrete ordinates model udf fm_src_dom

  4. Click OK when all of the UDFs have been hooked.

  5. Repeat this process for the remaining fluid zones in your ANSYS Fluent model.


    Important:  If you want to include radiative interaction of the fibers with the discrete ordinate (DO) radiation model, then the appropriate source term UDF (udf fm_src_dom) will be hooked automatically when you select Fiber Radiation Interaction in the Fiber Model dialog box. You must initialize the solution (which will allocate memory for the DO model) before the fiber model will be ready to accept the fiber radiation interaction data.



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