×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Why are CFD programs called 'codes?'

Why are CFD programs called 'codes?'

Why are CFD programs called 'codes?'

(OP)
I have a CS degree and have been programming in C/unix since 1986. I have never seen anyone use the word 'codes' until I started playing with CFD. Why do they use that term? How is a 'code' different from a 'program?' Is it a Fortran term from the 60s? (I never did Fortran).

RE: Why are CFD programs called 'codes?'

Hm.  Dunno.  I've heard the term "source code" used for everything from Fortran and C/C++/Java to PLC and microcontroller assembly language files.  

RE: Why are CFD programs called 'codes?'

I'd hazzard a guess it has to do with the solver being used.  There are many different ways to approximate the PDEs, each with it's own associated error and best application etc.  
Each particular way wasn't really a program (as it's more of a mathematical implementation).  I guess that's why each is called a "code" as it's not a program per se.

RE: Why are CFD programs called 'codes?'

(OP)
We call those algorithms.

RE: Why are CFD programs called 'codes?'

I suspect that most CFD programs were, at least originally, written by engineers.  Many were distributed as source code (and almost always written in Fortran, because the Fortran community has always placed a great deal of importance on code portability).

Solving PDE's is non-trivial;  different conditions require different solution algorithms, which may be implemented in quite different ways.



Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources