All Questions
Tagged with fortran fluid-dynamics
10 questions
1
vote
0
answers
100
views
Fortran - Lid-Driven Cavity Boundary Conditions Error when using SIMPLE method
I am studying Numerical Methods for incompressible flows. part of the tasks is to model the lid driven cavity problem in 2D using the SIMPLE method.
I have been provided with Fortran code that is ...
1
vote
1
answer
225
views
Differential equation for radioactive cooling in fortran
Today I'm trying to evaluate this differential equation for internal energy in a gas in Fortran:
$$
\frac{du}{dt} = - \frac{n_H^2}{\rho}\frac{\Lambda}{n_H^2}
$$
Where nH is the density of hydrogen in ...
8
votes
7
answers
8k
views
What is the difference between MATLAB and FORTRAN?
In our university some Ph.D students for computational methods prefer FORTRAN over MATLAB. I can't understand why? What is the difference between them when are used in computational methods like ...
4
votes
0
answers
431
views
Algorithm for face based data-structure - CFD
Good morning
I'm trying to develop an unstructured CFD code to solve Euler equations in a finite-volume (cell-centered) context (learning purposes). I was able to build from a cgns file some basic ...
7
votes
1
answer
5k
views
computing turbulent energy spectrum from isotropic turbulence flow field in a box
I have my 3 dimensional velocity flow-field u, v and w at a given instant of time from DNS using pseudo-spectral method. I need to calculate the energy spectrum ( in Fourier space ) as a function of ...
2
votes
0
answers
635
views
Molecular dynamics: Lennard-Jones forces in 2D system
As I am new to all these stuff I would like to verify whether my procedure is correct.
I need to calculate the Lennard-Jones potential, potential energy of the system and the forces.
The procedure ...
3
votes
2
answers
902
views
CFD absractions in Modern Fortran
I'm a novice in object-oriented programming, but this design technique seems very interesting for me. I have a Fortran 90 CFD package , not very complex, but it is already very hard to maintain and to ...
1
vote
1
answer
4k
views
MPI_ERR_TRUNCATE appears for no understandable reason
I am developing some parallel CFD code using Fortran 90 and OpenMPI. The processes are structured into two groups such that half perform a certain type of calculations (let's say Velocity, Pressure ...
1
vote
1
answer
1k
views
Lid driven cavity flow problem to solve with the help of projection method and use coding in fortran 90 [closed]
I want to solve Lid driven cavity flow with the help of projection method i want to make own fortran program to solve two dimensional unsteady flow.
I propose to solve the equations in the following ...
4
votes
1
answer
1k
views
Effecient CFD programming techniques
I'm trying to make highly efficient CFD programming complex for solving combustion problems. I've finished writing core which realises mathematical model, and now I'm concerned about code performance. ...