CFD Result Files - Convert plot3d(fast) > cgns

Click For Summary
SUMMARY

The discussion centers on converting plot3d formatted files from a CFD run into a CGNS format for compatibility with CFX software. The user seeks a method to facilitate this conversion to avoid manual inspection of files on a university cluster. The plot3d grid and flow file structures are detailed, indicating the need for a standardized format like CGNS for easier integration with CFX.

PREREQUISITES
  • Understanding of plot3d file format structure
  • Familiarity with CGNS file format specifications
  • Knowledge of CFX software for CFD analysis
  • Basic programming skills for file conversion processes
NEXT STEPS
  • Research CGNS file format conversion tools
  • Explore libraries for reading and writing CGNS files, such as CGNSlib
  • Learn about the CFX file import process and requirements
  • Investigate existing scripts or software that automate plot3d to CGNS conversion
USEFUL FOR

CFD engineers, researchers working with computational fluid dynamics, and anyone involved in data conversion for simulation software like CFX.

minger
Science Advisor
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
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
7
Views
4K
Replies
5
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
6K
  • · Replies 2 ·
Replies
2
Views
6K
Replies
1
Views
4K