Adding a Chemical Species Transport Interface and Specifying the Number of Species
A chemical species transport interface can be added when first creating a new model, or at any time during the modeling process.
Creating a New Model in the COMSOL Multiphysics Reference Manual
1
-
Select New to open the Model Wizard, after selecting a space dimension, go to the Select Physics page.
-
From the Home toolbar click Add Physics (). Or right-click the Component node in the Model Builder and select Add Physics. Go to the Add Physics window.
2
Under Chemical Species Transport, navigate to the physics interface to add and double-click it.
There are other ways to add a physics interface depending on whether you are in the Model Builder or Add Physics window:
-
In the Model Wizard, click Add or right-click and select Add Physics (). The physics interface displays under Added physics interfaces.
-
In the Add Physics window, click Add to Component () or right-click and select Add to Component.
3
-
In the Model Wizard, on the Review Physics Interface page under Dependent Variables.
-
In the Add Physics window, click to expand the Dependent Variables section.
-
After adding the physics interface, you can also edit this information—click the node in the Model Builder, then, on the Settings window under Dependent Variables, specify the information.
4
5
In the Dependent Variables section, enter the Number of species. To add a single species, click the Add Concentration button () underneath the table or enter a value into the Number of species field. Click the Remove Concentration button () underneath the table if required.
6
The Transport of Concentrated Species interface and the Nernst–Planck Equations interface both need to contain at least two species (the default). Also edit the strings or names directly in the table. The names must be unique for all species (and all other dependent variables) in the model.
7
For the Nernst–Planck Equations interface, an electric potential variable is also required.
The Reaction Engineering interface can automatically set up the reacting species and their dependent variables. If you plan on using chemical reactions from a Reaction Engineering interface in a species transport interface, the Generate Space Dependent Model feature is recommended to set up the transport interface.