|
[Sponsors] |
[GAMBIT] Journal File – Calling/Defining Vertices with variables |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 3, 2010, 12:10 |
Journal File – Calling/Defining Vertices with variables
|
#1 |
New Member
LDavis
Join Date: Aug 2010
Posts: 5
Rep Power: 16 |
Hi,
I am creating a journal file to automate a geometry creation/meshing in Gambit. I have imported data using import - vertex data, which created around 30 000 points to create the shape of a wing. So, the wing is made up of 200 airfoils made up of 150 points each. From there, I am trying to make edges by taking a point every 150 points… so: edge create "Edge.1" “vertex.1”, “vertex.151”, “vertex.301”… “vertex.29851” The problem is that I would like to be able to vary the number of airfoils and the number of points per airfoil without changing the vertex numbers. So, I have been trying to “call” the vertices using the provided variables: $NoAirfoils = 200, $NoPoints = 150, &EdgeStart = 1. However, I cannot find a way to do this as the vertex label is a string. I have tried using “vertex.” &EdgeStart, “vertex.” &EdgeStart+150 … just in case it worked, but it doesn’t Has anyone tried this or know of a method or function that could help?? Thanks for the help! |
|
Tags |
gambit, journal file |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
OpenFOAM Install Script | ljsh | OpenFOAM Installation | 82 | October 12, 2009 12:47 |
gcc and executable file from Mac to Linux | simone Marras | Main CFD Forum | 0 | April 8, 2007 16:49 |
Results saving in CFD | hawk | Main CFD Forum | 16 | July 21, 2005 21:51 |
Gambit Journal File Scripts, Public Database Needed? | Jonas Larsson | Main CFD Forum | 13 | March 2, 1999 08:25 |