CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > Pointwise & Gridgen

Storing values for auto generated spacing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2016, 12:09
Default Storing values for auto generated spacing
  #1
New Member
 
Join Date: Jul 2016
Posts: 2
Rep Power: 0
Bloody_Computer is on a distinguished road
Hello everyone,

I'm new here, not very familiar with Pointwise, and I'm not exactly sure what to include in this. I'm having an issue with setting spacing. For some reason, I can not store the value for an auto defined spacing. Here are the pictures of my block of code and the spacing constraints.

SpacingPanel.jpg

SpacingCon.jpg

What I'm trying to do is store the value for con-4.1 begin and con-4.2 end so that I can set con-1.1 begin and con-1.2 end to be the same values, respectively. I've made it work for user defined variables like $DMSpaceHalf in my code but I can not store the value of con-4.1 begin and 4.2 end by using getValue, all it returns is 0.0 and does not update the spacing. It might also be important to know that I have set a breakpoint at the X value of 0 so that my code could work for nozzles with diverging/converging sections and also for those with just diverging sections. Has anybody experienced a similar issue that you have find a solution for?
Bloody_Computer is offline   Reply With Quote

Old   July 14, 2016, 18:21
Default
  #2
New Member
 
Join Date: Jul 2016
Posts: 2
Rep Power: 0
Bloody_Computer is on a distinguished road
Nevermind. I managed to figure it out. I didn't realize that a value of 0.0, when used to set the spacing, causes Pointwise to automatically calculate the spacing. After spending forever trying to figure it out, I began to journal, selected the segment, and copied it. This ended up storing the value when I tested it with "puts" later.

Fixed code:FinalDone.jpg
Bloody_Computer is offline   Reply With Quote

Reply


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
Ensight - node values -cell values leo FLUENT 1 May 12, 2010 09:47
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45
strange node values @ solid/fluid interface - help JB FLUENT 2 November 1, 2008 13:04
WARNINGS I don't want to have Gabriel Siemens 3 August 10, 2007 18:04
node values or cell values? aPpA FLUENT 0 November 10, 2006 09:56


All times are GMT -4. The time now is 01:37.