|
[Sponsors] |
June 14, 2020, 13:13 |
Exporting results in x,y,z
|
#1 |
New Member
Conor
Join Date: Oct 2016
Posts: 14
Rep Power: 9 |
Hello All,
Can anyone tell me how to export my pressure field into an x,y,z format instead of in a list according to the mesh? Also, is it possible to convert/export my surface mesh into an x,y,z format? Many thanks, Conor |
|
June 14, 2020, 17:07 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12 |
Hi,
- Pressure is a scalar quantity; therefore, there won't be three components of first-order tensor to output. - Could you please elaborate what you meant by the surface mesh? OF does not produce a surface mesh, like STL, per se. But you can extract surface meshes from selected patches by using surfaceMeshExtract utility. - If you want to extract such surface meshes, could you tell me what you meant by x,y,z data? I assume it is raw csv file - no header, no parentheses? I don't remember any off-the-shelf application for this, but in OpenFOAM context the option name is `raw`. May be surfaceMeshExport, or surfaceMeshConvert utilities may help. - Also you can perform this action with ParaView: as asked here.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
June 14, 2020, 17:41 |
|
#3 |
New Member
Conor
Join Date: Oct 2016
Posts: 14
Rep Power: 9 |
Thanks for your reply, HPE.
Let me phrase the question better. I would like to know how to get the x,y,z locations of all of those scalar quantities, or if it is possible. Thanks, Conor |
|
June 15, 2020, 03:56 |
|
#4 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12 |
Sure: writeCellCentres function object.
Code:
postProcess -func writeCellCentres -latestTime The order of the content of these fields corresponds the order of the pressure field.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
June 15, 2020, 05:22 |
|
#5 |
New Member
Conor
Join Date: Oct 2016
Posts: 14
Rep Power: 9 |
Thank you HPE,
This is very helpful. One last question: Is it possible to run this utility on one patch only? I am trying to extract a pressure field from a foil surface. Thanks, Conor |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD results in Virtual Reality | minev | Visualization & Post-Processing | 2 | May 23, 2019 12:09 |
Problem: Very long "write" time (~2h-3h) for results and transient results | Shawn_A | CFX | 16 | April 12, 2016 20:49 |
Using results from experiment | studygroups2000 | FLUENT | 0 | November 25, 2015 17:29 |
Transient Run - Output "Time" in partial results? | evcelica | CFX | 2 | May 16, 2012 21:36 |
Exporting results from CFX to ANSYS ?? | sohail ahmed | CFX | 1 | December 20, 2007 01:10 |