replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Urgent Help Needed:the code shows error..
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Urgent Help Needed:the code shows error..

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
yuvadon



Joined: 27 Aug 2013
Posts: 4

PostPosted: Thu Dec 12, 2013 6:07 pm    Post subject: Urgent Help Needed:the code shows error.. Reply with quote

[code:1:702e135d02]c#######################################################################
c
c SPH: Smoothed Particle Hydrodynamics
c
c#######################################################################
c
program SPH
c
implicit real*8(a-h,o-z)
c
include 'parameter.f'
c
parameter(
& TOTAL_TIME=10.0D-6, ! ƒVƒ~ƒ…ƒŒ�[ƒVƒ‡ƒ“‚̍�‘�ŽžŠ�
& MAXLOOP=100000) ! ƒVƒ~ƒ…ƒŒ�[ƒVƒ‡ƒ“‚̍�‘�ŒJ‚�•�‚��”
c
common/model/ DISA,XMAX,XMIN,XSIZE,YMAX,YMIN,YSIZE,
& NUMX1,NUMY1,NUMX2,NUMY2,NUMP,NP1,NP2
c
common/particle/ X(NDIM,MAXP),X0(NDIM,MAXP)
c
common/property/ RHO1,RHO2,CS1,CS2,G1,G2,PK1,PK2
& RHO(MAXP),PMASS(MAXP),CS(MAXP),PK(MAXP)
c
common/composite/ CMAT(3,3,2),MATER(MAXP)
c
common/boundary/
& V_BC_GIVEN(NDIM,MAXBC),V_LOAD_GIVEN(NDIM,MAXBC),
& I_BC_GIVEN(NDIM,MAXBC),I_LOAD_GIVEN(NDIM,MAXBC),
& N_BC_GIVEN(NDIM),N_LOAD_GIVEN(NDIM),SPEED
c
common/calc/ V(NDIM,MAXP),VISC(NEIGHBOR,MAXP),P(MAXP),E(MAXP)
c
common/param/ H0,H,DT,PDT
c
common/neighbor_table/
& NEIGH(NEIGHBOR,MAXP),NNEIGH(MAXP),
& NEIGH0(NEIGHBOR,MAXP),NNEIGH0(MAXP),JCONNECT0(NEIGHBOR,MAXP),
& RIJ(NDIM,NEIGHBOR,MAXP),RIJ1(NEIGHBOR,MAXP),RIJ2(NEIGHBOR,MAXP),
& RIJ0(NEIGHBOR,MAXP)
c
common/kernel/ GRADW(NDIM,NEIGHBOR,MAXP)
c
common/stress/
& SIGM(3,MAXP),HENSAS(3,MAXP),HENSASOLD(3,MAXP),STRNDOT(3,MAXP),STRN(3,MAXP),STRNOLD(3,MAXP)
c
common/vardot/ DRHODT(MAXP),DVDT(NDIM,MAXP),DEDT(MAXP)
c
common/rkgill/ DX(NDIM,MAXP),DV(NDIM,MAXP),DR(MAXP),DE(MAXP)
c
common/yield/ SGMY(MAXP),EPSP(MAXP),T(MAXP),JYIELD(MAXP)
c
common/damage/ DMG(MAXP)

c
common/phase/ MELT(MAXP)
c
c==== output files
open(2,file='rst.txt')
open(3,file='out_damage.plt')
open(4,file='rst_damage.csv')
open(7,file='out_stress.plt')
open(100,file='check_coordinates.csv')
c
c==== input
call inp(angle_inc)
c
call set_param
c
c==== initialize
do ip=1,NUMP
X(1:NDIM,ip) = X0(1:NDIM,ip) ! ��•W
E(ip) = 0.0D0 ! ƒGƒlƒ‹ƒM�[
do k=1,3
SIGM(k,ip) = 0.0D0 ! ‰ž—�
HENSAS(k,ip) = 0.0D0 ! •΍�‰ž—�
HENSASOLD(k,ip) = 0.0D0
STRNDOT(k,ip) = 0.0D0 ! ‚�‚�‚�‘�“x
STRN(k,ip) = 0.0D0
STRNOLD(k,ip) = 0.0D0

enddo
c
DX(1:NDIM,ip) = 0.0D0 ! ƒ‹ƒ“ƒQ�EƒNƒbƒ^–@
DV(1:NDIM,ip) = 0.0D0 ! ‚�‚�ŽžŠԐ�•�‚�Žg‚�
DR(ip) = 0.0D0
DE(ip) = 0.0D0
c
SGMY(ip) = YIELD0 ! �~•š‰ž—�
EPSP(ip) = 0.0D0 ! ‘Š“–‘Y��‚�‚�‚�
T(ip) = 300.0D0 ! ‰�“x
c
DMG(ip) = 0.0D0 ! ‘���ƒpƒ‰ƒ��[ƒ^
MELT(ip) = 0.0D0
enddo
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2923
Location: South Pole, Antarctica

PostPosted: Thu Dec 12, 2013 7:39 pm    Post subject: Reply with quote

LOL Ian already helped you with that...in August

http://forums.silverfrost.com/viewtopic.php?t=2627&highlight=

Say thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group