|
[Sponsors] |
November 19, 2018, 06:19 |
CGNS from bak-File
|
#1 |
Senior Member
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12 |
Hey there,
I'm trying to figure out a way of exporting .bak-file data into a cgns file. Problem is as follows: when .bak-files are written with the "selected variables"-option, the command to export to cgns fails with "file has invalid topology" which I think means, that the mesh is missing and therfore it cant be exported. However, I am able to access the results, when loading the final .res-File in Post and adding the baks as timesteps. Is there any way to tell Post to just export that into a CGNS? The same thing works just fine for transient results. There I can specify the final .res-File and extract data for each timestep with the "-timestep" flag. https://www.sharcnet.ca/Software/Ans.../i1306563.html |
|
November 20, 2018, 03:47 |
|
#2 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,835
Rep Power: 27 |
Why do you write a backup file without mesh? In my opinion, a backup file is to be able to recover from a crash. In that sense a backup file without mesh is quite useless. Or do I overlook a situation where it is useful?
Nevertheless, maybe you can try to interpolate the .bak-file on the original definition file (Not sure if the interpolation works with a bak file without mesh. Maybe the interpolator can use the x,y,z coordinates, or node numbers, if available in your bakfile). Do the following: - Open the CFX-launcher - Open the Command line - Type: cfx5interp -res file.bak -def file.def - If it works, you obtain a def file with the backup results as initial guess. Maybe you can export this to cgns? - Alternatively run it with the solver manager for 1 iteration. Maybe solve only turbulence, (use expert parameter solve fluids=f, solve energy=f to not screw up your existing solution too much) - Export results file to cgns Use cfx5interp -h for help Hope this helps. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam "Permission denied" and "command not found" problems. | iyidaniel@yahoo.co.uk | OpenFOAM Running, Solving & CFD | 11 | January 2, 2018 06:47 |
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 | towanda | OpenFOAM Community Contributions | 6 | September 5, 2015 21:03 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 19:43 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 10:59 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 01:41 |