|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
cxg
Join Date: Jun 2023
Posts: 2
Rep Power: 0 ![]() |
hello,
I use tecplot to import fluent cas and dat files, and then output the values of the flow field variables in the form of points, prompting an error "cell centered variables may only be output in block format", then I try to use tecplot to export to .plt format, also Prompt as above error. But if I export the .plt file from fluent and then import it into tecplot, it can be output in the form of points. What should I do?thank you in advance. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Scott Fowler
Join Date: May 2009
Posts: 120
Rep Power: 17 ![]() |
Point format files organize data where each row is a "node" and each column is a variable value. Consider a single triangle where Pressure is stored at the nodes, Point format would look something like this:
X Y P 0 0 1.23 2 0 2.34 1 1 3.45 But if Pressure is stored at the Cell Center, you have three nodes but only one Pressure value - so the Point format simply doesn't work. For Cell Centered data you must use Block format, which would look something like this: X 0 1 0.5 Y 0 0 1 P 3.14 Notice that in the example above, X & Y both have three values, while P only has one. So - make sure, on the Write Data Options dialog, to select "Block" format when exporting your data. I hope this helps. Scott |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
cxg
Join Date: Jun 2023
Posts: 2
Rep Power: 0 ![]() |
Scott, thank you very much for answering my question. I now need to export the node values of fluent variables for neural network training. If so, can I only export point cloud data in fluent? Thank you again and wish you a happy life
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Scott Fowler
Join Date: May 2009
Posts: 120
Rep Power: 17 ![]() |
You can convert cell centered data to node located using the Data>Alter>Specify Equations dialog.
Enter a formula like: {Pressure_Nodal} = {Pressure} In the Specify Equations dialog, make sure to select “Nodal” for the New Variable Location. If you have a lot of variables, this whole process could be scripted using either the Macro language or PyTecplot. You can use either of the recording options under the “Scripting” menu to give you a head start on how to script this. Scott |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Paraview python script, creating data using only CLI, saving in csv/excel file | Ash Kot | ParaView | 1 | September 24, 2021 12:23 |
[General] Export data - point data or vertex data? | ansys_matt | ParaView | 0 | May 17, 2021 11:34 |
[OpenFOAM.com] Problem installation OpenFOAM 6 | wamars | OpenFOAM Installation | 0 | June 23, 2020 09:01 |
SU2-7.0.1 on ubuntu 18.04 | hyunko | SU2 Installation | 7 | March 16, 2020 04:37 |
Problem running in parralel | Val | OpenFOAM Running, Solving & CFD | 1 | June 12, 2014 02:47 |