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

Scripting multiple grids

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2020, 05:40
Default Scripting multiple grids
  #1
New Member
 
Join Date: Feb 2020
Posts: 2
Rep Power: 0
Dimitrios_fds is on a distinguished road
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.
Dimitrios_fds is offline   Reply With Quote

Reply

Tags
data access macro, macros of meshing, mesh, python script, scripts


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
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


All times are GMT -4. The time now is 17:20.