importing aproximated flow fields via a ROM back into paraview to view on mesh
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 |
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 |
to wyldcat
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 |
file format
1 Attachment(s)
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 |
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 |
Dear Bruno - importing data structure for analysis into post processor
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 :) |
5 Attachment(s)
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 |
Importing data of same structure into ANSYS
Thanks Bruno for your response.
Is there a similar method to importing data into ANSYS workbench Results? best wishes g |
Quote:
|
All times are GMT -4. The time now is 07:42. |