How to change from dirichlet to newman conditions in a thermal model using PDE?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I am using DPE toolbox to simulate the heat conduction between different materials. Once created the model, drawn the geometry and specified the Boundary conditions (ThermalBC) and the material properties I want to change the Boundary conditions to observe the differences but I do not find the way to specify Dirichlet or Newman conditions.
If I create the model using the 'thermal' option (thermalmodelS=createpde('thermal'), the suposed method to do it ( applyBoundaryCondition(thermalmodelS,'dirichlet','Edge',8,'u',200)) is not working. However if I create the model with: "thermalmodelS=createpde " and do not specify 'thermal/structural..." , then, the command "applyBoundaryCondition" works.
How can I select Dirichlet or Newman once having created the Thermal Model?
Thanks for your cooperation.
0 commentaires
Réponse acceptée
Ravi Kumar
le 3 Mai 2019
Hi Rubem,
ThermalModel crated using thermalmodelS=createpde('thermal') lets you set up the problem in deomain specific functional interfaces. In thermaBC specifying 'Temperature' is a DirichletBC, all other forms of heat flux, specified using 'HeatFlux', 'ConvectionCoefficient', etc are Neumann BC. You can explore all the methods of thermalmodelS by calling methods(thermalmodelS) in the MATLAB Command Window.
PDE Toolbox also supports general equations based inteface, for which you can craete the analysis model without specifying physics type in the createpde function, like you tried. This model supports mathematical interface for boundary conditions. You can see the methods available for equaiton based using the methods function again.
Regards,
Ravi
0 commentaires
Plus de réponses (1)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!