|
[Sponsors] |
February 6, 2015, 00:26 |
Best format for cell-centered code
|
#1 |
Senior Member
Joachim
Join Date: Mar 2012
Location: Paris, France
Posts: 145
Rep Power: 15 |
Hey everyone!
I have a cell-centered code, and I was wondering which format to use for my solution files. Here is what I have tried so far: - Tecplot ASCII: worked just fine but generates large files + slow. - binary plot3d: fast but I needed to convert my solution from cell-centered to node-centered and lost accuracy at the boundaries when reading the file to continue the simulation. Is there a way to generate a cell-centered binary file that could be easily read by Tecplot? Thank you very much! Joachim |
|
February 6, 2015, 19:52 |
|
#2 |
Senior Member
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 16 |
If you are finding that Tecplot ASCII is too big and slow, you can easily convert to a Tecplot binary via a few options:
- Run preplot.exe (found on your computer in the Tecplot folder and here: http://www.tecplot.com/downloads/tecio-library/) from the command line prompt which converts Tecplot ASCII to binary. - Load the ASCII file in to Tecplot and then write it out as a binary. - Use the Tecplot TecIO library to directly write Tecplot binary from your code.The TecIO library is also located on the page linked above. Let me know if you need more details. Scott |
|
February 7, 2015, 09:52 |
|
#3 |
Senior Member
Joachim
Join Date: Mar 2012
Location: Paris, France
Posts: 145
Rep Power: 15 |
Thank you Scott! However, I would like to have a "simple" solution, exporting the file directly from my fortran code. I guess I could do that with tecplotIO, but I am afraid that my code will become too dependent on Tecplot at that point. What happens when I graduate and don't have access to Tecplot anymore for example? ... :/
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Give me some advice CFD in Fortran code or Matlab code. | tringuyenttt | Main CFD Forum | 4 | May 29, 2013 09:32 |
Small 3-D code | Zdravko Stojanovic | Main CFD Forum | 2 | July 19, 2010 11:11 |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 11:46 |
Design Integration with CFD? | John C. Chien | Main CFD Forum | 19 | May 17, 2001 16:56 |
own Code vs. commercial code | Bernhard Mueck | Main CFD Forum | 10 | February 16, 2000 11:07 |