============ Solute model ============ .. contents:: Contents: :backlinks: none The implementation of the solute model as an OpenFOAM class. The liquid concentration field is updated by the correct() function using either the Scheil model or an interpolation table. Installation ============ Pre-requisite: * A working installation of `OpenFOAM 9 `_. In the directChillFoam/applications/solver/heatTransfer/directChillFoam/multicomponentAlloy/soluteModel directory, run: .. code-block:: console $ wmake libso Nomenclature ============ .. table:: Variables used by the solute model class. :widths: auto +-----------------+--------------------------------------------------+ | Variable | Description | +=================+==================================================+ | D_l | Liquid mass diffusion coefficient | +-----------------+--------------------------------------------------+ | k_p | Partition coefficient | +-----------------+--------------------------------------------------+ | C0 | Initial concentration | +-----------------+--------------------------------------------------+ | Ceut | Eutectic concentration | +-----------------+--------------------------------------------------+ | beta | Solutal expansion coefficient | +-----------------+--------------------------------------------------+ C++ Classes =========== .. doxygenclass:: Foam::soluteModel :members: Testing ======= The unit tests for the soluteModel libraries require the Boost libraries (>= 1.69.0). The tests are run in the tests/soluteModel/case folder: .. code-block:: console $ wmake .. # Build the test executable $ blockMesh # Create the mesh for the test case $ ./test_soluteModel --log_level=all # Run the tests