Thermoelasticity problem with FEM in MATLAB

Click For Summary
SUMMARY

The discussion centers on solving a thermoelasticity problem using the Finite Element Method (FEM) in MATLAB. The user seeks assistance in determining the temperature and stress distribution in a cylinder subjected to varying inner and outer temperatures and pressures. The initial MATLAB code provided lacks sufficient detail and comments, making it difficult for others to offer help. Key recommendations include providing a detailed problem description, including boundary conditions and material assumptions, as well as improving code clarity and result interpretation.

PREREQUISITES
  • Understanding of thermoelasticity principles
  • Familiarity with Finite Element Method (FEM)
  • Proficiency in MATLAB programming
  • Knowledge of boundary and initial conditions in thermal analysis
NEXT STEPS
  • Research how to implement boundary conditions in FEM using MATLAB
  • Learn about thermal stress analysis in cylindrical structures
  • Explore MATLAB's plotting functions for better data visualization
  • Study best practices for commenting and structuring MATLAB code
USEFUL FOR

Mechanical engineers, researchers in thermal analysis, and MATLAB users working on FEM applications will benefit from this discussion.

Chakad
Messages
1
Reaction score
0
TL;DR
I want to find distribution of temperature, and stress in cylinder with inner and outer temperature and pressure.
Hello I want to find distribution of temperature, and stress in cylinder with inner and outer temperature and pressure , I used linear elements with 3 nodes and wrote matlab code, moreover I want to solve that coupled but I have problem in first and last point because those have something like shock. please help me.

My Matlab code
 
Engineering news on Phys.org
Your description is very very short and your code hardly has any comments. This means we would need to do a lot of work to understand your problem. If you want help you need to explain a lot more about what you are actually trying to do. Please:

- Provide a drawing with the problem you are trying to solve with a cylinder and all boundary conditions, initial conditions, material assumptions etc etc, all there is to know about your problem
- Please provide a description of the finite element model you are trying to solve, where you apply what boundary conditions (yes, again!) etc.
- Please clean up your code and add in comments where you do what.
- Please describe exactly what you see in your results that doesn't seem to be right and why you think that. What do you expect? 'something like a shock' is not nearly good enough...

In other words, please make it as easy as possible for us to help you.
 
I ran your code and the results were a couple of plots without definition of the axis and no legend. Please don't make me guess and fix that as well.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
8K
Replies
3
Views
3K