You can create a surface concentration flux load to define a concentration flux over a surface in a mass diffusion analysis.
To create or edit a surface concentration flux:
Display the surface concentration flux load editor using one of the following methods:
To create a new surface concentration flux load, follow the procedure outlined in Creating loads, Section 16.8.1 (Category: Mass diffusion; Types for Selected Step: Surface concentration flux).
To edit an existing surface concentration flux load using menus or managers, see Editing step-dependent objects, Section 3.4.12. To edit the region to which the load is applied, see Editing the region to which a prescribed condition is applied, Section 16.8.4.
Click the arrow to the right of the Distribution field, and select the option of your choice from the list that appears:
Select Uniform to define a load that is uniform over the surface.
Select User-defined to define the magnitude of the load in user subroutine DFLUX. See the following sections for more information:
If you selected the Uniform distribution option, perform the following steps:
In the Magnitude text field, enter the concentration flux density (units PLT1). A positive magnitude indicates concentration flow into the surface.
If desired, click the arrow to the right of the Amplitude field, and select the amplitude of your choice from the list that appears. Alternatively, you can click Create to create a new amplitude. (See Chapter 38, The Amplitude toolset,” for more information.)
Click OK to save your data and to exit the editor.
If you selected the User-defined distribution option, perform the following steps:
If desired, enter the concentration flux density in the Magnitude field (units PLT1). A positive magnitude indicates concentration flow into the surface.
Magnitude data that you enter in the editor are passed into the user subroutine.
Click OK to save your data and to exit the editor.
Enter the Job module and display the job editor for the analysis job of interest. (For more information, see Creating, editing, and manipulating jobs, Section 18.5.)
In the job editor, click the General tab, and specify the file containing the user subroutine that defines the load magnitude. For more information, see Specifying general job settings, Section 18.6.6.
Note: You can specify only one user subroutine file in the job editor; if your analysis involves more than one user subroutine, you must combine the user subroutines into one file and then specify that file.