boundary conditions with pdepe when m>0
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nicholas Mikolajewicz
el 29 de En. de 2018
Comentada: Nicholas Mikolajewicz
el 30 de En. de 2018
Hello,
I'm trying to simulate a 2d diffusion problem where the source at the boundary is time-dependent. I have no problem imposing this boundary conditions when m=0 (i.e., problem is in 1 dimension), but as soon as I try to run the simulation in 2 dimensions (m=1), it doesn't work.
In the pdepe documentation I found the following that pertains to my problem:
When m > 0 and a = 0, boundedness of the solution near x = 0 requires that the flux f vanish at a = 0. pdepe imposes this boundary condition automatically and it ignores values returned in pl and ql.
thus, my time-dependent source is ignored entirely when m=1. Is there any work around to this? Is there anyway to use the 1d solver to simulate the 2d problem?
Thanks
Nick
0 comentarios
Respuesta aceptada
Torsten
el 30 de En. de 2018
Setting m=1 does not make your computation 2-dimensional, but calculations are done over the radius of a cylinder. You can't prescribe a source at the axis of a cylinder (x=0) because the area over which this source would be added is zero.
Best wishes
Torsten.
5 comentarios
Torsten
el 30 de En. de 2018
I don't know your experimental set-up. So I can't say whether it is legitimate to use a 1d-model to reproduce your experimental results.
E.g. if you have a cylinder which is heated at r=R with a constant heat flux over the height, it is legitimate to model the temperature over the radius as an 1d-problem using "pdepe".
If the heat flux is not constant over the height, you will have to set up the problem 2-dimensional (radius and height as independent variables).
Best wishes
Torsten.
Más respuestas (0)
Ver también
Categorías
Más información sobre General PDEs en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!