CFD Result Files - Convert plot3d(fast) > cgns

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
0 replies · 5K views
Messages
1,494
Reaction score
2
Hello. I have a small problem. I have a CFD run going on our universities cluster. For those runs, I use a fully structured code that uses plot3d formatted files. Rather than have to go in there and look at them, I would like to look at them here at work, where we use CFX.

In short, is there a way to convert by grid and flow files into an appropriate file that can be read into CFX? Doing a quick google said that CGNS was a somewhat standard, so I figured that would be the easiest conversion rather than to an unformatted proprietary file format.

p.s. plot3d grid file is:
Code:
numBlocks
(imax,jmax,kmax,i=1,nBlocks)
DO i=1,nBlocks
  x(:,:,:),y(:,:,:),z(:,:,:)
END DO
and the flow file is similar
Code:
numBlocks
(imax,jmax,kmax,i=1,nBlocks)
DO i=1,nBlocks
  time,mach,reynolds,angle_of_attack
  mass(:,:,:),xmomen(:,:,:),ymomen(:,:,:),zmomen(:,:,:),energy(:,:,:)
END DO