PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

OpenACC/CUDA with CFD code

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
appleluo



Joined: 21 Nov 2012
Posts: 19

PostPosted: Fri Feb 08, 2013 2:19 pm    Post subject: OpenACC/CUDA with CFD code Reply with quote

Hello,

Does anybody have done OpeACC or CUDA with head transfer and fluid flow codes? I am trying to port a CFD code for a user, but I am not a CFD guy, so I need some suggestions on how to change the code for GPU if it can be done, or simply tell me this type of problems just cannot be ported to GPU. This code tries to solve non-linear partial differential equations. The code structure is as below. People who are familiar with CFD may know what I am referring to.

do timestep = 0.0d0 max_time, time_step
residualu = 1.0d0, residualv = 1.0d0. residualp = 1.0d0
do iteration=1, itermax
call reset_pressure
call velocity_coefficients
call u_solve
call v_solve
call momentum_interpolation
call p_coefficients
call pc_solve
call correction
call unsteady_vfunctions
call unsteady_tfunctions
call t_coefficients
call t_solve
call convergence_u
call convergence_v
call convergence_p
call convergence_t
if (all converged) exit
enddo
enddo


Thanks,

Ping
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming All times are GMT - 7 Hours
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 © phpBB Group