How i can write transient condition in a pde thermal model?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (2)
Ravi Kumar
el 30 de En. de 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 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!