How to specify initial conditions for a "Generic System" in the PDE App?
2 views (last 30 days)
Show older comments
Hello,
I'm using the PDE App (R2017a) and got a problem in defining the initial conditions. I defined a "Generic System" with a system of 2 hyperbolic PDEs.The problem is, that I've no idea how to define the initial condition within the "Solve Parameters" window for the two unknowns e.g. for u(t0). What I'm missing is an example about the necessary syntax used in the window.I should specify for u(t0) and u'(t0) functions of x and y for both unknowns u(1) and u(2).
May be you can give me an example for the correct syntax in the window?
The MATLAP Help says "The initial value can be a constant or a column vector of values on the nodes of the current mesh". How is the syntax to specify these "column vectors" to represent my functions depending on x and y??
Thanks a lot for your help!!
Anna
0 Comments
Answers (2)
Svetlana Pease
on 29 Sep 2017
Edited: Svetlana Pease
on 29 Sep 2017
Dear Anna,
As a workaround, you can export the geometry from the app into the MATLAB workspace by selecting the Export Geometry Description option from the Draw menu. Then solve the problem using PDEModel.
Regards,
Svetlana Pease
Technical writer, MathWorks documentation group
0 Comments
See Also
Categories
Find more on PDE Solvers in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!