PDECoefficientData
PDECoefficientData[…]
represents data that is used for discretizing partial differential equations.
Details and Options
- PDECoefficientData[…] is created by InitializePDECoefficients.
- PDECoefficientData[…] can be extracted from NDSolve`StateData objects generated by NDSolve`ProcessEquations using the "FiniteElementData" and "InitializedPDECoefficients" properties.
- In standard output format, the number of dependent variables and the space dimension are shown.
- PDECoefficientData[…] objects are used as input for DiscretizePDE.
- PDECoefficientData[…][prop] gives the property prop of the PDECoefficientData object. The following properties may be given:
-
"All" gives all the coefficients in a raw form "ConservativeConvectionCoefficients" gives the conservative convection coefficients "Constraints" lists constraints induced by PDE coefficients "ConvectionCoefficients" gives the convection coefficients "DampingCoefficients" gives the damping coefficients "DiffusionCoefficients" gives the diffusion coefficients "Discrete" extracts stationary discrete coefficients "IndexedDiscrete" extracts stationary indexed discrete coefficients "LoadCoefficients" gives the load coefficients "LoadDerivativeCoefficients" gives the load derivative coefficients "MassCoefficients" gives the mass coefficients "Parametric" extracts stationary parametric coefficients "Properties" gives the properties "ReactionCoefficients" gives the reaction coefficients "SpatialDimension" gives the space dimensions "Stationary" extracts stationary coefficients "SystemSize" gives the number of PDEs "Transient" extracts transient coefficients - The relation of the PDE coefficient names to the model PDE is described in InitializePDECoefficients.
Examples
open allclose allBasic Examples (1)
Scope (20)
"Stationary" (3)
"Parametric" (1)
Parametric coefficients depend on parameters that need to be replaced with specific values before integrating typically through ParametricNDSolve.
"SystemSize" (1)
Properties & Relations (1)
Possible Issues (2)
To accommodate Neumann values, the "DiffusionCoefficients", the "ConservativeConvectionCoefficients", and the "LoadDerivativeCoefficients" are stored with a negative sign when extracted with the "All" property:
To extract the "DiffusionCoefficients", the "ConservativeConvectionCoefficients" and the "LoadDerivativeCoefficients" with the specified sign use:
The multiplicative factor f in front of the Laplacian is processed into a diffusion coefficient c in ∇.(c ∇u). When f is not a constant setting, c=f introduces an additional divergence that needs to be compensated:
Inspect the PDE coefficients. Note the compensating convection term:
Computing the divergence of the factor f that needs to be compensated:
Text
Wolfram Research (2014), PDECoefficientData, Wolfram Language function, https://reference.wolfram.com/language/FEMDocumentation/ref/PDECoefficientData.html.
CMS
Wolfram Language. 2014. "PDECoefficientData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/FEMDocumentation/ref/PDECoefficientData.html.
APA
Wolfram Language. (2014). PDECoefficientData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/FEMDocumentation/ref/PDECoefficientData.html