필터 지우기
필터 지우기

boundary conditions with pdepe when m>0

조회 수: 3 (최근 30일)
Nicholas Mikolajewicz
Nicholas Mikolajewicz 2018년 1월 29일
댓글: Nicholas Mikolajewicz 2018년 1월 30일
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

채택된 답변

Torsten
Torsten 2018년 1월 30일
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
Torsten
Torsten 2018년 1월 30일
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.
Nicholas Mikolajewicz
Nicholas Mikolajewicz 2018년 1월 30일
the source height is approximately 20 micrometers while the height of medium is 3 millimeters...so I suppose 2d is more appropriate... This can all be achieved using the pde toolbox?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 General PDEs에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by