Creating a New Model in the COMSOL Multiphysics Reference Manual
|
-
|
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.
|
-
|
In the Model Wizard, click Add or right-click and select Add Physics (). The physics interface displays under Added physics interfaces.
|
-
|
-
|
-
|
-
|
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.
|
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 chemistry from the Reaction Engineering interface in species transport interface, the Generate Space Dependent Model feature is recommended to set up the transport interface.
|