Compare MatLab vs Mathematica for CFD | Ric

  • Context: MATLAB 
  • Thread starter Thread starter dRic2
  • Start date Start date
  • Tags Tags
    Mathematica Matlab
Click For Summary

Discussion Overview

The discussion centers on comparing MatLab and Mathematica for computational fluid dynamics (CFD) applications. Participants explore the strengths and weaknesses of each software in terms of numerical and symbolic capabilities, user experience, and suitability for students.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Conceptual clarification
  • Homework-related

Main Points Raised

  • Some participants express uncertainty about whether to learn MatLab or Mathematica, particularly in the context of CFD problems.
  • One participant suggests looking for videos or articles to understand Mathematica's capabilities better.
  • It is noted that the choice between numerical and symbolic solutions may influence the decision on which software to use.
  • Some participants highlight Mathematica's strong symbolic capabilities and graphical interface, while others question its numerical performance compared to MatLab.
  • Concerns are raised about Mathematica's speed, with some suggesting MatLab may be faster for numerical solutions.
  • Participants discuss the relevance of software choice for students, emphasizing that the decision should align with their specific needs and the nature of their coursework.
  • One participant mentions that MatLab is widely used in scientific and engineering fields, which may influence its popularity among students and professors.
  • Another participant points out that while Mathematica has better symbolic capabilities, MatLab is more user-friendly and has a larger community for support.
  • There are mentions of Python being used in CFD applications, suggesting a different approach to solving computationally intensive problems.

Areas of Agreement / Disagreement

Participants do not reach a consensus on which software is definitively better for CFD. Multiple competing views remain regarding the strengths of MatLab versus Mathematica, particularly in terms of numerical versus symbolic capabilities.

Contextual Notes

Participants express varying levels of familiarity with both software packages, which may influence their perspectives. There are also references to the specific needs of students and the nature of their coursework, indicating that the discussion is context-dependent.

Who May Find This Useful

This discussion may be useful for students and professionals in scientific computing, particularly those considering which software to learn for CFD applications or related fields.

dRic2
Gold Member
Messages
887
Reaction score
225
I know a little bit of MatLab (for example I can solve simple, well conditioned, systems of 1st and 2nd order ODE), but I know nothing about Mathematica. I don't know whether or not start to learn how to code in Mathematica or keep studying MatLab.

For example, for CFD (computational fluid dynamics) kind of problems what do you think is better and why?

Thanks
Ric
 
Physics news on Phys.org
Why not look for some videos on YouTube to get an idea of Mathematica’s power? Or look for comparative articles on it?
 
  • Like
Likes   Reactions: FactChecker
It depends on what you want to do. Are you looking to solve problems numerically or symbolically?
 
  • Like
Likes   Reactions: FactChecker and jedishrfu
I read a couple of articles, but I'm not very sure I understood the differences. I think Mathematica has a beautiful graphical interface and you can work with symbolic equations very easily. That's cool. On the other hand, I don't see very much difference when it comes to numerical solutions and since most of the time I will have to work with numerical solutions I don't see a clear reason to switch to Mathematica.

If you think Mathematical is better also for numerical solutions let me know why. Thanks.
 
Personally I think that Mathematica is better symbolically. It does a good job numerically, particularly with arbitrary precision, but seems slow.
 
Dale said:
It does a good job numerically, particularly with arbitrary precision, but seems slow.
Are you suggesting that here MatLab is better than Mathematica?
 
dRic2 said:
Are you suggesting that here MatLab is better than Mathematica?
No, I am suggesting it is different. If you need arbitrary precision I would go with Mathematica. If you need speed I would go with Matlab
 
  • Like
Likes   Reactions: Demystifier and dRic2
May I ask which one do you think is better for a student ? I mean, I have a limited amount of time to spend in trying to learn MatLab or Mathematica while studying for my courses and I'd like to choose one. For the next 2 years, as a student, I don't think speed or precision would be issues, so I can't really decide on my "needs". I don't have a lot problems that need to be solved numerically right now, and when I have one usually our professors don't really care about how we solve it
 
dRic2 said:
Are you suggesting that here MatLab is better than Mathematica?

Matlab is heavily used by scientific and engineering groups for numerical computing jobs. They are well established with a good customer service rating and a lot of online resources to help new users.
 
  • #10
dRic2 said:
May I ask which one do you think is better for a student ?
Again, it really dependson what you want to do. Both are useful tools in scientific computing, but they are different. If you were studying to become a chef, would you ask which knife to buy since you only have the time to learn to use one single knife? The answer would then also depend on what you wanted to do. Sure, you could use a bread knife to cut meat, but the result and the process will be worse than if you used a knife designed for the task.

Same thing with Matlab and Mathematica. They are designed to do different things so what you pick should depend on your intentions. You could do some things with Matlab that Mathematica is better for and vice versa, but the process of doing so and the result will suffer more than necessary.
 
  • Like
Likes   Reactions: jedishrfu, DrClaude and dRic2
  • #11
Thank you all for the replies. I always thought MatLab was better because the majority of people I know (professors) use it instead of Mathematica. Lately I started to hear more and more about Mathematica from new professors of mine and I started think I was wrong. Since in my university MatLab seems to be more popular I think I'm going to stick with it, but if I have time I will try to learn something about Mathematica too.
 
  • Like
Likes   Reactions: jedishrfu
  • #12
jedishrfu said:
Matlab is heavily used by scientific and engineering groups for numerical computing jobs. They are well established with a good customer service rating and a lot of online resources to help new users.

Mathematica has much better symbolic capability and a huge learning curve, whereas Matlab is more numerical in nature and its learning curve is much more gentle. As has been mentioned, it has a huge user community which posts everyting, so finding something close to what you need and adapting is it easy.
 
  • Like
Likes   Reactions: Demystifier, dRic2 and jedishrfu
  • #13
dRic2 said:
On the other hand, I don't see very much difference when it comes to numerical solutions and since most of the time I will have to work with numerical solutions I don't see a clear reason to switch to Mathematica.
MATLAB (and Simulink) is the central part of a very extensive set of MathWorks tools for developing, implementing, and testing numerical calculations. That is a major reason that it is so dominant in industries that require code for numerical calculations. Mathematica may have the same capability, but I have never seen any evidence of that and am not very familiar with it.

I know people in the aerospace industry who consider a working knowledge of MATLAB to be a requirement for hiring an employee.

That being said, in the particular application of CFD, the people where I worked used Python a lot. Since CFD is so computationally intensive and Python is relatively slow, I assumed that they used an efficient program to solve the individual problems and used Python as a top-level scripting language to run through a large set of flight conditions and surface positions. I am not aware of any serious use of Mathematica by them in CFD. (But they may have been using it and I may just not have been aware of it.)
 
Last edited:
  • Like
Likes   Reactions: dRic2

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
9K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 11 ·
Replies
11
Views
17K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K