|
[Sponsors] |
February 8, 2020, 05:40 |
Scripting multiple grids
|
#1 |
New Member
Join Date: Feb 2020
Posts: 2
Rep Power: 0 |
Hey all here.I am interested in learning how we can run the same script for n+1 import grids to tecplot.
#$!VarSet |a| = 10 $!VarSet |NUMAVG| = (|a|) $!ALTERDATA EQUATION = '{sum_V6} = 0' $!Loop |NUMAVG| $!AlterData EQUATION = '{sum_V6}={sum_V6}+V6[|LOOP|]' $!EndLoop $!AlterData[|a|] Equation='{sum_V6}={sum_V6}/(|a|)' $!VarSet |a| = 10 $!VarSet |NUMAVG| = (|a|) This is the script when I load only one mesh.If I load n+1 mesh I get Incompatible zones referenced in equation '{sum_V6}={sum_V6}+V6[1].Any thoughts? Ty in regards.Greetings Last edited by Dimitrios_fds; February 17, 2020 at 05:17. |
|
Tags |
data access macro, macros of meshing, mesh, python script, scripts |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
[TGrid] multiple faces selection via scripting (ex. for BL creation or remeshing) | Fabio88 | ANSYS Meshing & Geometry | 0 | August 30, 2019 05:12 |
[OpenFOAM.org] Install openFOAM 3.0.1 in Ubuntu 16.04 LTS from Deb packs | Pier84 | OpenFOAM Installation | 4 | June 18, 2016 17:22 |
Does the grids topology matters? | Anna Tian | Main CFD Forum | 11 | August 19, 2014 03:20 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |