|
[Sponsors] |
March 10, 2015, 09:28 |
Loop over zones and Write DataSet
|
#1 |
Senior Member
Join Date: Jan 2014
Posts: 179
Rep Power: 12 |
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| I want 59 files with ...1.dat, ...2.dat, ..3.dat What is wrong here? |
|
|
|
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 |