Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

PDE Coefficients

Specify coefficients

Use the specifyCoefficients function to write the m, d, c, a, and f coefficients for equations of the form

m2ut2+dut·(cu)+au=f

and eigenvalue equations of the form

·(cu)+au=λduor·(cu)+au=λ2mu

You also can specify coefficients for a system of PDEs or an eigenvalue system. A PDE model stores coefficients as a vector of CoefficientAssignment objects in its EquationCoefficients property. After you specify PDE coefficients, you can adjust or delete them anytime before solving the PDE. For details, see View, Edit, and Delete PDE Coefficients.

Include a geometry in a PDE model before using specifyCoefficients.

Functions

findCoefficients Locate active PDE coefficients
specifyCoefficients Specify coefficients in a PDE model

Properties

CoefficientAssignment Properties Coefficient assignments

Topics

Programmatic Workflow

f Coefficient for specifyCoefficients

Specify the coefficient f in the equation.

c Coefficient for specifyCoefficients

Specify the coefficient c in the equation.

m, d, or a Coefficient for specifyCoefficients

Specify the coefficients m, d, a in the system of equations or in the eigenvalue system.

View, Edit, and Delete PDE Coefficients

Access and modify coefficient assignments stored in the EquationCoefficients property of PDEModel by using the findCoefficients function.

PDE App Workflow

Coefficients for Scalar PDEs in PDE App

Interactively specify coefficients for 2-D problems.

Systems in the PDE App

Interactively specify coefficients for systems of two 2-D PDEs.

Enter Coefficients in the PDE App

Interactively specify coefficients for 2-D problems.

Specify Coefficients in the PDE App

Interactively specify coefficients for 2-D problems.

Was this topic helpful?