|
[Sponsors] |
[OpenFOAM] importing aproximated flow fields via a ROM back into paraview to view on mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 24, 2015, 05:53 |
importing aproximated flow fields via a ROM back into paraview to view on mesh
|
#1 |
Member
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 11 |
Dear F0amers,
I have a problem - I am involved in creating a reduced order model via the POD, having generated the approximated off-design flow field across a domain from a snapshot matrix of on-design CFD solutions I want to re-import the approximated solution column vectors (2 for 2D velocity & 1 for temperature) back into paraVIew with a .csv and view the approximated flow field over the same mesh. Can paraview be used in this way? I look forward to hear your response regards g |
|
April 26, 2015, 16:03 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Gowain,
In theory, yes, it's possible, but I think you'll have to use a Programmable Filter. Since you didn't provide example data, the best I can do is refer you to the post I wrote a few minutes ago and get ideas from the code provided there: http://www.cfd-online.com/Forums/ope...tml#post543810 - post #10 Best regards, Bruno
__________________
|
|
May 13, 2015, 08:02 |
to wyldcat
|
#3 |
Member
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 11 |
Thank you Wyldcat for your response,
The data format I need to be exporting back into paraView would be for a 2d case so would be column vectors spanning the domain in a .csv file: |points 0| |points 1| |T| |U0| |U1| I would then like to view this 2d temperature and velocity field over the points - i.e. a means of conducting error analysis to a reduced order approximation. any further help would be much appreciated finally, while I am here when one saves data from paraFoam why are the data stored in a number of .csv files with only one having the majority of data? best wishes gowain |
|
May 19, 2015, 11:27 |
file format
|
#4 |
Member
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 11 |
Hi Wyldcat
I would be most grateful if you could assist me, attached is the file format I intend to import so as to view the aproximated thermal flow field to make a comparison with actual CFD |
|
October 24, 2015, 17:05 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi eaglemckenna,
Sorry for the really late reply. I've had this post of yours on my to-do list, but only today did I finally manage to take a look into this... and 5 months have already gone by Do you still need help with this or have you already solved it? Best regards, Bruno |
|
November 9, 2015, 13:54 |
Dear Bruno - importing data structure for analysis into post processor
|
#6 |
Member
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 11 |
Dear Bruno,
I have moved onto ANSYS for my work. I have my reduced order model algorithm up and running and still need a good way to import the flow field results from the algorithm back into ANSYS or if need be paraView to view as a means to present the results and plot profiles for publishing results etc. I have written a python script which plots the contours of velocity magnitude or temperature over the grid - but it is not really satisfactory as the grid points are visible and does not allow for further analysis. My data from the reduced order model results is typically arranged in column vectors like so within excel: [Node Number, Xcoordinate, Y coordinate, Temperature] I would be most grateful if you could provide me with a means to import the data structure into ANSYS results or paraVIEW.... best wishes g |
|
November 13, 2015, 07:17 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Gowain,
I've re-read part of your posts (sorry, a bit in a hurry) and used the example file from the post #4 that you provided some months ago. I've exported the XLSX file to CSV and it's attached as "pod_interpolate.csv.zip", so make sure to first uncompress it before you try to use it. I used the following steps with ParaView 4.1.0, but should work with other versions as well:
Best regards, Bruno
__________________
|
|
November 17, 2015, 07:32 |
Importing data of same structure into ANSYS
|
#8 |
Member
Gowain
Join Date: May 2014
Location: Ireland
Posts: 86
Rep Power: 11 |
Thanks Bruno for your response.
Is there a similar method to importing data into ANSYS workbench Results? best wishes g |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gambit problems | Althea | FLUENT | 22 | January 4, 2017 03:19 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 09:38 |
back pressure at exit for supersonic flow | BigFrank | FLUENT | 6 | April 24, 2014 15:13 |
Mesh for 3 dim Geometry | Phil | FLUENT | 9 | July 12, 2000 04:39 |
fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 21:31 |