How i can write transient condition in a pde thermal model?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hi, i wolud like to know , about pde thermal model, how i can write internal heat source or bounday conditions that depends of space or time when they are with exponent.
for example , how i can write 2*t^2 using state.time ? and y^2 using region.y ?
is this correct?
handlename=@(region,state) region.y.^2 * 2 * region.state.^2
or is region.state.^region.state to express the dipendens of t^2
and how i can write when i have a function that depends just of space , usign always handle ?
best regards,
GS
0 commentaires
Réponses (2)
Ravi Kumar
le 30 Jan 2020
Example: If you want to write y^2 - 2*t^2, you write:
handlename=@(region,state) region.y.^2 - 2 * state.time^2
Yes, if it depends on just space you still write a function handle that uses only region data:
Example: If you want to write 2*x^2+3*y^3, then you can write it as:
handlename=@(region,state) 2*region.x.^2 +3*region.y.^3
Regards,
Ravi
0 commentaires
Voir également
Catégories
En savoir plus sur Boundary Conditions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!