====================== Solute equation solver ====================== .. contents:: Contents: :backlinks: none The multicomponent alloy class for solving the solute transport equation. Installation ============ Pre-requisites: * A working installation of `OpenFOAM 9 `_. * The :doc:`../src/soluteModel` library. In the directChillFoam/applications/solver/heatTransfer/directChillFoam/multicomponentAlloy directory, run: .. code-block:: console $ wmake libso Usage ===== Create the alloy in the CreateFields.H file: .. code-block:: C multicomponentAlloy alloy("alloy", U, rho, rho2, phi, fvModels, fvConstraints); Solve the solute transport equations in the energy corrector loop: .. code-block:: C alloy.solve(Us, fvModels, fvConstraints); C++ Classes =========== .. doxygenclass:: Foam::multicomponentAlloy :members: Testing ======= The unit tests for the multicomponentAlloy libraries require the Boost libraries (>= 1.69.0). The tests are run in the tests/multicomponentAlloy/case folder: .. code-block:: console $ wmake .. # Build the test executable $ blockMesh # Create the mesh for the test case $ ./test_multicomponentAlloy --log_level=all # Run the tests