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

Scripting multiple grids

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2020, 04: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 04:17.
Dimitrios_fds is offline   Reply With Quote

Reply

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

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
[TGrid] multiple faces selection via scripting (ex. for BL creation or remeshing) Fabio88 ANSYS Meshing & Geometry 0 August 30, 2019 04:12
how to set periodic boundary conditions Ganesh FLUENT 14 November 26, 2018 11:26
[OpenFOAM.org] Install openFOAM 3.0.1 in Ubuntu 16.04 LTS from Deb packs Pier84 OpenFOAM Installation 4 June 18, 2016 16:22
Does the grids topology matters? Anna Tian Main CFD Forum 11 August 19, 2014 02:20
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21


All times are GMT -4. The time now is 15:43.