|
[Sponsors] |
[Commercial meshers] Why is there no option to importexport binary fluent files to OF |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 18, 2009, 14:41 |
Why is there no option to importexport binary fluent files to OF
|
#1 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Always saving these files as ASCII is annoying and uses lots of memory for large models. Are there planes to add binary support?
BastiL |
|
January 18, 2009, 15:55 |
The beauty of open source is t
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
The beauty of open source is that you can write it yourself, right?
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
January 18, 2009, 18:40 |
..at least if I am able to do.
|
#3 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
..at least if I am able to do... ;-)
|
|
January 19, 2009, 09:57 |
Here's some advice (this is ho
|
#4 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Here's some advice (this is how I would do it if I had to do it again - my first go with flex is not too impressive).
Fluent uses a well-structured language for its input-output: it is called Schemeand it corresponds to Lisp syntax. My advice would be to load Fluent files into a public domain version of Scheme interpreter (which will also take care of binary/ascii, I think) and then query the Scheme database for the components you need. Extracting the data needed to build the mesh is identical to existing converters, so you will be able to copy that. Good luck, please keep me posted on the progress, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
January 19, 2009, 15:25 |
Thanks Hrv,
I have done som
|
#5 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Thanks Hrv,
I have done some scripting in scheme and some parsing of FLUENT-Files in Python. However, interpreting of binary data is totally new to me. I have guile availabe and can read the mesh into there but do not know how to do this from of c++ and how to "search the database". I will start taking a look at the existing code. BastiL |
|
January 27, 2009, 11:50 |
After consideration I tried to
|
#6 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
After consideration I tried to extend the existing code. Maybe this is not the best but for me fastest way to try first.
Regards BastiL |
|
February 17, 2009, 14:37 |
Ok...
I see the problems with
|
#7 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Ok...
I see the problems with flex in combination with binary files. I will consider alternatives. Doing it in Scheme as proposed by Hrv would mean integration of some Scheme code. I will consider. Regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
Multiphase flow - incorrect velocity on inlet | Mike_Tom | CFX | 6 | September 29, 2016 02:27 |
Low torque values on Screw Turbine | Shaun Waters | CFX | 34 | July 23, 2015 09:16 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 09:56 |