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

Loop over zones and Write DataSet

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2015, 09:28
Default Loop over zones and Write DataSet
  #1
Senior Member
 
Join Date: Jan 2014
Posts: 179
Rep Power: 12
hxaxtma is on a distinguished road
Hi guys,
simple problem, I want to loop over all zones and save eacht Zones as ascii data *.dat

This is what I got so far
Code:
#!MC 1410
$!VarSet |MFBD| = ''
$!VarSet |Iterate|=(|NumZones|-1) 
$!Loop |Iterate|
$!WRITEDATASET  "xl.lasym.u_xy_l57000k000_153_sorted_slice_t"|Iterate|".dat"
  INCLUDETEXT = NO
  INCLUDEGEOM = NO
  ZONELIST =  [|Iterate|]
  BINARY = NO
  USEPOINTFORMAT = YES
  PRECISION = 9
  TECPLOTVERSIONTOWRITE = TECPLOTCURRENT
$!EndLoop
$!RemoveVar |MFBD|
Problem is, it is all written in a file with iterate number 59!!!
I want 59 files with ...1.dat, ...2.dat, ..3.dat

What is wrong here?
hxaxtma is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Commercial meshers] foamMeshToFluent does not write zones doubtsincfd OpenFOAM Meshing & Mesh Conversion 9 October 29, 2019 10:57
[Helyx OS] Helyx-OS (GUI for SnappyHexMesh elvis OpenFOAM Community Contributions 210 January 30, 2017 19:57
Looping through Cell Zones in a Journal File adam.vaccaro Fluent UDF and Scheme Programming 0 August 1, 2013 23:45
Overlaping interface zones saisanthoshm88 FLUENT 1 March 1, 2013 02:19
Evaporation at interface between liquid/gas zones tmulcahey3 FLUENT 0 October 20, 2011 19:13


All times are GMT -4. The time now is 07:36.