CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > Tecplot

tecplot data export problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2023, 03:34
Default tecplot data export problem
  #1
New Member
 
cxg
Join Date: Jun 2023
Posts: 2
Rep Power: 0
chenxiangang is on a distinguished road
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.
chenxiangang is offline   Reply With Quote

Old   July 3, 2023, 12:25
Default
  #2
Senior Member
 
Scott Fowler
Join Date: May 2009
Posts: 123
Rep Power: 17
wsfowler is on a distinguished road
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
wsfowler is offline   Reply With Quote

Old   July 4, 2023, 02:15
Default
  #3
New Member
 
cxg
Join Date: Jun 2023
Posts: 2
Rep Power: 0
chenxiangang is on a distinguished road
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
chenxiangang is offline   Reply With Quote

Old   July 4, 2023, 17:42
Default
  #4
Senior Member
 
Scott Fowler
Join Date: May 2009
Posts: 123
Rep Power: 17
wsfowler is on a distinguished road
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
wsfowler is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
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 13:23
[General] Export data - point data or vertex data? ansys_matt ParaView 0 May 17, 2021 12:34
[OpenFOAM.com] Problem installation OpenFOAM 6 wamars OpenFOAM Installation 0 June 23, 2020 10:01
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 05:37
Problem running in parralel Val OpenFOAM Running, Solving & CFD 1 June 12, 2014 03:47


All times are GMT -4. The time now is 09:13.