MATLAB 3D Finite different method using matlab

2
0
Can anyone show me how to solve the 3D diffusion equation which has been modeled into FDM by using matlab?
 
105
4
Suppose your stencil only uses nearest and next nearest neighbors on a cubic periodic domain with N lattice points in each direction. Define Im = (1:N)-1;Im(Im==0)=N; and Ip = 2:N+1;Ip(Ip==N+1)=1; Define your system and matrices and use A(lp,lp,lm) ## \sim A_{i+1,i+1,i-1} ## in your stencil.
 
2
0
Suppose your stencil only uses nearest and next nearest neighbors on a cubic periodic domain with N lattice points in each direction. Define Im = (1:N)-1;Im(Im==0)=N; and Ip = 2:N+1;Ip(Ip==N+1)=1; Define your system and matrices and use A(lp,lp,lm) ## \sim A_{i+1,i+1,i-1} ## in your stencil.

Can I learn further from you?
 
105
4
You are sure you don't want to try yourself first? Also you haven't mentioned which time update algorithm you are using.
 

Related Threads for: 3D Finite different method using matlab

Replies
28
Views
79K
Replies
0
Views
8K
Replies
1
Views
4K
Replies
1
Views
8K
Replies
1
Views
785

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top