CFD Online Logo CFD Online URL
Home > Forums > ANSYS Meshing & Geometry

[GAMBIT] Journal File – Calling/Defining Vertices with variables

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

LinkBack Thread Tools Display Modes
Old   August 3, 2010, 11:10
Default Journal File – Calling/Defining Vertices with variables
New Member
Join Date: Aug 2010
Posts: 5
Rep Power: 7
ldavis is on a distinguished road

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!
ldavis is offline   Reply With Quote


gambit, journal file

Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 11:47
gcc and executable file from Mac to Linux simone Marras Main CFD Forum 0 April 8, 2007 15:49
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51
Gambit Journal File Scripts, Public Database Needed? Jonas Larsson Main CFD Forum 13 March 2, 1999 08:25

All times are GMT -4. The time now is 06:03.