Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solve for NSE using Fortran

Status
Not open for further replies.

hswshock

Technical User
Apr 12, 2011
6
US
I have codes to write to solve Navier Stokes Equation: du/dt=-(i*c*pi/dx + mu*pi**2/(dx**2))*u

I am familiar with matlab to solve the problem, I really have no idea about Fortran to solve it. But I really want to use Fortran to get familiar with it step by step. I am not sure how to state the equ,ie. u(n+1)=XXXXX * u(n).

Thanks for the suggestions.
 
You never, just "solve" the Navier-Stokes equations, unless you do DNS, which is completely academic. You always solve for a certain type of flow, using a particular scheme.

Just grab some book on fortran and you'll learn it in a week, I can assure you that it's much easier than any book on NS.
 
I am not familiar with the operations and specific commands in fortran. thank you.
 
hswshock said:
I am not familiar with the operations and specific commands in fortran.
If you are not familiar with the Fortran, then you can learn it. It's not complicated if you are familiar with programming basics in any other programming language - if not, then it will take more time.
But if you sre not willing to make the learning effort, then you will stay dependent on Matlab or other similar software.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top