Setting up a user defined particle evaporation model.
Although the built in evaporation model suffices for most applications, a user defined evaporation model is sometimes required. A user defined particle evaporation model may be implemented in user Fortran. A complete example of this is provided. The attached zip archive contains all required files. This example shows how to implement a user defined particle evaporation model. The standard particle evaporation model is disabled and a particle user source, defined using a user Fortran subroutine, is used to define the new particle evaporation model. In this example, no particle evaporation takes place below a user defined particle boiling temperature. Above the particle boiling temperature, the model is the same as the standard particle evaporation model, although the particle latent heat is also user defined. The user parameters 'Particle Boiling Temperature' and 'Particle Latent Heat' are used. Their function is self explanatory. The example may be run as follows: - Create a user Fortran shared library: cfx5mkext -name test usr_cal_ptmass.F usr_ptmass_evap.F - Edit the command language, such the user Fortran shared library is correct - Update the definition file with the modified command language cfx5cmds -def test2.def -text test2.ccl -write - Run the solver cfx5solve -def test2.def An interesting exercise for the reader would be to set a higher value for the particle boiling point and note that the particle reaches a higher temperature before evaporation commences. |
||
|