Decoding the Definition of Physics Codes

  • Thread starter Thread starter Aaronvan
  • Start date Start date
  • Tags Tags
    Physics
AI Thread Summary
In discussions about "physics codes," the term often refers to mathematical equations rather than traditional computer programs. Researchers typically focus on the mathematical models and their solutions, while the computer code serves primarily to extract these solutions. Many papers highlight the results derived from these codes rather than the codes themselves, especially if they lack novel algorithms. Additionally, proprietary codes may limit what researchers can disclose, as companies often restrict access to their internal workings. Understanding this distinction clarifies the role of codes in physics research.
Aaronvan
Messages
44
Reaction score
2
What are physics "codes?"

How does the physicist define “code?”

I often read slug lines such as “New hydrodynamic codes reveal stellar core collapse” or “Scientists use EMSolve Code to better understand magnetic fusion energy.” To most laymen, code is a set of instructions, i.e. a computer program.

However, when I peruse the paper or article the code in question is often a set of mathematical equations. It is certainly not computer code, pseudo-code, or even an algorithm.

I am perplexed and hence the question. :smile:
 
Physics news on Phys.org
Without knowing any of the specifics, I presume the codes involved are the implementations of the equations. The papers usually describe the results obtained from the codes.
 
They are talking about a computer code that solves the equations numerically.
 
Aaronvan said:
How does the physicist define “code?”

I often read slug lines such as “New hydrodynamic codes reveal stellar core collapse” or “Scientists use EMSolve Code to better understand magnetic fusion energy.” To most laymen, code is a set of instructions, i.e. a computer program.

However, when I peruse the paper or article the code in question is often a set of mathematical equations. It is certainly not computer code, pseudo-code, or even an algorithm.

I am perplexed and hence the question. :smile:

A lot of times, the actual computer code isn't what people are really interested in. They're interested in the mathematical models for things, and they're interested in the solutions to those mathematical models. The computer code usually just provides a way to extract solutions from mathematical models. Researchers may spend a lot of time writing code to solve a problem, but if they don't use any novel algorithms or techniques in their code, why would they bother talking about it in a paper?

Also, a lot of times researchers may be using proprietary code. If a company writes some code and is making money off of it, they probably don't want some researcher blabbing about it in a paper. In fact, the researchers themselves probably aren't allowed to know everything about how the code works.
 
Good information, thanks.
 
I am following someone on Youtube who has built a rocket shaped (4 proprllers) drone for the world speed record ... He was having problems with internal heat from electical control gear and battery inside the sealed rocket (about 1kw waste heat) Speed is 500km/hr , I suggested a 4mm hole in the tip of the nose and 8mm hole at rear which should alow sufficient air cooling .. I said this will increase thrust because the air exiting is hotter .. a bit similar to a ram jet ... was I correct...
Back
Top