Recent content by eswarm21
-
E
Why errors are growing beyond courant number limit?
why errors are growing beyond courant number limit? i know that it depends on the scheme which we applied to the problems. But why it is ? which property leads it to stable or unstable region during Fourier analysis?- eswarm21
- Thread
- Errors Limit
- Replies: 1
- Forum: Mechanical Engineering
-
E
Vortex shedding is mandatory for all the bluff bodies ?
Thanks for quick reply !...One more ...i would like to study air load on structure .. But i am going to use water as a medium in wind tunnel experiment. I am matching with Re and St numbers . Now will gravity affect the solution (thermal effects are negligible) in terms of load on structure and...- eswarm21
- Post #4
- Forum: Mechanical Engineering
-
E
Vortex shedding is mandatory for all the bluff bodies ?
Vortex shedding is mandatory for all the bluff bodies ?? Vortex shedding is mandatory for all the bluff bodies ?? for example, flow over a low thickness flat plate with zero attach angle and flow over the very low depth dish antenna (like U shape) is there any shape (with particular...- eswarm21
- Thread
- bodies Vortex
- Replies: 4
- Forum: Mechanical Engineering
-
E
C/C++ How to Pass a 2D Array in C and C++ for Numerical Computing
yes fine ... rcgldr ...But Solkar says that "C++ solution differs from solution possible with C". I think only the syntax is different . Isnt it ??...- eswarm21
- Post #12
- Forum: Programming and Computer Science
-
E
C/C++ How to Pass a 2D Array in C and C++ for Numerical Computing
oohhh sorry about title .. actually i am compiling in C++ compiler. But I wrote my code in C . I am using these codes for very simple purposes. OK ... i didnt understand "solution differs between C and C++"... it surprises me ...- eswarm21
- Post #10
- Forum: Programming and Computer Science
-
E
C/C++ How to Pass a 2D Array in C and C++ for Numerical Computing
thanks to all... why do you add "C++" to your headline? nice how to do "C++" in my head line?- eswarm21
- Post #7
- Forum: Programming and Computer Science
-
E
C/C++ How to Pass a 2D Array in C and C++ for Numerical Computing
#include <stdlib.h> #include <math.h> double A_operate(int i,int j, double pi[][]) double pi[10][10],r[10][10]; void main() { double Ai; int i,j,n,m; n=6; m=6; for (i=2;i<n;i++) { for (j=2;j<m;j++) { pi[i][j]=pow((i+j),2) Ai=A_operate(i,j, pi[][]); r[i][j]=Ai; } } }// main ends...- eswarm21
- Post #4
- Forum: Programming and Computer Science
-
E
C/C++ How to Pass a 2D Array in C and C++ for Numerical Computing
Hi I have this small doubt. i am not good in C . i like to bring i,j,pi values to subroutine and bring back Asi to main program. how to write ! Plz help.. #include <stdlib.h> #include <math.h> double A_operate(int i,int j) void main() { double Ai, pi[10][10],r[10][10]; int i,j,n,m; n=6...- eswarm21
- Thread
- 2d Array C++
- Replies: 16
- Forum: Programming and Computer Science