Applying Nonconstant Boundary Conditions for pde
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Dear experts,
I'm trying formulate a script that solves a pde so that different boundary conditions can be inputted for a "solver" in a loop. For this, I was trying to replicate an example in the manual:
But I encounter an error in line
pg = pdeGeometryFromEdges(gd); % create geometry container
which says:
Undefined function 'pdeGeometryFromEdges' for input arguments of type 'double'.
I also get similar error for 'pdeBoundaryConditions' which suggest these functions are not implemented to my matlab R2014a? Can anyone suggest an alternative&convenient way of implementing nonconstant boundary conditions?
Thanks a lot!
0 Commenti
Risposta accettata
Bill Greene
il 8 Ott 2014
The pdeGeometryFromEdges function is part of a new, simpler approach to defining boundary conditions in PDE Toolbox introduced in R2014b.
If you want to define boundary conditions programmatically (as opposed to using the pdetool GUI) in R2014a or earlier versions of PDE Toolbox, you will need to write a boundary condition function. This documentation page:
describes that in more detail. The links at the bottom of that page will take you to documentation pages with examples.
Bill
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Geometry and Mesh in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!