Re: what is wrong with this code?can someone walk me through this?
- From: e p chandler <epc8@xxxxxxxx>
- Date: Wed, 26 Mar 2008 18:42:17 -0700 (PDT)
On Mar 26, 8:57 pm, madhu0...@xxxxxxxxx wrote:
Heres a fortran code to solve the equation of motion of very small[snip rest of listing]
particle in a low reynolds number flow. It is not working in all
compilers, I have a working version of this code, but it doesnt work
for all inputs. Can someone tell me what is wrong with this and fix it
so that it works for a stokes number of 0.1 through 2. Stokes number
is calculated in the program. You need to work backwards by playing
with the input file and see for what values of input the stokes number
is 0.1 through 2.
my particle hardly moves. I have no way of even telling if my values
are correct. What should I do? Pls help.
my input file. it contains values of t_max, alpha, Rho, Rp, Rf, Uf in
that order exactly
example working input file values are:
600,0.05,2165,3.00E-07,5.20E-06,0.003 in that order.
source code:
IMPLICIT NONE
REAL*8 DERIV_FX,
DERIV_FY,N,RP,RF,RHO,UF,alpha,K,R0,U
REAL*8
Nu,x,y,y0,THETA,DT,T0,UT0,PI,T,THETA0,Stokes
REAL*8
UR0,b,x1,VX,VY,R,UT_K,UR_K,THETA2,MP,R2,x_i
INTEGER t_max, time
1. Is this fixed format or free format source code? Your compiler may
truncate lines beyond 72 or 132 characters without warning.
2. Have you used an external diagnostic program to examine your code
like FTNCHEK?
3. Have you used your compiler's diagnostic options?
- e
.
- Follow-Ups:
- References:
- what is wrong with this code?can someone walk me through this?
- From: madhu0319
- what is wrong with this code?can someone walk me through this?
- Prev by Date: Re: what is wrong with this code?can someone walk me through this?
- Next by Date: Re: what is wrong with this code?can someone walk me through this?
- Previous by thread: Re: what is wrong with this code?can someone walk me through this?
- Next by thread: Re: what is wrong with this code?can someone walk me through this?
- Index(es):
Relevant Pages
|
|