CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Best format for cell-centered code

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2015, 00:26
Default Best format for cell-centered code
  #1
Senior Member
 
Joachim
Join Date: Mar 2012
Location: Paris, France
Posts: 145
Rep Power: 15
Joachim is on a distinguished road
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
Joachim is offline   Reply With Quote

Old   February 6, 2015, 19:52
Default
  #2
Senior Member
 
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 16
scott_rumage is on a distinguished road
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
scott_rumage is offline   Reply With Quote

Old   February 7, 2015, 09:52
Default
  #3
Senior Member
 
Joachim
Join Date: Mar 2012
Location: Paris, France
Posts: 145
Rep Power: 15
Joachim is on a distinguished road
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? ... :/
Joachim is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 15:22.