The Coefficient Form PDE Interfaces
The Coefficient Form PDE (c) interface (), found under the Mathematics>PDE Interfaces branch () when adding an interface, covers many well-known PDEs.
When this interface is added, these default nodes are also added to the Model Builder: Coefficient Form PDE, Zero Flux, and Initial Values. Then, from the Physics toolbar, add other nodes that implement, for example, boundary conditions. You can also right-click Coefficient Form PDE to select features from the context menu.
The Coefficient Form PDE interface is also available in other forms from the PDE interfaces>Lower Dimensions submenu: Coefficient Form Boundary PDE (cb), Coefficient Form Edge PDE (ce), and Coefficient Form Point PDE (cp). Also see Modeling with PDEs on Boundaries, Edges, and Points.
The Coefficient Form PDE discusses the formulation and settings pertaining to the coefficient form, as well as the general PDE terminology used in COMSOL Multiphysics.
Settings
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first Coefficient Form PDE interface in the model) is c (in domains), cb (on boundaries), ce (on edges), or cp (at points).
Equation
The Coefficient form PDE Interface does not have the Equation form setting present in physics interfaces; the same equations are instead assembled for any study step type. For use in Frequency Domain study steps, select a source for the Frequency to be used when interpreting time derivatives in the equations: From solver (the default) or User defined. When Frequency is User defined, also specify the desired frequency f (SI unit Hz).
Units
By default, the PDE interfaces are dimensionless, but units can be defined for the dependent variable and the source term (that is, the overall left and right side of the equation). The units for these quantities — in combination with the units for length and time — fully define the units for all other terms in the equations. Select the units from a list of physical quantities or enter the unit directly.
Select the Dependent variable quantity that defines the unit for the dependent variable u. The default is Dimensionless (with 1 in the Unit column). Click the Select Dependent Variable Quantity button () to open the Physical Quantity dialog box to browse to find a physical quantity to use. You can also type a search string in the text field at the top of the dialog box and then click the Filter button () to filter the list of physical quantities. For example, type potential and click the Filter button to only list physical quantities that represent some kind of potential. Alternatively, click the Define Dependent Variable Unit button () to edit the unit directly in the Unit column, typing a unit to define the dependent variable quantity. The quantity column then contains Custom unit.
Select the Source term quantity that defines the unit for the source term f (the unit for the right — and left — side of the PDE). Custom unit is the default quantity (with m^-2 in the Unit column). Click the Select Source Term Quantity button () to open the Physical Quantity dialog box to browse to find a physical quantity to use. You can also type a search string in the text field at the top of the dialog box and then click the Filter button () to filter the list of physical quantities. For example, type potential and click the Filter button to only list physical quantities that represent some kind of potential. Alternatively, click the Define Source Term Unit button () to edit the unit directly in the Unit column, typing a unit (for example, W/m^3 or A/m^3) to define the dependent variable quantity. The quantity column then contains Custom unit.
For the Classical PDE>Heat Equation interface, the Dependent variable quantity defaults to Temperature (unit: K), and the Source term quantity defaults to Heat source (unit: W/m^3).
Dependent Variables
Enter the Number of dependent variables (the default is 1) and set the field and dependent variable names. The default Field name and Dependent variables name for a single scalar PDE variable is u. If the Field name coincides with the name of another field of the same unit and number of components, the two fields (and the interfaces which define them) share degrees of freedom and dependent variable names.
A Field name must not coincide with the name of a field of another type, or with a component name belonging to some other field. Component names must be unique within a model except when two interfaces share a common field name.
Discretization
Select a Shape function type (finite element type): Lagrange (the default), Hermite, Discontinuous Lagrange, Nodal discontinuous Lagrange, Discontinuous scalar density, Bubble, or Gauss point data.
To display additional settings in this section, click the Show More Options button () and select Advanced Physics Options in the Show More Options dialog box.
If you have added a Deformed Geometry or Moving Mesh interface, there is also a Frame list for specifying the frame for differentiation and quadrature. Choosing the frame can be needed if you want to write your own mesh smoothing or regularization equations when working with a deformed geometry. Select Geometry, Mesh, Spatial (the default), or Material from the Frame list.
For an example of the use of units in a PDE interface, see Shell Diffusion in a Tank: Application Library path COMSOL_Multiphysics/Equation_Based/shell_diffusion.