Struggling with 2D Heat Conduction in MATLAB: Need Suggestions

  • Thread starter Thread starter vlaa08
  • Start date Start date
  • Tags Tags
    Fea Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 4K views
vlaa08
Messages
2
Reaction score
0
FEA MATLAB ! Please help...

Hello Everyone!

I need an urgent favor. I am new to MATLAB, I am in the learning stage. I am given with a coursework relating to developing a MATLAB code for 2D heat conduction of 3-noded triangular element with Finite element method. I have been given with a model 1D code and corresponding input format[.dat] file to feed input from. The trouble is i am asked to develop the code for a set of input[which i have attached with this post named Required.txt] which is to be fed in for the program to work with the given input. I can understand the 1D code, but i am not able to stick to the format of input he is expecting.. So if any of you can help me in editing the given 1D code into corresponding 2D code, it would be a great help.. I m closing on my deadline and this counts my percentage.. So if any of you can sort this for me, it would be of great contribution, i can study n understand this later because i still have more than 40 days for my exam.. Please help. greatly appreciated..

Thanks in advance..
Vlaa..
 

Attachments

Discussion

Physics news on Phys.org


vlaa08 said:
Hello Everyone!

I need an urgent favor. I am new to MATLAB, I am in the learning stage. I am given with a coursework relating to developing a MATLAB code for 2D heat conduction of 3-noded triangular element with Finite element method. I have been given with a model 1D code and corresponding input format[.dat] file to feed input from. The trouble is i am asked to develop the code for a set of input[which i have attached with this post named Required.txt] which is to be fed in for the program to work with the given input. I can understand the 1D code, but i am not able to stick to the format of input he is expecting.. So if any of you can help me in editing the given 1D code into corresponding 2D code, it would be a great help.. I m closing on my deadline and this counts my percentage.. So if any of you can sort this for me, it would be of great contribution, i can study n understand this later because i still have more than 40 days for my exam.. Please help. greatly appreciated..

Thanks in advance..
Vlaa..

We don't do your homework for you here on the PF. What are your thoughts on how to modify the code to work in 2-D?
 


Hey thanks for the reply,

I do not want you guys to write the code for me, i just want suggestions on where to comply with the code. Ideas which i have tried

Modifying the loop for 2 D by having a loop within a loop
Checking the input with and additional index in the array
Trying out with different input file

If you can guide me, it will be enough and still be a great favor..

Regards
Vlaa